Crash upon reply w/format=flowed



Hi all,

in my incoming mailbox, I have exactly one mail which makes balsa (today's 
cvs version plus some older ones) crash when I try to reply to it with 
format=flowed checked. Reply without format=flowed works fine. I tried to 
find the reason using the debugger, but everything looks fine to me. 
Therefore, I attach the "bad message" (all relevant information 
overwritten...), and hope that someone can help me with that. System details 
are ---

* balsa from today's cvs
* LinuxPPC system w/ glibc 2.1.3, gtk 1.2.8, gnome 1.2.13

I attach the GDB output below. The strange thing is that the backtrace says 
process_mime_part was called with a NULL body (#3). It was *not*. Also, 
gfree() (#2) was not called with a NULL argument. So I assume that somewhere 
something nasty goes on, maybe freeing the string in process_mime_part?

Thanks in advance,

         Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
      Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcormail.de
_________________________________________________________________________



xx xxxxxxxxx

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxx xxxx xxxxxx  xxxx xx xxxx xx xxxxx xxxxxxx xxxxx xxx xxxx xx
xxx xxxxxx xxxxxxxx xxxxxx  xxx xx xxx xxxxx xxx xxxxx  xxx xxxx xxxxx
xxxxx xxxxxxxxxxx xxx xxxxxx xx xxxxxxxxxxxxxxxxxxxx xxxxxxx xxx xxx
xxxx xxxx xxxxxx

s


[albrecht@regulus balsa]$ gdb src/balsa
GNU gdb 5.0
Copyright 2000 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 "ppc-redhat-linux"...
(gdb) run
Starting program: /home/albrecht/balsa-patched/src/balsa 
Opening 5 mailboxes on startup.
[New Thread 7925 (manager thread)]
[New Thread 7892 (initial thread)]
[New Thread 7926]
[New Thread 7927]
[New Thread 7928]
[New Thread 7929]
[New Thread 7930]
[New Thread 7931]

Program received signal SIGSEGV, Segmentation fault.
0xec84a88 in chunk_free (ar_ptr=0xed1ee80, p=0x104872f0) at malloc.c:3100
3100    malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0xec84a88 in chunk_free (ar_ptr=0xed1ee80, p=0x104872f0) at malloc.c:3100
#1  0xec84948 in __libc_free (mem=0xed1ee80) at malloc.c:3023
#2  0xfe9d380 in g_free () from /usr/lib/libglib-1.2.so.0
#3  0x10090830 in process_mime_part (message=0x103d0998, body=0x0, reply_prefix_str=0x1015f6b8 "> ", 
    llen=0, ignore_html=1, flow=1) at mime.c:126
#4  0x100909b4 in content2reply (message=0x103d0998, reply_prefix_str=0x1015f6b8 "> ", llen=78, 
    ignore_html=1, flow=1) at mime.c:164
#5  0x10060844 in quoteBody (msg=0x1045f0a0, message=0x103d0998, type=SEND_REPLY)
    at sendmsg-window.c:2003
#6  0x10060950 in fillBody (msg=0x1045f0a0, message=0x104872f0, type=SEND_REPLY)
    at sendmsg-window.c:2043
#7  0x10061ce8 in sendmsg_window_new (widget=0xed1ee80, message=0x103d0998, type=SEND_REPLY)
    at sendmsg-window.c:2457
#8  0x100259f4 in compose_foreach (w=0x1019e658, index=0x10235760, send_type=SEND_REPLY)
    at balsa-index.c:1702
#9  0x10025ab0 in balsa_message_reply (widget=0x1019e658, user_data=0x10235760) at balsa-index.c:1712
#10 0x10042bec in replyto_message_cb (widget=0x1019e658, data=0x101696d8) at main-window.c:2187
#11 0xf331fb8 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#12 0xf36daec in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#13 0xf36cb58 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#14 0xf36a1a0 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#15 0xf2b75a4 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#16 0xf2b92f4 in gtk_real_button_released () from /usr/lib/libgtk-1.2.so.0
#17 0xf331fb8 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#18 0xf36c9ec in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#19 0xf36a1a0 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#20 0xf2b74a0 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#21 0xf2b8a74 in gtk_button_button_release () from /usr/lib/libgtk-1.2.so.0
#22 0xf331b2c in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#23 0xf36cba0 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#24 0xf36a1a0 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#25 0xf3ae8a8 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#26 0xf331a60 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#27 0xf3306e8 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#28 0xf211980 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#29 0xfe9bc84 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#30 0xfe9c2f0 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#31 0xfe9c534 in g_main_run () from /usr/lib/libglib-1.2.so.0
#32 0xf32feb0 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#33 0x10047274 in main (argc=269615104, argv=0x7ffff2c4) at main.c:397
#34 0xec4a734 in __libc_start_main (argc=1, argv=0x7ffff2c4, envp=0x7ffff2cc, auxvec=0x7ffff374, 
    rtld_fini=0xed1ee80 <main_arena>, stinfo=0x100d1030, stack_on_entry=0xed1ef40)
    at ../sysdeps/powerpc/elf/libc-start.c:106


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]