sqwebmail segfaults when trying to read a message
Bug #1000583 reported by
Antoine Guigan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
courier (Gentoo Linux) |
Fix Released
|
Medium
|
|||
courier (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Each time a user tries to read a message on the web interface, he is disconnected.
I have this kind of message in /var/log/syslog
May 17 07:59:54 www kernel: sqwebmaild[22715]: segfault at 0 ip 00007fa77097cb91 sp 00007fffcf415048 error 4 in libc-2.
This bug appeared yesterday on Ubuntu 12.04 LTS on version 0.66.1-1ubuntu4 of sqwebmail
Related branches
Changed in courier (Gentoo Linux): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
Created attachment 283235 maildrop- 2.5.4:20110813- 112352. log
mail-filter:
this is on arm, but also seems to happen on ia64 and is a regression compared to current stable.
make[2]: Entering directory `/var/tmp/ portage/ mail-filter/ maildrop- 2.5.4/work/ maildrop- 2.5.4/rfc2045' portage/ mail-filter/ maildrop- 2.5.4/work/ maildrop- 2.5.4/rfc2045' portage/ mail-filter/ maildrop- 2.5.4/work/ maildrop- 2.5.4/rfc2045' maildrop- 2.5.4 failed (test phase):
/bin/sh ./testsuite | cmp -s - ./testsuite.txt.idn
./testsuite: line 142: 24116 Segmentation fault LANG=en_US.utf-8 ./reformime -i < ./testsuite.dat
make[2]: *** [check-am] Error 1
make[2]: Leaving directory `/var/tmp/
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/
make: *** [check-recursive] Error 1
* ERROR: mail-filter/
* Make check failed. See above for details.
*
* Call stack:
* ebuild.sh, line 56: Called src_test
* environment, line 3150: Called _eapi0_src_test
* ebuild.sh, line 638: Called die
* The specific snippet of code:
* hasq test $FEATURES && die "Make check failed. See above for details."
running this particular test in gdb: gnu.org/ licenses/ gpl.html> softfloat- linux-gnueabi" . bugs.gentoo. org/>... portage/ mail-filter/ maildrop- 2.5.4/work/ maildrop- 2.5.4/rfc2045/ reformime. ..done. portage/ mail-filter/ maildrop- 2.5.4/work/ maildrop- 2.5.4/rfc2045/ reformime -i < ./testsuite.dat
# LANG=en_US.utf-8 gdb ./reformime
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv5tel-
For bug reporting instructions, please see:
<http://
Reading symbols from /var/tmp/
(gdb) set args -i < ./testsuite.dat
(gdb) run
Starting program: /var/tmp/
Program received signal SIGSEGV, Segmentation fault.
domimedigest = 0
dodecodeaddrhd r = 0
doencodemime = 0
doencodemimehd r = 0
extract_ filename = 0x17d4c ""
0x4010d988 in strspn () from /lib/libc.so.6
(gdb) bt full
#0 0x4010d988 in strspn () from /lib/libc.so.6
No symbol table info available.
#1 0x4010e29c in strtok () from /lib/libc.so.6
No symbol table info available.
#2 0x0000b3c0 in main2 (argc=2, argv=0xbeffe904) at reformime.c:1153
mimesection = <value optimized out>
dodecodehdr = 0
p = 0x29840
rwmode = 0
dodsn = 0
convtoutf8 = 0
do_extract = <value optimized out>
doinfo = 1
dorewrite = 0
optc = <value optimized out>
dodecode = 0
dovalidate = 0
rc = <value optimized out>
argn = 2
#3 main (argc=2, argv=0xbeffe904) at reformime.c:1224
rc = <value optimized out>
Portage 2.1.10.3 (default/ linux/arm/ 10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39.3 armv5tel) ======= ======= ======= ======= ======= ======= ======= ======= == 6.39.3- armv5tel- Feroceon_ 88FR131_ rev_1_- v5l-with- gentoo- 2.0.3
=======
System uname: Linux-2.
Timestamp of tree: Sat, 13 Aug 2011 10:00:01 +0000
app-shells/bash: ...