crash/hang with balsa 2.0.16
- From: Nuno Monteiro <nuno itsari org>
- To: Balsa List <balsa-list gnome org>
- Subject: crash/hang with balsa 2.0.16
- Date: Tue, 20 Jan 2004 17:25:24 +0000
Hi there, folks.
I've been experiencing some hangs/crashes with Balsa 2.0.16, and I can't
seem to find any obvious pattern to it, however I can most definitely
repeat it easily, over a short span of time.
I use balsa to retrieve POP3 mail from 2 accounts and store them on local
maildir type mailboxes. I hit "Check for new email", Balsa downloads a
bunch of new messages, everything works well, I open one of the mailboxes
with new email, read whatever emails interest me, click on "Mark all
messages in current mailbox" and then hit "Delete". Up until now,
everything is great. The hang usually comes now -- if a mailbox has no
mail in it, I usually close it, and pop goes the weasel, Balsa will hang.
Sometimes I can repeat this whole procedure and Balsa will only hang
after 9 or 10 iterations, sometimes it will hang right after closing the
mailbox for the first time.
I've been running Balsa under gdb since yesterday and for a long time
(well, since yesterday 23:00GMT up until today 15:00GMT) couldn't
reproduce the hang (typical ;), so I decided to ran it normally, and it
hung in less than 10m. Frustrated, I decided to give it a go under gdb
again, and this time I managed to get a trace. I'm attaching it to this
message. I also have an strace log of Balsa hanging/crashing, but since
its almost 6mb of text I'm not spamming the list with it, instead I
uploaded a bzipped version to http://itsari.org/balsa.strace.bz2, which
is a more reasonable 260kb.
For the time being I'm back to 2.0.15 and I can live with it fine, but if
this is indeed a genuine bug, it'd best be ironed out :) So, please
advise, thanks!
Ah, one last thing, I tried building balsa with '-ggdb' or '-g3' but the
resulting binary wouldn't even start. Didn't look much into it, though,
lack of time. My toolchain is gcc 3.3.2, glibc 2.3.3, binutils
2.14.90.0.7 and gtk+ 2.2.4, running on Linux 2.6.1-mm2, if that's of any
help.
Regards,
Nuno
Script started on Tue 20 Jan 2004 15:14:58 WET
nuno@hobbes:/usr/local/src/balsa-2.0.16$ gdb src/balsa
GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...
(gdb) r
Starting program: /usr/local/src/balsa-2.0.16/src/balsa
[New Thread 16384 (LWP 28228)]
** Message: init gpgme version 0.4.3
[New Thread 32769 (LWP 28231)]
[New Thread 16386 (LWP 28232)]
opening Inbox..
[New Thread 32771 (LWP 28233)]
[New Thread 49154 (LWP 28234)]
[New Thread 65538 (LWP 28243)]
[New Thread 81922 (LWP 30093)]
[New Thread 98306 (LWP 31141)]
[New Thread 114690 (LWP 3901)]
[New Thread 131074 (LWP 3997)]
[New Thread 147458 (LWP 4000)]
[New Thread 163842 (LWP 4001)]
[New Thread 180226 (LWP 4018)]
[New Thread 196610 (LWP 4057)]
[New Thread 212994 (LWP 4082)]
[New Thread 229378 (LWP 4109)]
[New Thread 245762 (LWP 4136)]
[New Thread 262146 (LWP 4373)]
[New Thread 278531 (LWP 4426)]
** (balsa:4373): WARNING **: poll error on safe_read_char
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 28228)]
0x41309f08 in mallopt () from /lib/i686/libc.so.6
(gdb) bt
#0 0x41309f08 in mallopt () from /lib/i686/libc.so.6
#1 0x41309a55 in mallopt () from /lib/i686/libc.so.6
#2 0x41308808 in malloc () from /lib/i686/libc.so.6
#3 0x41053207 in g_malloc () from /usr/lib/libglib-2.0.so.0
(gdb) thread apply all where
Thread 2 (Thread 32769 (LWP 28231)):
#0 0x4136947a in poll () from /lib/i686/libc.so.6
#1 0x4051abe8 in __pthread_manager () from /lib/i686/libpthread.so.0
#2 0x4051aee3 in __pthread_manager_event () from /lib/i686/libpthread.so.0
Thread 1 (Thread 16384 (LWP 28228)):
#0 0x41309f08 in mallopt () from /lib/i686/libc.so.6
#1 0x41309a55 in mallopt () from /lib/i686/libc.so.6
#2 0x41308808 in malloc () from /lib/i686/libc.so.6
#3 0x41053207 in g_malloc () from /usr/lib/libglib-2.0.so.0
(gdb) The program is running. Exit anyway? (y or n) y
nuno@hobbes:/usr/local/src/balsa-2.0.16$
Script done on Tue 20 Jan 2004 16:52:19 WET
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]