[Dovecot] CRASH with squirrelmail.
I'm using:
[root@gwydion root]# rpm -q squirrelmail dovecot squirrelmail-1.4.3-0.f1.1 dovecot-0.99.12-2.1.fc1.rf [root@gwydion root]#
It works very good (a bit slow I would say, but ok)...
until I enable MySQL auth mechanism. When I do that, dovecot-auth crashes when squirrelmail try to login. I keep getting:
Jan 7 01:28:31 gwydion dovecot: child 22782 (auth) killed with signal 11
Also, i often get a "stuck" dovecot-auth in R state, looping in a malloc() (if needed I should have a backtrace).
This is the bt:
Program received signal SIGSEGV, Segmentation fault. 0x004f4096 in _int_free () from /lib/tls/libc.so.6 (gdb) bt #0 0x004f4096 in _int_free () from /lib/tls/libc.so.6 #1 0x004f301b in free () from /lib/tls/libc.so.6 #2 0x0805b73f in pool_alloconly_destroy () #3 0x08051b11 in mech_plain_auth_free () #4 0x0805135b in mech_request_free () #5 0x080509dd in master_handle_request () #6 0x08050a93 in master_input () #7 0x08065854 in master_pos () #8 0x0000000c in ?? () #9 0x086b2a58 in ?? () #10 0xbfec27c4 in ?? () #11 0xbfec27cc in ?? () #12 0xbfec2718 in ?? () #13 0x0805aa98 in io_loop_handler_run () #14 0x0000000e in ?? () (gdb) select 2 (gdb) quit
Is there an easy way to enable -g2 in the Makefile, using configure script?
Thanks.
Follow up.
This is the bt of the running (stale in R state) dovecot-auth . It seems that it get frozen AFTER many crashes.
Anyway the stack got corrupted. I hope it's useful.
(gdb) bt #0 0x004b6559 in malloc_consolidate () from /lib/tls/libc.so.6 #1 0x004b5aea in _int_malloc () from /lib/tls/libc.so.6 #2 0x004b4e9d in malloc () from /lib/tls/libc.so.6 #3 0x004ab38d in open_memstream () from /lib/tls/libc.so.6 #4 0x0051c3f2 in vsyslog () from /lib/tls/libc.so.6 #5 0x08057ba4 in syslog_handler () #6 0x08057cc0 in i_syslog_info_handler () #7 0x08057ab9 in i_info () #8 0x08050160 in login_connection_create () #9 0x0805aa98 in io_loop_handler_run () #10 0x00000010 in ?? () #11 0x000003e5 in ?? () #12 0x0057b238 in __DTOR_END__ () from /lib/tls/libc.so.6 #13 0xbfeb49d4 in ?? () ---Type <return> to continue, or q <return> to quit--- #14 0x00000001 in ?? () #15 0xbfeb4918 in ?? () #16 0x0805cf11 in o_stream_send () Previous frame inner to this frame (corrupt stack?) (gdb)
Bye.
Follow up.
0.99.13 seems to solve the problem.
That's all folks.
(bows, turns and walks away, while the light fades off and a soft music starts.)
participants (1)
-
St0rM