Wireshark-bugs: [Wireshark-bugs] [Bug 2582] New: Wireshark 1.0.0 crashes on close without save
Date: Sun, 1 Jun 2008 22:46:06 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2582

           Summary: Wireshark 1.0.0 crashes on close without save
           Product: Wireshark
           Version: 1.0.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: High
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: googl3meister@xxxxxxxxx


Build Information:
wireshark 1.0.0

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, 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 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++ 6.0 build 8804
--
Wireshark 1.0.0 (latest for Win32 as of the time of writing) reliably crashes
when exiting, with message similar to below (typed from screen) - makes no
difference whether running for a few minutes or a few hours - the one below had
215 packets captured.  Saving the file first seems to not cause the issue:

[In a standard win32 error dialog, which you cannot cut'n'paste from....]
The instruction at "0x685d2d30" referenced memory at "0x2e320038". The memory
could not be "read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Clicking on CANCEL loads up Visual Studio which presents the following dialog
(which you _can_ cut'n'paste from.... standards, microsoft, exist for a
reason...)
Unhandled exception at 0x685d2d30 in wireshark.exe: 0xC0000005: Access
violation reading location 0x2e320038.

Viewing assembly indicates the error occurs here in libglib-2.0-0.dll: \
685D2D30  mov         eax,dword ptr [eax+esi*4] <<<<<<<<<<<<<<<<<<<<<<</
685D2D33  mov         edx,dword ptr [ebx+18h] 
685D2D36  mov         ecx,dword ptr [ebx+1Ch] 
685D2D39  mov         dword ptr [esp],ecx 
685D2D3C  call        685D22F0 
685D2D41  mov         eax,dword ptr [ebx+8] 
685D2D44  mov         edx,dword ptr [ebx] 

Call stack:
>	libglib-2.0-0.dll!685d2d30() 	
        [Frames below may be incorrect and/or missing, no symbols loaded for
libglib-2.0-0.dll] 
        msvcrt.dll!77c2c2e3()   
        libwireshark.dll!call_init_routine(void * routine=0x0012ee20, void *
dummy=0x004133f5)  Line 113        C
        libwireshark.dll!cleanup_dissection()  Line 158 C
        wireshark.exe!cf_close(_capture_file * cf=0x00597520)  Line 366 C
        wireshark.exe!main_do_quit()  Line 1169 + 0xa bytes     C
        wireshark.exe!file_quit_answered_cb(void * dialog=0x03f787f0, int
btn=64, void * data=0x00000000)  Line 1279    C
        wireshark.exe!simple_dialog_cancel_cb(_GtkWidget * w=0x03f779a8, void *
win=0x03f787f0)  Line 384 + 0xf bytes   C
        libgobject-2.0-0.dll!02143945()         
        libglib-2.0-0.dll!685d2409()    
        libgobject-2.0-0.dll!02157125()         
        ntdll.dll!7c910551()    
        libgobject-2.0-0.dll!02147504()         
        libgobject-2.0-0.dll!0216383a()         
        libgobject-2.0-0.dll!02157eda()         
        libgdk-win32-2.0-0.dll!6c37427a()       
        gdi32.dll!77f1e4e4()    
        gdi32.dll!77f1e486()    
        gdi32.dll!77f1e4f0()    
        user32.dll!7e4184b2()   
        user32.dll!7e4186be()   
        gdi32.dll!77f16cc3()    
        libgdk-win32-2.0-0.dll!6c374b4e()       
        libgdk-win32-2.0-0.dll!6c36905b()       
        libgobject-2.0-0.dll!021439e7()         
        libgobject-2.0-0.dll!0216317d()         
        libgobject-2.0-0.dll!0215703b()         
        ntdll.dll!7c910732()    
        libgobject-2.0-0.dll!02147504()         
        libgobject-2.0-0.dll!0216383a()         
        libgobject-2.0-0.dll!02158166()         
        libgtk-win32-2.0-0.dll!617a5680()       
        libgobject-2.0-0.dll!021584d4()         
        libgtk-win32-2.0-0.dll!617a78dc()       
        libgobject-2.0-0.dll!02143945()         
        libglib-2.0-0.dll!685d2409()    
        libgobject-2.0-0.dll!02156b22()         
        libgobject-2.0-0.dll!02147504()         
        libgobject-2.0-0.dll!0216383a()         
        libgobject-2.0-0.dll!02157eda()         
        user32.dll!7e41b4c0()   
        user32.dll!7e41882a()   
        user32.dll!7e41b4c0()   
        libgobject-2.0-0.dll!0214770b()         
        libgdk-win32-2.0-0.dll!6c36a52a()       
        libgdk-win32-2.0-0.dll!6c36de5b()       
        libgdk-win32-2.0-0.dll!6c346491()       
        libgtk-win32-2.0-0.dll!617eab63()       
        libgtk-win32-2.0-0.dll!617e8a00()       
        libgtk-win32-2.0-0.dll!617ea741()       
        libgtk-win32-2.0-0.dll!619d6071()       
        libgobject-2.0-0.dll!02143307()         
        libgobject-2.0-0.dll!021439e7()         
        libgobject-2.0-0.dll!02158166()         
        libgtk-win32-2.0-0.dll!617a55f0()       
        libgtk-win32-2.0-0.dll!617a6cf2()       
        libgtk-win32-2.0-0.dll!6188c522()       
        libgobject-2.0-0.dll!02143945()         
        libglib-2.0-0.dll!685d2409()    
        libgobject-2.0-0.dll!02156d56()         
        libgobject-2.0-0.dll!02147504()         
        libgobject-2.0-0.dll!0216383a()         
        libgobject-2.0-0.dll!02157c2c()         
        ntdll.dll!7c91056d()    
        libglib-2.0-0.dll!685d2409()    
        ntdll.dll!7c910551()    
        user32.dll!7e41f896()   
        msctf.dll!74730f19()    
        msctf.dll!747300a8()    
        msctf.dll!74730f19()    
        user32.dll!7e41f84a()   
        msctf.dll!74724616()    
        msctf.dll!747304fd()    
        user32.dll!7e41f896()   
        msctf.dll!74730f14()    
        libgdk-win32-2.0-0.dll!6c370ff4()       
        msctf.dll!74730f19()    
        user32.dll!7e418734()   
        user32.dll!7e418816()   
        user32.dll!7e41885a()   
        user32.dll!7e41882a()   
        libgobject-2.0-0.dll!02158166()         
        libgtk-win32-2.0-0.dll!619be564()       
        libgtk-win32-2.0-0.dll!618896c1()       
        libgtk-win32-2.0-0.dll!619c2ec0()       
        libgtk-win32-2.0-0.dll!6188a9f1()       
        libglib-2.0-0.dll!685dc419()    
        libgdk-win32-2.0-0.dll!6c3712ce()       
        libglib-2.0-0.dll!685de081()    
        libglib-2.0-0.dll!685de887()    
        libglib-2.0-0.dll!685e0b59()    
        libglib-2.0-0.dll!685dfd6b()    
        libglib-2.0-0.dll!685dff5a()    
        libglib-2.0-0.dll!685dc3f2()    
        libgtk-win32-2.0-0.dll!61889f3e()       
        libglib-2.0-0.dll!685e5d56()    
        wireshark.exe!main(int argc=0, char * * argv=0x0218495c)  Line 3198    
C
        wireshark.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpszCmdLine=0x0015233b, int nCmdShow=1)  Line
3265 + 0x17 bytes        C
        wireshark.exe!_WinMainCRTStartup()  + 0x134 bytes       
        kernel32.dll!7c816fd7()         
        libwireshark.dll!dissect_ymsg_pdu(tvbuff * tvb=0x006e0069, _packet_info
* pinfo=0x00320033, _proto_node * tree=0x002c0022)  Line 381 + 0x13 bytes      
C
        libwireshark.dll!dissect_sip_common(tvbuff * tvb=0x00200074, int
offset=7274563, _packet_info * pinfo=0x0074006e, _proto_node * tree=0x00780065,
int dissect_other_as_continuation=116, int use_reassembly=6881357)  Line 2218 +
0x22 bytes     C
        libwireshark.dll!date_time_from_opaque(tvbuff * tvb=0x00000070,
unsigned int offset=100, unsigned int data_len=0)  Line 315 + 0x74 bytes       
C
        libwireshark.dll!dissect_open_andx_request(tvbuff * tvb=0x75846816,
_packet_info * pinfo=0x306a0109, _proto_node * tree=0x8b0c4d8b, int
offset=-397278127, _proto_node * smb_tree=0xfff07953)  Line 5971 + 0xe bytes   
C
        74c08508()      

If any other info is needed let me know, though I do not watch this group
closely, I admit.

Thanks in advance.
googl3


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