ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 10113] New: Test case assertion in wiretap dumper

Date: Sat, 17 May 2014 15:00:59 +0000
Bug ID 10113
Summary Test case assertion in wiretap dumper
Classification Unclassified
Product Wireshark
Version Git
Hardware All
OS All
Status UNCONFIRMED
Severity Major
Priority Low
Component Capture file support (libwiretap)
Assignee [email protected]
Reporter [email protected]

Build Information:
TShark 1.11.4 (v1.11.4-rc1-425-g3aee917 from master)

Copyright 1998-2014 Gerald Combs <[email protected]> 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 (64-bit) with GLib 2.40.0, with libpcap, with libz 1.2.8, with POSIX
capabilities (Linux), without libnl, with SMI 0.4.8, with c-ares 1.10.0, with
Lua 5.1, without Python, with GnuTLS 3.2.11, with Gcrypt 1.5.3, with MIT
Kerberos, with GeoIP.

Running on Linux 3.13.0-24-generic, with locale en_CA.UTF-8, with libpcap
version 1.5.3, with libz 1.2.8.
Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz

Built using gcc 4.8.2.
--
This shows up on one of the buildbots, and is reproducible for me by running:

./tshark -r test/captures/sipmsg.log -X lua_script:test/lua/acme_file.lua -w
testin.txt -F pcapng

Under gdb, the backtrace looks like:

#0  0x00007ffff7b5ef53 in pcapng_dump_open (wdh=0x11a2110, err=0x7fffffffdce4)
at pcapng.c:3606
#1  0x00007ffff7b42c8a in wtap_dump_open_finish (wdh=wdh@entry=0x11a2110,
file_type_subtype=file_type_subtype@entry=2, compressed=compressed@entry=0, 
    err=err@entry=0x7fffffffdce4) at file_access.c:2213
#2  0x00007ffff7b44573 in wtap_dump_open_ng (filename=filename@entry=0x1159ae0
"testin.txt", file_type_subtype=file_type_subtype@entry=2, 
    encap=encap@entry=7, snaplen=snaplen@entry=65535,
compressed=compressed@entry=0, shb_hdr=shb_hdr@entry=0x11a20e0,
idb_inf=idb_inf@entry=0x11977b0, 
    err=err@entry=0x7fffffffdce4) at file_access.c:2062
#3  0x000000000040c1be in load_cap_file (cf=0x63e060 <cfile>,
max_byte_count=<optimized out>, max_packet_count=<optimized out>,
out_file_name_res=0, 
    out_file_type=<optimized out>, save_file=0x1159ae0 "testin.txt") at
tshark.c:3112
#4  main (argc=<optimized out>, argv=<optimized out>) at tshark.c:2072

I believe this is a regression from g3aee917058fb46b2e86d750766001c4db214fc78


You are receiving this mail because:
  • You are watching all bug changes.