ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7542] New: tshark WARNING ERR: Dissector bug, protocol X2A

Date: Mon, 30 Jul 2012 05:58:24 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7542

           Summary: tshark WARNING ERR:   Dissector bug, protocol X2AP, in
                    packet 17019451: proto.c:1347: failed assertion
                    "length == 4
           Product: Wireshark
           Version: unspecified
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: Low
         Component: TShark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: jdelaney@xxxxxxxxx


Build Information:
TShark 1.6.7

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 (64-bit) with GLib 2.32.0, with libpcap (version unknown), with libz
1.2.3.4, with POSIX capabilities (Linux), without libpcre, with SMI 0.4.8, with
c-ares 1.7.5, with Lua 5.1, without Python, with GnuTLS 2.12.14, with Gcrypt
1.5.0, with MIT Kerberos, with GeoIP.

Running on Linux 3.2.0-27-generic, with libpcap version 1.1.1, with libz
1.2.3.4.

--
While attempting to run tshark to extract specific a11/a10 informtion out from
a large pcap file, I continue to get the following WARNING message.  This slows
down the extraction process.

1) Is there a way to ignore these messages?  I can't send them to /dev/null
because I need to extract the desired output to STDOUT.

2) Is there a fix for these WARNING - 'failed assertion' problems?


COMMAND RUN:
 PDSNControlIp=$(tshark -c $numpackets -V -r $1 a11 | grep -A12 "Registration
Request" | grep "Home Agent:" | cut -d':' -f2 | cut -d' ' -f2 | sort | uniq |
awk '{if (NR==1) printf "%s", $0; else printf ",%s",$0;}')



ERROR:
** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18560114: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18560452: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18583083: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18589785: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18624875: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18693194: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18713407: proto.c:1347: failed assertion "length == 4"

** (process:8814): WARNING **: Dissector bug, protocol X2AP, in packet
18718228: proto.c:1347: failed assertion "length == 4"

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