[Dovecot] imap segfaults in dovecot 1.2 on logout

Sascha Wilde wilde at intevation.de
Wed Oct 15 17:57:16 EEST 2008


Hi Timo,

when logging out like

a001 logout

the imap child dies from signal 11.  The back trace looks like this:

Program received signal SIGSEGV, Segmentation fault.
0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
#1  0x0806ab6c in command_unregister (name=0x815b9ab "LOGOUT") at commands.c:83
#2  0x0806ac56 in command_unregister_array (cmdarr=0x815ba8c, count=25) at commands.c:101
#3  0x0806ae36 in commands_deinit () at commands.c:146
#4  0x08073a8f in main_deinit () at main.c:273
#5  0x08073b7b in main (argc=1, argv=0xbfacb884, envp=0xbfacb88c) at main.c:310
(gdb) up
#1  0x0806ab6c in command_unregister (name=0x815b9ab "LOGOUT") at commands.c:83
83                      if (strcasecmp(cmd[i].name, name) == 0) {
(gdb) p cmd[i]
$1 = {name = 0xb7e65ce7 <Address 0xb7e65ce7 out of bounds>, func = 0xb7e6432d, flags = 0}
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For some reasons this does _not_ happen when I simply close the
connection (without explicitly logging out)...

cheers
sascha
-- 
Sascha Wilde                                          OpenPGP key: 4BB86568
http://www.intevation.de/~wilde/                  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück; AG Osnabrück, HR B 18998
Geschäftsführer:   Frank Koormann,  Bernhard Reiter,  Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20081015/e4391df0/attachment-0001.bin 


More information about the dovecot mailing list