Wireshark-bugs: [Wireshark-bugs] [Bug 4136] Add the ability to open JPEG/JFIF files directly
Date: Mon, 19 Oct 2009 12:25:45 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4136 --- Comment #8 from Márton Németh <nm127@xxxxxxxxxxx> 2009-10-19 12:25:42 PDT --- (In reply to comment #7) > (In reply to comment #3) > > When I try to open the details Wireshark 1.3.0+the patch from comment #1 > > crashes with the following error message on the console: > > > > (lt-wireshark:15051): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: > > assertion `GTK_IS_TEXT_MARK (mark)' failed > > Segmentation fault > > I can't quite tell from reading the notes: was this crash fixed in the later > patch or do we still have a problem? > > (It didn't crash for me, but...) No, from the second patch only a not related change was removed. For me it crashes I don't know why. I am currently using SVN r30589 where the patch is already included. When I open the image from attachment 3797 and click on "JPEG File Interchange Format" line. $ ./libtool --mode=execute gdb ./wireshark GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) run Starting program: /mnt/store/nmarci/src/wireshark/.libs/lt-wireshark [Thread debugging using libthread_db enabled] [New Thread 0xb4c11710 (LWP 4496)] dumpcap: There are no interfaces on which a capture can be done (lt-wireshark:4496): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb4c11710 (LWP 4496)] _gtk_text_line_previous (line=0xbfee7748) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextbtree.c:3544 3544 /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextbtree.c: No such file or directory. in /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextbtree.c (gdb) bt #0 _gtk_text_line_previous (line=0xbfee7748) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextbtree.c:3544 #1 0xb56722f3 in IA__gtk_text_layout_validate_yrange (layout=0x8b836d0, anchor=0xbfee7724, y0=0, y1=143) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextlayout.c:1028 #2 0xb567eee9 in gtk_text_view_validate_onscreen (text_view=0x8b692e8) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextview.c:3518 #3 0xb568048b in gtk_text_view_flush_first_validate (text_view=0x8b692e8) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextview.c:3574 #4 0xb56804de in first_validate_callback (data=0x8b692e8) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktextview.c:3593 #5 0xb5401eeb in gdk_threads_dispatch (data=0x8de0340) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gdk/gdk.c:506 #6 0xb52b10b1 in g_idle_dispatch (source=0x8b6a600, callback=0x26b48d, user_data=0x8de0340) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:4065 #7 0xb52b2e98 in IA__g_main_context_dispatch (context=0x8204c40) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:1960 #8 0xb52b6623 in g_main_context_iterate (context=0x8204c40, block=1, dispatch=1, self=0x8227fe0) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:2591 #9 0xb52b67a8 in IA__g_main_context_iteration (context=0x8204c40, may_block=1) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:2654 #10 0xb55b8d34 in IA__gtk_main_iteration () at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtkmain.c:1304 #11 0x080afe65 in delayed_create_progress_dlg (task_title=0x815e7a8 "Processing", item_title=0x815b89d "Packet Details", terminate_is_stop=1, stop_flag=0xbfee9868, start_time=0xbfee9860, progress=0) at progress_dlg.c:299 #12 0x08098a2a in packet_hex_print_common (bv=<value optimized out>, pd=0x81cb948 "���, len=26291, bstart=0, bend=26291, astart=0, aend=0, encoding=0) at main_proto_draw.c:1106 #13 0x0808e2cb in tree_view_selection_changed_cb (sel=0x8b60060, user_data=0x0) at main.c:786 #14 0xb5347494 in IA__g_cclosure_marshal_VOID__VOID (closure=0x8b60d20, return_value=0x0, n_param_values=1, param_values=0x8dd2380, invocation_hint=0xbfee9a5c, marshal_data=0x808e0f0) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gmarshal.c:77 #15 0xb5339e43 in IA__g_closure_invoke (closure=0x8b60d20, return_value=0x0, n_param_values=1, param_values=0x8dd2380, invocation_hint=0xbfee9a5c) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gclosure.c:767 #16 0xb534de5f in signal_emit_unlocked_R (node=0x8b55820, detail=0, instance=0x8b60060, emission_return=0x0, instance_and_params=0x8dd2380) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gsignal.c:3247 #17 0xb534f2a9 in IA__g_signal_emit_valist (instance=0x8b60060, signal_id=188, detail=0, var_args=0xbfee9bfc "��]\030\237�b") at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gsignal.c:2980 #18 0xb534f706 in IA__g_signal_emit (instance=0x8b60060, signal_id=188, detail=0) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gsignal.c:3037 #19 0xb56a7775 in _gtk_tree_selection_internal_select_node (selection=0x8b60060, node=0x8ce7220, tree=0x8b6a670, path=0x8dd28b8, mode=0, override_browse_mode=0) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktreeselection.c:1427 #20 0xb56c0626 in gtk_tree_view_real_set_cursor (tree_view=0x8b56300, path=0x8dd28b8, clear_and_select=1, clamp_node=1) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktreeview.c:12485 ---Type <return> to continue, or q <return> to quit--- #21 0xb56c9ed3 in gtk_tree_view_button_press (widget=0x8b56300, event=0x8cb55a0) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtktreeview.c:2741 #22 0xb55bef36 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8209628, return_value=0xbfee9ef0, n_param_values=2, param_values=0x8dd3400, invocation_hint=0xbfee9edc, marshal_data=0xb56c9790) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtkmarshalers.c:84 #23 0xb53385c9 in g_type_class_meta_marshal (closure=0x8209628, return_value=0xbfee9ef0, n_param_values=2, param_values=0x8dd3400, invocation_hint=0xbfee9edc, marshal_data=0xb0) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gclosure.c:878 #24 0xb5339e43 in IA__g_closure_invoke (closure=0x8209628, return_value=0xbfee9ef0, n_param_values=2, param_values=0x8dd3400, invocation_hint=0xbfee9edc) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gclosure.c:767 #25 0xb534db07 in signal_emit_unlocked_R (node=0x8209668, detail=0, instance=0x8b56300, emission_return=0xbfeea028, instance_and_params=0x8dd3400) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gsignal.c:3285 #26 0xb534f13f in IA__g_signal_emit_valist (instance=0x8b56300, signal_id=33, detail=0, var_args=0xbfeea080 "\230�U�b") at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gsignal.c:2990 #27 0xb534f706 in IA__g_signal_emit (instance=0x8b56300, signal_id=33, detail=0) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/gobject/gsignal.c:3037 #28 0xb56db076 in gtk_widget_event_internal (widget=0x8b56300, event=0x8cb55a0) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtkwidget.c:4767 #29 0xb55b76cc in IA__gtk_propagate_event (widget=0x8b56300, event=0x8cb55a0) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtkmain.c:2415 #30 0xb55b8b47 in IA__gtk_main_do_event (event=0x8cb55a0) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtkmain.c:1605 #31 0xb544157a in gdk_event_dispatch (source=0x8204bf8, callback=0, user_data=0x0) at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gdk/x11/gdkevents-x11.c:2369 #32 0xb52b2e98 in IA__g_main_context_dispatch (context=0x8204c40) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:1960 #33 0xb52b6623 in g_main_context_iterate (context=0x8204c40, block=1, dispatch=1, self=0x8227fe0) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:2591 #34 0xb52b6aea in IA__g_main_loop_run (loop=0x8c80d28) at /build/buildd-glib2.0_2.22.0-1-i386-YCLGRR/glib2.0-2.22.0/glib/gmain.c:2799 #35 0xb55b8ed9 in IA__gtk_main () at /build/buildd-gtk+2.0_2.18.2-1-i386-CIhLaF/gtk+2.0-2.18.2/gtk/gtkmain.c:1216 #36 0x0808fd91 in main (argc=Cannot access memory at address 0x0 ) at main.c:2746 (gdb) -- Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
- References:
- [Wireshark-bugs] [Bug 4136] New: Add the ability to open JPEG/JFIF files directly
- From: bugzilla-daemon
- [Wireshark-bugs] [Bug 4136] New: Add the ability to open JPEG/JFIF files directly
- Prev by Date: [Wireshark-bugs] [Bug 4125] Incorrect Bool attribute length in WPS dissector
- Next by Date: [Wireshark-bugs] [Bug 4131] add dissection of FC ELS REC request and response
- Previous by thread: [Wireshark-bugs] [Bug 4136] Add the ability to open JPEG/JFIF files directly
- Next by thread: [Wireshark-bugs] [Bug 4136] Add the ability to open JPEG/JFIF files directly
- Index(es):