Le 01/08/2009 20:58:25, Pawel Salek a écrit : >glibc will run on balsa's behalf extra heap consistency checks and > will >abort when it encounters one. > >one can alternatively run >gdb /path/to/balsa set env MALLOC_CHECK_ 2 >run and gdb will notice the abort and prompt the user. I was running balsa all the day with MALOC_CHECK_ 2. I was away, the machine about idle, I find balsa crashed when I went back this evening: Program received signal SIGPIPE, Broken pipe. [Switching to Thread 0x7fffe1bf3950 (LWP 10902)] 0x00007ffff3d2452b in write () from /lib/libpthread.so.0 I did "bt" then "thread apply all where" on the gdb session. You wull find attached the gdb session. Regards Jean-Luc
[New Thread 0x7fffe1bf3950 (LWP 10770)] [Thread 0x7fffe1bf3950 (LWP 10770) exited] [New Thread 0x7fffe1bf3950 (LWP 10771)] [Thread 0x7fffe1bf3950 (LWP 10771) exited] [New Thread 0x7fffe1bf3950 (LWP 10772)] [Thread 0x7fffe1bf3950 (LWP 10772) exited] ^[[5~^[[5~[New Thread 0x7fffe1bf3950 (LWP 10788)] [Thread 0x7fffe1bf3950 (LWP 10788) exited] [New Thread 0x7fffe1bf3950 (LWP 10789)] [Thread 0x7fffe1bf3950 (LWP 10789) exited] [New Thread 0x7fffe1bf3950 (LWP 10807)] [Thread 0x7fffe1bf3950 (LWP 10807) exited] [New Thread 0x7fffe1bf3950 (LWP 10808)] [Thread 0x7fffe1bf3950 (LWP 10808) exited] [New Thread 0x7fffe1bf3950 (LWP 10901)] [Thread 0x7fffe1bf3950 (LWP 10901) exited] [New Thread 0x7fffe1bf3950 (LWP 10902)] Program received signal SIGPIPE, Broken pipe. [Switching to Thread 0x7fffe1bf3950 (LWP 10902)] 0x00007ffff3d2452b in write () from /lib/libpthread.so.0 ------------------- (gdb) bt #0 0x00007ffff3d2452b in write () from /lib/libpthread.so.0 #1 0x00007ffff2dff947 in ?? () from /usr/lib/libcrypto.so.0.9.8 #2 0x00007ffff2dfd9be in BIO_write () from /usr/lib/libcrypto.so.0.9.8 #3 0x00007ffff30f5044 in ssl3_write_pending () from /usr/lib/libssl.so.0.9.8 #4 0x00007ffff30f5553 in ssl3_dispatch_alert () from /usr/lib/libssl.so.0.9.8 #5 0x00007ffff30f288a in ssl3_shutdown () from /usr/lib/libssl.so.0.9.8 #6 0x00000000004df54c in bnio_detach (sio=0xc3da70) at siobuf.c:148 #7 0x00000000004d6137 in imap_handle_disconnect (h=0xb79000) at imap-handle.c:558 #8 0x00000000004d6b17 in imap_timeout_cb (arg=0xb79000) at imap-handle.c:735 #9 0x00000000004dea3b in sio_sslpoll (sio=0xc3da70, ret=<value optimized out>) at siobuf.c:341 #10 0x00000000004deb0a in raw_read (sio=0xc3da70) at siobuf.c:522 #11 bnio_fill (sio=0xc3da70) at siobuf.c:560 #12 0x00000000004dee26 in bnio_read (sio=0x17, bufp=<value optimized out>, buflen=37) at siobuf.c:592 #13 0x00000000004dee53 in bnio_getc (sio=0x17) at siobuf.c:618 #14 0x00000000004d6331 in imap_cmd_get_tag (handle=0xb79000, lastcmd=388) at imap-handle.c:885 #15 imap_cmd_step (handle=0xb79000, lastcmd=388) at imap-handle.c:2002 #16 0x00000000004d6c8c in imap_cmd_exec_cmdno (handle=0xb79000, cmd=0xfb9080 "LIST \"Trash\" \"%\"", ret_cmdno=0x0) at imap-handle.c:2087 #17 0x00000000004d16d9 in imap_mbox_list (handle=0xb79000, what=<value optimized out>) at imap-commands.c:326 #18 0x00000000004abc77 in lbm_imap_check (mailbox=0xa827e0) at mailbox_imap.c:1246 #19 libbalsa_mailbox_imap_check (mailbox=0xa827e0) at mailbox_imap.c:1262 #20 0x00000000004a3d9e in libbalsa_mailbox_check (mailbox=0xa827e0) at mailbox.c:719 #21 0x000000000045695f in bw_mailbox_check (mailbox=0xa827e0) at main-window.c:2951 #22 0x00007fffef32ea4d in g_slist_foreach () from /usr/lib/libglib-2.0.so.0 #23 0x0000000000456787 in bw_check_messages_thread (list=0xf26e00) at main-window.c:2969 #24 0x00007ffff3d1df9a in start_thread () from /lib/libpthread.so.0 #25 0x00007fffee9df56d in clone () from /lib/libc.so.6 #26 0x0000000000000000 in ?? () ------------------------- (gdb) thread apply all where Thread 525 (Thread 0x7fffe1bf3950 (LWP 10902)): #0 0x00007ffff3d2452b in write () from /lib/libpthread.so.0 #1 0x00007ffff2dff947 in ?? () from /usr/lib/libcrypto.so.0.9.8 #2 0x00007ffff2dfd9be in BIO_write () from /usr/lib/libcrypto.so.0.9.8 #3 0x00007ffff30f5044 in ssl3_write_pending () from /usr/lib/libssl.so.0.9.8 #4 0x00007ffff30f5553 in ssl3_dispatch_alert () from /usr/lib/libssl.so.0.9.8 #5 0x00007ffff30f288a in ssl3_shutdown () from /usr/lib/libssl.so.0.9.8 #6 0x00000000004df54c in bnio_detach (sio=0xc3da70) at siobuf.c:148 #7 0x00000000004d6137 in imap_handle_disconnect (h=0xb79000) at imap-handle.c:558 #8 0x00000000004d6b17 in imap_timeout_cb (arg=0xb79000) at imap-handle.c:735 #9 0x00000000004dea3b in sio_sslpoll (sio=0xc3da70, ret=<value optimized out>) at siobuf.c:341 #10 0x00000000004deb0a in raw_read (sio=0xc3da70) at siobuf.c:522 #11 bnio_fill (sio=0xc3da70) at siobuf.c:560 #12 0x00000000004dee26 in bnio_read (sio=0x17, bufp=<value optimized out>, buflen=37) at siobuf.c:592 #13 0x00000000004dee53 in bnio_getc (sio=0x17) at siobuf.c:618 #14 0x00000000004d6331 in imap_cmd_get_tag (handle=0xb79000, lastcmd=388) at imap-handle.c:885 #15 imap_cmd_step (handle=0xb79000, lastcmd=388) at imap-handle.c:2002 #16 0x00000000004d6c8c in imap_cmd_exec_cmdno (handle=0xb79000, cmd=0xfb9080 "LIST \"Trash\" \"%\"", ret_cmdno=0x0) at imap-handle.c:2087 #17 0x00000000004d16d9 in imap_mbox_list (handle=0xb79000, what=<value optimized out>) at imap-commands.c:326 #18 0x00000000004abc77 in lbm_imap_check (mailbox=0xa827e0) at mailbox_imap.c:1246 #19 libbalsa_mailbox_imap_check (mailbox=0xa827e0) at mailbox_imap.c:1262 #20 0x00000000004a3d9e in libbalsa_mailbox_check (mailbox=0xa827e0) at mailbox.c:719 #21 0x000000000045695f in bw_mailbox_check (mailbox=0xa827e0) at main-window.c:2951 #22 0x00007fffef32ea4d in g_slist_foreach () from /usr/lib/libglib-2.0.so.0 #23 0x0000000000456787 in bw_check_messages_thread (list=0xf26e00) at main-window.c:2969 #24 0x00007ffff3d1df9a in start_thread () from /lib/libpthread.so.0 #25 0x00007fffee9df56d in clone () from /lib/libc.so.6 #26 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7e987f0 (LWP 7029)): #0 0x00007fffee9d6d36 in poll () from /lib/libc.so.6 #1 0x00007fffef313839 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007fffef313e3d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff14e3b97 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x000000000045bf05 in main (argc=<value optimized out>, argv=0x7fffffffe498) at main.c:1149 (gdb)
Attachment:
pgpWI4WNnQtad.pgp
Description: PGP signature