[Dovecot] imap segfaults in dovecot 1.2 on logout

Timo Sirainen tss at iki.fi
Wed Oct 15 18:01:46 EEST 2008


On Oct 15, 2008, at 5:57 PM, Sascha Wilde wrote:

> #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)...

Your plugin isn't probably unregistering some command it registered  
and the plugin is unloaded before commands_deinit() is called.

valgrind might also show something.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081015/4e5588d8/attachment.bin 


More information about the dovecot mailing list