Wireshark-dev: Re: [Wireshark-dev] Crash with the new win32 GTK+ bundle when opening an analysi

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Fri, 20 Apr 2012 13:10:25 -0700
On 4/20/12 7:37 AM, Pascal Quantin wrote:
> Hi Anders,
> 
> 2012/4/20 Anders Broman <anders.broman@xxxxxxxxxxxx
> <mailto:anders.broman@xxxxxxxxxxxx>>
> 
>     __
>     Hi,
>     Did you try a clean build of top-of-tree?
>     Regards
>     Anders
> 
> Compiling a r41159 out of a clean checkout of the tree still crashes for
> me. Plugging the debugger does not help much as it seems to crash in the
> gtk+ librairies.

WinDbg says:

0:000> kP
Child-SP          RetAddr           Call Site
00000000`002cd340 00000000`76ea4736 ntdll!RtlUnhandledExceptionFilter+0x2d2
00000000`002cd410 00000000`76ea5942 ntdll!EtwEnumerateProcessRegGuids+0x216
00000000`002cd440 00000000`76ea75f4
ntdll!RtlQueryProcessLockInformation+0x972
00000000`002cd470 00000000`76e4157b ntdll!RtlLogStackBackTrace+0x444
00000000`002cd4a0 00000000`76e3413d ntdll!RtlIsDosDeviceName_U+0x7afb
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\Windows\system32\msvcrt.dll -
00000000`002cd7e0 000007fe`fd8f10c8 ntdll!RtlAllocateHeap+0xd9d
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for c:\Development\wireshark-w64\wireshark-gtk2\libcairo-2.dll -
00000000`002cd860 00000000`6e2e4e55 msvcrt!free+0x1c
00000000`002cd890 00000000`6e2e4128
libcairo_2!cairo_win32_surface_get_image+0x6f5
00000000`002cd930 00000000`6e2e43a6 libcairo_2!cairo_version_string+0x10608
00000000`002cda00 00000000`6e283123 libcairo_2!cairo_version_string+0x10886
00000000`002cdcb0 00000000`6e2e4c78
libcairo_2!cairo_rectangle_list_destroy+0x2583
00000000`002ce000 00000000`6e2c0826
libcairo_2!cairo_win32_surface_get_image+0x518
00000000`002ce060 00000000`6e28aa89
libcairo_2!cairo_surface_unmap_image+0x446
00000000`002ce0f0 00000000`6e284bd8
libcairo_2!cairo_font_options_get_hint_metrics+0x3239
00000000`002ce2a0 00000000`6e27e2e9
libcairo_2!cairo_debug_reset_static_data+0x9e8
*** WARNING: Unable to verify checksum for
c:\Development\wireshark-w64\wireshark-gtk2\wireshark.exe
00000000`002ce2d0 00000001`3fb8aa65 libcairo_2!cairo_fill+0x19
00000000`002ce300 00000001`3fb8868e wireshark!io_stat_draw(
			struct _io_stat_t * io = 0x00000000`0b210040)+0x23c5
[c:\development\wireshark-w64\ui\gtk\io_stat.c @ 1249]
00000000`002ce560 00000001`3fb88418 wireshark!io_stat_redraw(
			struct _io_stat_t * io = 0x00000000`0b210040)+0x1e
[c:\development\wireshark-w64\ui\gtk\io_stat.c @ 1273]
00000000`002ce590 00000001`3fb87ff7 wireshark!iostat_init(
			char * optarg = 0x00000000`00000000 "",
			void * userdata = 0x00000000`00000000)+0x408
[c:\development\wireshark-w64\ui\gtk\io_stat.c @ 1451]
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for c:\Development\wireshark-w64\wireshark-gtk2\libgobject-2.0-0.dll -
00000000`002ce5f0 00000000`6c2d5b99 wireshark!gui_iostat_cb(
			struct _GtkAction * action = 0x00000000`05a12e10,
			void * user_data = 0x00000000`00000000)+0x17
[c:\development\wireshark-w64\ui\gtk\io_stat.c @ 2428]
00000000`002ce620 00000000`6c2e53d7 libgobject_2_0_0!g_closure_invoke+0x149
00000000`002ce6e0 00000000`6c2ec85a
libgobject_2_0_0!g_signal_handler_disconnect+0xd17
00000000`002ce820 00000000`6c2ec9d8
libgobject_2_0_0!g_signal_emit_valist+0xa4a
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for c:\Development\wireshark-w64\wireshark-gtk2\libgtk-win32-2.0-0.dll -
00000000`002cea70 00000000`6c62b1da libgobject_2_0_0!g_signal_emit+0x18
00000000`002ceab0 00000000`6c2d5e06 libgtk_win32_2_0_0!gtk_action_new+0xda
00000000`002ceaf0 00000000`6c2ec20f libgobject_2_0_0!g_closure_invoke+0x3b6
00000000`002cebd0 00000000`6c2ec9d8
libgobject_2_0_0!g_signal_emit_valist+0x3ff
00000000`002cedf0 00000000`6c7f3ae0 libgobject_2_0_0!g_signal_emit+0x18
00000000`002cee30 00000000`6c6f7dad
libgtk_win32_2_0_0!gtk_widget_activate+0x70
00000000`002cee70 00000000`6c6f80fb
libgtk_win32_2_0_0!gtk_menu_shell_activate_item+0xfd
00000000`002ceec0 00000000`6c6e62b7
libgtk_win32_2_0_0!gtk_menu_shell_activate_item+0x44b
00000000`002cef40 00000000`6c2d5b99
libgtk_win32_2_0_0!gtk_marshal_VOID__UINT_STRING+0x117
00000000`002cef90 00000000`6c2e5169 libgobject_2_0_0!g_closure_invoke+0x149
00000000`002cf050 00000000`6c2ec614
libgobject_2_0_0!g_signal_handler_disconnect+0xaa9
00000000`002cf190 00000000`6c2ec9d8
libgobject_2_0_0!g_signal_emit_valist+0x804
00000000`002cf3f0 00000000`6c7f486d libgobject_2_0_0!g_signal_emit+0x18
00000000`002cf430 00000000`6c6e4981
libgtk_win32_2_0_0!gtk_widget_get_realized+0x22d
00000000`002cf4a0 00000000`6c6e4cbb
libgtk_win32_2_0_0!gtk_propagate_event+0xc1
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for c:\Development\wireshark-w64\wireshark-gtk2\libgdk-win32-2.0-0.dll -
00000000`002cf4f0 00000000`6e38b6bb
libgtk_win32_2_0_0!gtk_main_do_event+0x25b
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for c:\Development\wireshark-w64\wireshark-gtk2\libglib-2.0-0.dll -
00000000`002cf570 00000000`7267fcf6
libgdk_win32_2_0_0!gdk_event_get_graphics_expose+0x272b
00000000`002cf5a0 00000000`726800c8
libglib_2_0_0!g_main_context_dispatch+0x126
00000000`002cf650 00000000`72680503
libglib_2_0_0!g_main_context_dispatch+0x4f8
00000000`002cf6e0 00000000`6c6e3dae libglib_2_0_0!g_main_loop_run+0x73
00000000`002cf720 00000001`3fadce81 libgtk_win32_2_0_0!gtk_main+0x9e
00000000`002cf7a0 00000001`3fadea52 wireshark!main(
			int argc = 0n0,
			char ** argv = 0x00000000`01caff48)+0x18b1
[c:\development\wireshark-w64\ui\gtk\main.c @ 3104]
00000000`002cfe40 00000001`3fc41573 wireshark!WinMain(
			struct HINSTANCE__ * hInstance = 0x00000001`3fab0000,
			struct HINSTANCE__ * hPrevInstance = 0x00000000`00000000,
			char * lpszCmdLine = 0x00000000`0037487c "",
			int nCmdShow = 0n10)+0x82 [c:\development\wireshark-w64\ui\gtk\main.c
@ 3170]
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\Windows\system32\kernel32.dll -
00000000`002cfe80 00000000`76a2652d
wireshark!__tmainCRTStartup(void)+0x15f
[f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crtexe.c @ 547]
00000000`002cff30 00000000`76e0c521 kernel32!BaseThreadInitThunk+0xd
00000000`002cff60 00000000`00000000 ntdll!RtlUserThreadStart+0x21


It looks like our version of Cairo (1.12.0) might not be ready for prime
time: https://bugs.freedesktop.org/show_bug.cgi?id=48750


-- 
Join us for Sharkfest ’12! · Wireshark® Developer and User Conference
Berkeley, CA, June 24-27 · sharkfest.wireshark.org