nginx core dump

Maxim Dounin mdounin at mdounin.ru
Thu Sep 2 04:21:33 MSD 2010


Hello!

On Wed, Sep 01, 2010 at 06:20:42PM -0400, iceman wrote:

> We are using the nginx imap mail module and we are seeing coredumps

[...]

> (gdb) bt
> #0  0x0101f169 in ngx_ssl_write (c=0x1098040, 
>     data=0xffffffff , size=20532628)
>     at src/event/ngx_event_openssl.c:1079
> #1  0x01022345 in ngx_mail_send (wev=0x1396e28)
>     at src/mail/ngx_mail_handler.c:559
> #2  0x01025ad6 in ngx_mail_imap_auth_state (rev=0x126ae28)
>     at src/mail/ngx_mail_imap_handler.c:360

In 0.7.65 (as you claim in next message) 
src/mail/ngx_mail_imap_handler.c:360 isn't in 
ngx_mail_imap_auth_state() function, it's in 
ngx_mail_imap_authenticate().  And the only call to 
ngx_mail_send() in ngx_mail_imap_auth_state() is at line 298.

Do you have any patches applied?

Maxim Dounin



More information about the nginx mailing list