Wireshark-dev: Re: [Wireshark-dev] Segmentation fault: 11 when running wireshark
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 22 Feb 2013 13:05:44 -0800
On Feb 22, 2013, at 12:57 PM, Gonzalo Gasca <gascagonzalo@xxxxxxxxx> wrote:

> I'm building Wireshark from trunk, downloaded last Wednesday:
> 
> svn co http://anonsvn.wireshark.org/wireshark/trunk/ wireshark
> 
> Mac 10.7.5
> Xcode Version 4.6 (4H127)
> 
> I run macosx-setup.sh with CMAKE and GTK3 version enabled
> 
> Attached crash log

The stack trace from the crash log:

> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libcairo.2.dylib              	0x00000001090bb403 cairo_has_current_point + 19 (cairo.c:3650)
> 1   libgdk-x11-2.0.0.dylib        	0x0000000108d1f396 gdk_pango_renderer_draw_glyphs + 294
> 2   libpango-1.0.0.dylib          	0x00000001094a181a pango_renderer_draw_glyphs + 138 (pango-renderer.c:1129)
> 3   libpango-1.0.0.dylib          	0x00000001094a1f5d pango_renderer_draw_layout_line + 1341 (pango-renderer.c:576)
> 4   libpango-1.0.0.dylib          	0x00000001094a24d6 pango_renderer_draw_layout + 310 (pango-renderer.c:194)
> 5   libgdk-x11-2.0.0.dylib        	0x0000000108d1eda5 gdk_draw_layout_with_colors + 629
> 6   libgdk-x11-2.0.0.dylib        	0x0000000108d1ef0c gdk_draw_layout + 268
> 7   libgtk-x11-2.0.0.dylib        	0x00000001088a67eb gtk_default_draw_layout + 603
> 8   libgtk-x11-2.0.0.dylib        	0x0000000108817da4 gtk_label_expose + 212
> 9   libgtk-x11-2.0.0.dylib        	0x0000000108823a59 _gtk_marshal_BOOLEAN__BOXED + 169
> 10  libgobject-2.0.0.dylib        	0x000000010962d87a g_closure_invoke + 266 (gclosure.c:777)
> 11  libgobject-2.0.0.dylib        	0x000000010963df4a signal_emit_unlocked_R + 2362
> 12  libgobject-2.0.0.dylib        	0x000000010963ef38 g_signal_emit_valist + 3224 (gsignal.c:3308)
> 13  libgobject-2.0.0.dylib        	0x000000010963f464 g_signal_emit + 116 (gsignal.c:3354)
> 14  libgtk-x11-2.0.0.dylib        	0x000000010893b608 gtk_widget_event_internal + 664
> 15  libgtk-x11-2.0.0.dylib        	0x00000001087a0b61 gtk_container_propagate_expose + 369
> 16  libgtk-x11-2.0.0.dylib        	0x0000000108771766 gtk_box_forall + 54
> 17  libgtk-x11-2.0.0.dylib        	0x00000001087a34d6 gtk_container_expose + 150
> 18  libgtk-x11-2.0.0.dylib        	0x0000000108823a59 _gtk_marshal_BOOLEAN__BOXED + 169
> 19  libgobject-2.0.0.dylib        	0x000000010962d87a g_closure_invoke + 266 (gclosure.c:777)
> 20  libgobject-2.0.0.dylib        	0x000000010963df4a signal_emit_unlocked_R + 2362
> 21  libgobject-2.0.0.dylib        	0x000000010963ef38 g_signal_emit_valist + 3224 (gsignal.c:3308)
> 22  libgobject-2.0.0.dylib        	0x000000010963f464 g_signal_emit + 116 (gsignal.c:3354)
> 23  libgtk-x11-2.0.0.dylib        	0x000000010893b608 gtk_widget_event_internal + 664
> 24  libgtk-x11-2.0.0.dylib        	0x00000001087a0b61 gtk_container_propagate_expose + 369
> 25  libgtk-x11-2.0.0.dylib        	0x00000001087a34d6 gtk_container_expose + 150
> 26  libgtk-x11-2.0.0.dylib        	0x0000000108823a59 _gtk_marshal_BOOLEAN__BOXED + 169
> 27  libgobject-2.0.0.dylib        	0x000000010962d8a4 g_closure_invoke + 308 (gclosure.c:777)
> 28  libgobject-2.0.0.dylib        	0x000000010963df4a signal_emit_unlocked_R + 2362
> 29  libgobject-2.0.0.dylib        	0x000000010963ef38 g_signal_emit_valist + 3224 (gsignal.c:3308)
> 30  libgobject-2.0.0.dylib        	0x000000010963f464 g_signal_emit + 116 (gsignal.c:3354)
> 31  libgtk-x11-2.0.0.dylib        	0x000000010893b608 gtk_widget_event_internal + 664
> 32  libgtk-x11-2.0.0.dylib        	0x0000000108821bdf gtk_main_do_event + 1407
> 33  libgdk-x11-2.0.0.dylib        	0x0000000108d376d1 _gdk_window_process_updates_recurse + 513
> 34  libgdk-x11-2.0.0.dylib        	0x0000000108d33cfd gdk_window_process_updates_internal + 781
> 35  libgdk-x11-2.0.0.dylib        	0x0000000108d38c5b gdk_window_process_all_updates + 203
> 36  libgtk-x11-2.0.0.dylib        	0x00000001087a174d gtk_container_idle_sizer + 189
> 37  libgdk-x11-2.0.0.dylib        	0x0000000108d112a8 gdk_threads_dispatch + 56
> 38  libglib-2.0.0.dylib           	0x00000001096e0d88 g_main_context_dispatch + 328 (gmain.c:2539)
> 39  libglib-2.0.0.dylib           	0x00000001096e295e g_main_context_iterate + 510
> 40  libglib-2.0.0.dylib           	0x00000001096e29f2 g_main_context_iteration + 98 (gmain.c:3207)
> 41  libgtk-x11-2.0.0.dylib        	0x0000000108821d81 gtk_main_iteration + 33
> 42  wireshark                     	0x0000000103edbe15 splash_update_label + 85
> 43  wireshark                     	0x0000000103edc4a4 splash_new + 548
> 44  wireshark                     	0x0000000103f2ae27 main + 935
> 45  wireshark                     	0x0000000103ec1044 start + 52

so this might be a bug in GTK+ 3, Pango, or Cairo.

What happens if you try building with GTK+ 2, instead?