DnD crashes balsa



Hi all,

dnd from the message list to a composer window reproducibly crashes balsa cvs with a segfault.

Method #1: drag a message to the body text widget, which results in the attached bt full dnd-body.bt;

Method #2: drag a message to the composer window in order to get an attachment, which results in dnd-attach.bt.

Cheers, Albrecht.

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

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13261)]
0x1006b468 in drag_data_quote (widget=0x1050cdf0, context=0x105ab7e8, x=0, y=0, selection_data=0xe99a04c, info=260120236, 
    time=6718208, bsmsg=0x104ebfe0) at sendmsg-window.c:2578
2578                libbalsa_insert_with_url(buffer, body->str, NULL, NULL, NULL);
(gdb) bt full
#0  0x1006b468 in drag_data_quote (widget=0x1050cdf0, context=0x105ab7e8, x=0, y=0, selection_data=0xe99a04c, 
    info=260120236, time=6718208, bsmsg=0x104ebfe0) at sendmsg-window.c:2578
        body = (GString *) 0x1050cdf0
        message_array = (LibBalsaMessage **) 0x105ab820
        buffer = (GtkTextBuffer *) 0x1050da18
#1  0x0ef0b0e8 in _gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINT () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2  0x0ea372b8 in g_closure_invoke () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#3  0x0ea47b04 in signal_emit_unlocked_R () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x0ea46678 in g_signal_emit_valist () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x0ea46a90 in g_signal_emit_by_name () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x0eea82d8 in gtk_drag_selection_received () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x0ef0a78c in _gtk_marshal_VOID__BOXED_UINT () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0x0ea372b8 in g_closure_invoke () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0x0ea47b04 in signal_emit_unlocked_R () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x0ea46678 in g_signal_emit_valist () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x0ea46a90 in g_signal_emit_by_name () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x0ef43998 in gtk_selection_retrieval_report () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x0ef42258 in gtk_selection_convert () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x0eea76b4 in gtk_drag_get_data () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x0ef94494 in gtk_text_view_drag_drop () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x0ef098dc in _gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINT () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x0ea377b0 in g_type_class_meta_marshal () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x0ea372b8 in g_closure_invoke () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x0ea4726c in signal_emit_unlocked_R () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x0ea46458 in g_signal_emit_valist () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x0ea46a90 in g_signal_emit_by_name () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x0eea91dc in gtk_drag_dest_drop () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x0eea86d0 in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x0eea87cc in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x0eea87cc in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x0eea87cc in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x0eea87cc in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0x0eea87cc in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0x0eea7f98 in _gtk_drag_dest_handle_event () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#30 0x0ef0688c in gtk_main_do_event () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#31 0x0ec70194 in gdk_event_dispatch () from /opt/gnome-2.6/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#32 0x0e996128 in g_main_dispatch () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#33 0x0e9940f4 in g_main_context_dispatch () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#34 0x0e9966b4 in g_main_context_iterate () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#35 0x0e9946a0 in g_main_loop_run () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#36 0x0ef061b4 in gtk_main () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#37 0x10054250 in main (argc=273758032, argv=0x7fffe338) at main.c:689
        window = (GtkWidget *) 0x101b23b0
        client = (GnomeClient *) 0x101562f8
        default_icon = (gchar *) 0x101562f8 "\020\025]ø"
#38 0x0e36b04c in __libc_start_main (argc=1, ubp_av=0x7ffff604, ubp_ev=0x0, auxvec=0x7ffff6c8, rtld_fini=0, 
    stinfo=0x100c9b60, stack_on_entry=0x0) at ../sysdeps/powerpc/elf/libc-start.c:178
No locals.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13285)]
libbalsa_message_save (message=0x5925f0, filename=0x10069f74 "8 ") at message.c:479
479         g_return_val_if_fail(message->mailbox, FALSE);
(gdb) bt full
#0  libbalsa_message_save (message=0x5925f0, filename=0x10069f74 "8 ") at message.c:479
        outfile = (FILE *) 0x6a0d8e
        res = 274277680
        msg_stream = (GMimeStream *) 0x5925f0
        out_stream = (GMimeStream *) 0x6a0d8e
#1  0x10069f74 in attach_message (bsmsg=0x104cf828, message=0x5925f0) at sendmsg-window.c:2058
        name = (gchar *) 0x10592530 "/tmp/balsa-tmpdir-uUHGdB/forwarded-message"
        tmp_file_name = (gchar *) 0x7fffe8c8 "\020\032¯ø"
#2  0x1006a31c in attachments_add (widget=0x5925f0, context=0x10592680, x=269448668, y=269448716, 
    selection_data=0x100f0000, info=274277768, time=6950286, bsmsg=0x104cf828) at sendmsg-window.c:2175
No locals.
#3  0x0ef0b0e8 in _gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINT () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#4  0x0ea372b8 in g_closure_invoke () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x0ea47b04 in signal_emit_unlocked_R () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x0ea46678 in g_signal_emit_valist () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x0ea46a90 in g_signal_emit_by_name () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#8  0x0eea82d8 in gtk_drag_selection_received () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x0ef0a78c in _gtk_marshal_VOID__BOXED_UINT () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x0ea372b8 in g_closure_invoke () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x0ea47b04 in signal_emit_unlocked_R () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x0ea46678 in g_signal_emit_valist () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x0ea46a90 in g_signal_emit_by_name () from /opt/gnome-2.6/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0x0ef43998 in gtk_selection_retrieval_report () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x0ef42258 in gtk_selection_convert () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x0eea76b4 in gtk_drag_get_data () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x0eea91b8 in gtk_drag_dest_drop () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x0eea86d0 in gtk_drag_find_widget () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x0eea7f98 in _gtk_drag_dest_handle_event () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x0ef0688c in gtk_main_do_event () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x0ec70194 in gdk_event_dispatch () from /opt/gnome-2.6/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#22 0x0e996128 in g_main_dispatch () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x0e9940f4 in g_main_context_dispatch () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x0e9966b4 in g_main_context_iterate () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x0e9946a0 in g_main_loop_run () from /opt/gnome-2.6/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x0ef061b4 in gtk_main () from /opt/gnome-2.6/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x10054250 in main (argc=2147477704, argv=0x0) at main.c:689
        window = (GtkWidget *) 0x101b23b0
        client = (GnomeClient *) 0x101562f8
        default_icon = (gchar *) 0x101562f8 "\020\025]ø"
#28 0x0e36b04c in __libc_start_main (argc=1, ubp_av=0x7ffff604, ubp_ev=0x100f75dc, auxvec=0x7ffff6c8, rtld_fini=0x5925f0, 
    stinfo=0x100c9b60, stack_on_entry=0x20) at ../sysdeps/powerpc/elf/libc-start.c:178
No locals.

Attachment: pgpQqsWj46DZj.pgp
Description: PGP signature



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