Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2066] New: Crash after changing interface in Prefs ! Captu

Date: Sun, 2 Dec 2007 17:25:01 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2066

           Summary: Crash after changing interface in Prefs ! Capture or
                    Capture ! Options
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: High
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: wmeier@xxxxxxxxxxx


Build Information:
Version 0.99.8x (SVN Rev 23693)

Compiled with GTK+ 2.12.2, with GLib 2.14.4, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with SMI 0.4.5, with ADNS, with Lua 5.1,
with
GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio PortAudio
V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 8.0 build 50727

--
Wireshark crashes after Prefs ! Capture ! OK  or Capture ! Options ! Start if
an alternate interface is chosen in the Interfaces dropdown (when there are
multiple interfaces).

I've tried several variants (as below). My conclusion is that the problem is
somehow related to  the use of the recently updated GTK/Glib/.....

pre2: downloaded windows exe (vc6):                      OK
pre2: compiled windows (vc8) w gtk 2.12.1; glib 2.14.3:  OK
pre2: compiled windows (vc8) w gtk 2.12.2; glib 2.14.4:  Crashes
(current SVN:  windows (vc8) w gtk 2.12.2; glib 2.14.4:  Crashes

The actual crash occurs deep inside GTK/Glib/?  when window_destroy ...
gtk_widget_destroy is called by Wireshark to destroy the Preferences (or
Capture  ! Options) window.

stack:
        <many more ....>
        msvcrt.dll!77c2c2de()   
        msvcrt.dll!77c2c2e3()   
        libgobject-2.0-0.dll!6274c112()         
        libglib-2.0-0.dll!672d24e5()    
        libglib-2.0-0.dll!672d24e5()    
        libgobject-2.0-0.dll!6274c57f()         
        libglib-2.0-0.dll!672fb748()    
        libglib-2.0-0.dll!672d24e5()    
        libgobject-2.0-0.dll!627581b6()         
        libgobject-2.0-0.dll!6274773b()         
        libgtk-win32-2.0-0.dll!606bbea1()       
        libglib-2.0-0.dll!672fb748()    
        libglib-2.0-0.dll!672d24e5()    
        libglib-2.0-0.dll!672cc05f()    
        libgobject-2.0-0.dll!627499c9()         
        libgobject-2.0-0.dll!627581b6()         
        libgtk-win32-2.0-0.dll!606bf74c()       
        libgtk-win32-2.0-0.dll!606c64a0()       
        libgobject-2.0-0.dll!627495e0()         
>	wireshark.exe!window_destroy(_GtkWidget * win=0x044322e8)  Line 550 + 0x9 bytes	C
        wireshark.exe!prefs_main_ok_cb(_GtkWidget * ok_bt=0x04a7c1e0, void *
parent_w=0x044322e8)  Line 1498 + 0x18 bytes       C


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.