Wireshark-bugs: [Wireshark-bugs] [Bug 6804] New: Infiniband packet capture crash

Date: Tue, 7 Feb 2012 13:24:12 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6804

           Summary: Infiniband packet capture crash
           Product: Wireshark
           Version: 1.6.5
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: High
         Component: TShark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: laurentb@xxxxxxxxx


Build Information:
TShark 1.6.5 (SVN Rev Unknown from unknown)

Copyright 1998-2012 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 (32-bit) with GLib 2.30.0, with libpcap (version unknown), with libz
1.2.3.4, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, without Lua, without Python, without GnuTLS, without
Gcrypt, with MIT Kerberos, without GeoIP.

Running on Linux 3.0.0-15-generic, with libpcap version 1.1.1, with libz
1.2.3.4.

Built using gcc 4.6.1.
--
Here is a capture file triggering a SIGABRT.
----

Starting program: /usr/local/bin/tshark -nVxr infiniband-crash.pcap
[Thread debugging using libthread_db enabled]

tshark: The file "infiniband-crash.pcap" appears to have been cut short in the
middle of a packet.
*** glibc detected *** /usr/local/bin/tshark: double free or corruption
(!prev): 0x088163a0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0x2824bc2]
/lib/i386-linux-gnu/libc.so.6(+0x6f862)[0x2825862]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x282894d]
/lib/i386-linux-gnu/libglib-2.0.so.0(+0x49c1b)[0x2675c1b]
/lib/i386-linux-gnu/libglib-2.0.so.0(g_free+0x36)[0x2675ef6]
/usr/local/lib/libwiretap.so.1(buffer_free+0x1d)[0x137cbd]
/usr/local/lib/libwiretap.so.1(wtap_sequential_close+0x4c)[0x16104c]
/usr/local/lib/libwiretap.so.1(wtap_close+0x1c)[0x16108c]
/usr/local/bin/tshark(main+0x2153)[0x80521b3]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x27cf113]
/usr/local/bin/tshark[0x8052a8d]

Program received signal SIGABRT, Aborted.
0x00130416 in __kernel_vsyscall ()
(gdb) bt
#0  0x00130416 in __kernel_vsyscall ()
#1  0x027e3c8f in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x027e72b5 in __GI_abort () at abort.c:92
#3  0x02819dfc in __libc_message (do_abort=2, fmt=0x28f3080 "*** glibc detected
*** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0x02824bc2 in malloc_printerr (action=<optimized out>, str=<optimized out>,
ptr=0x88163a0) at malloc.c:6283
#5  0x02825862 in _int_free (av=0x292f400, p=0x8816398) at malloc.c:4795
#6  0x0282894d in __GI___libc_free (mem=0x88163a0) at malloc.c:3738
#7  0x02675c1b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02675ef6 in g_free () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x00137cbd in buffer_free (buffer=0x8808640) at buffer.c:46
#10 0x0016104c in wtap_sequential_close (wth=0x88037b0) at wtap.c:648
#11 0x0016108c in wtap_close (wth=0x88037b0) at wtap.c:663
#12 0x080521b3 in load_cap_file (max_byte_count=0, max_packet_count=<optimized
out>, out_file_name_res=0, out_file_type=-1073747528, 
    save_file=0x0, cf=<optimized out>) at tshark.c:2831
#13 main (argc=3, argv=0xbfffeac4) at tshark.c:1721

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