Wireshark-bugs: [Wireshark-bugs] [Bug 2605] New: Wireshark crashes on closing capture without sa

Date: Thu, 12 Jun 2008 15:43:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2605

           Summary: Wireshark crashes on closing capture without save
           Product: Wireshark
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: andrew.frater@xxxxxxxxxxxxx


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.9, with GLib 2.16.1, with libpcap 0.9.8, with libz
1.2.3.3, with POSIX capabilities (Linux), with libpcre 7.4, without SMI, with
ADNS, with Lua 5.1, with GnuTLS 2.0.4, with Gcrypt 1.2.4, with MIT Kerberos,
with PortAudio V19-devel (built Mar 12 2008), without AirPcap.

Running on Linux 2.6.24-18-generic, with libpcap version 0.9.8.

Built using gcc 4.2.3 (Ubuntu 4.2.3-2ubuntu7).

--
Wireshark crashes reliably whenever I close a capture without saving it. This
seems very similar to bug number 2582, and may potentially be simply a
duplicate - however I'm reporting this for linux rather than windows, so
thought it may warrant a separate entry. Here's the dump of my latest crash:

*** glibc detected *** wireshark: double free or corruption (out):
0x0000000001789950 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fcbcde1f08a]
/lib/libc.so.6(cfree+0x8c)[0x7fcbcde22c1c]
/usr/lib/wireshark/libwireshark.so.0[0x7fcbd2c5f843]
/usr/lib/libglib-2.0.so.0(g_slist_foreach+0x1d)[0x7fcbcf562bed]
/usr/lib/wireshark/libwireshark.so.0(init_dissection+0x28)[0x7fcbd277bfe8]
wireshark(cf_close+0x26)[0x435696]
wireshark[0x45e067]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x7fcbcffefbcf]
/usr/lib/libgobject-2.0.so.0[0x7fcbd00036bc]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x7fcbd00050d5]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fcbd0005483]
/usr/lib/libgtk-x11-2.0.so.0[0x7fcbd12be2c9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x7fcbcffefbcf]
/usr/lib/libgobject-2.0.so.0[0x7fcbd0003386]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x7fcbd00050d5]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fcbd0005483]
/usr/lib/libgtk-x11-2.0.so.0[0x7fcbd12bcb99]
/usr/lib/libgtk-x11-2.0.so.0[0x7fcbd138287f]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x7fcbcffefbcf]
/usr/lib/libgobject-2.0.so.0[0x7fcbd0003aa8]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x586)[0x7fcbd0004de6]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fcbd0005483]
/usr/lib/libgtk-x11-2.0.so.0[0x7fcbd1489e55]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xd2)[0x7fcbd137bb92]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2a5)[0x7fcbd137cb35]
/usr/lib/libgdk-x11-2.0.so.0[0x7fcbd0fe658c]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x7fcbcf546262]
/usr/lib/libglib-2.0.so.0[0x7fcbcf549516]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0x7fcbcf5497d7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa3)[0x7fcbd137cf03]
wireshark(main+0xa27)[0x447f97]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7fcbcddc91c4]
wireshark(register_all_protocols+0x5b1)[0x426cf9]
======= Memory map: ========
00400000-00547000 r-xp 00000000 08:06 10567735                          
/usr/bin/wireshark
00746000-00768000 rw-p 00146000 08:06 10567735                          
/usr/bin/wireshark
00768000-01bbc000 rw-p 00768000 00:00 0                                  [heap]
7fcbbc000000-7fcbbc021000 rw-p 7fcbbc000000 00:00 0 
7fcbbc021000-7fcbc0000000 ---p 7fcbbc021000 00:00 0 
7fcbc13e2000-7fcbc13e3000 ---p 7fcbc13e2000 00:00 0 
7fcbc13e3000-7fcbc1de1000 rw-p 7fcbc13e3000 00:00 0 
7fcbc1de1000-7fcbc1de2000 ---p 7fcbc1de1000 00:00 0 
7fcbc1de2000-7fcbc1df1000 r-xp 00000000 08:06 1409240                   
/lib/libbz2.so.1.0.4
7fcbc1df1000-7fcbc1ff0000 ---p 0000f000 08:06 1409240                   
/lib/libbz2.so.1.0.4
7fcbc1ff0000-7fcbc1ff2000 rw-p 0000e000 08:06 1409240                   
/lib/libbz2.so.1.0.4
7fcbc1ff2000-7fcbc2060000 r-xp 00000000 08:06 8553757                   
/usr/lib/libgio-2.0.so.0.0.0
7fcbc2060000-7fcbc2260000 ---p 0006e000 08:06 8553757                   
/usr/lib/libgio-2.0.so.0.0.0
7fcbc2260000-7fcbc2263000 rw-p 0006e000 08:06 8553757                   
/usr/lib/libgio-2.0.so.0.0.0
7fcbc2263000-7fcbc23a0000 r-xp 00000000 08:06 10716014                  
/usr/lib/libxml2.so.2.6.31
7fcbc23a0000-7fcbc25a0000 ---p 0013d000 08:06 10716014                  
/usr/lib/libxml2.so.2.6.31
7fcbc25a0000-7fcbc25a9000 rw-p 0013d000 08:06 10716014                  
/usr/lib/libxml2.so.2.6.31
7fcbc25a9000-7fcbc25aa000 rw-p 7fcbc25a9000 00:00 0 
7fcbc25aa000-7fcbc25e2000 r-xp 00000000 08:06 8555203                   
/usr/lib/libcroco-0.6.so.3.0.1
7fcbc25e2000-7fcbc27e1000 ---p 00038000 08:06 8555203                   
/usr/lib/libcroco-0.6.so.3.0.1
7fcbc27e1000-7fcbc27e5000 rw-p 00037000 08:06 8555203                   
/usr/lib/libcroco-0.6.so.3.0.1
7fcbc27e5000-7fcbc281c000 r-xp 00000000 08:06 8553281                   
/usr/lib/libgsf-1.so.114.0.7
7fcbc281c000-7fcbc2a1b000 ---p 00037000 08:06 8553281                   
/usr/lib/libgsf-1.so.114.0.7
7fcbc2a1b000-7fcbc2a1f000 rw-p 00036000 08:06 8553281                   
/usr/lib/libgsf-1.so.114.0.7
7fcbc2a1f000-7fcbc2a20000 rw-p 7fcbc2a1f000 00:00 0 
7fcbc2a20000-7fcbc2a54000 r-xp 00000000 08:06 8554277                   
/usr/lib/librsvg-2.so.2.22.2
7fcbc2a54000-7fcbc2c54000 ---p 00034000 08:06 8554277                   
/usr/lib/librsvg-2.so.2.22.2
7fcbc2c54000-7fcbc2c56000 rw-p 00034000 08:06 8554277                   
/usr/lib/librsvg-2.so.2.22.2
7fcbc2c56000-7fcbc2c58000 r-xp 00000000 08:06 8618293                   
/usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
7fcbc2c58000-7fcbc2e57000 ---p 00002000 08:06 8618293                   
/usr/lib/gtk-2.0/2.10.0/loaders/svg_lAborted


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