/usr/bin/wireshark:11:wtap_seek_read:cf_read_record_r:cf_read_record:rescan_packets:cf_filter_packets
Bug #1794745 reported by
errors.ubuntu.com bug bridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wireshark |
Fix Released
|
High
|
|||
wireshark (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding wireshark. This problem was most recently seen with package version 2.4.5-1, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Changed in wireshark: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
To post a comment you must log in.
Build Information: 3070-g7c3c15a)
Wireshark 2.3.0 (v2.3.0rc0-
Copyright 1998-2017 Gerald Combs <email address hidden> and contributors. www.gnu. org/licenses/ old-licenses/ gpl-2.0. html>
License GPLv2+: GNU GPL version 2 or later <http://
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 Qt 5.5.1, with libpcap, with POSIX capabilities (Linux),
with libnl 3, with GLib 2.48.2, with zlib 1.2.8, with SMI 0.4.8, with c-ares
1.10.0, with Lua 5.2.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with MIT
Kerberos, with GeoIP, with nghttp2 1.7.1, with LZ4, with Snappy, with
QtMultimedia, without AirPcap, with SBC, with SpanDSP.
Running on Linux 4.8.0-41-generic, with Intel(R) Xeon(R) CPU E5-1650 v2 @
3.50GHz (with SSE4.2), with 24038 MB of physical memory, with locale
en_US.UTF-8, with libpcap version 1.7.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5,
with zlib 1.2.8.
Built using gcc 5.4.0 20160609.
--
Two different crashes observed but use case are quite similar and call stacks indicate root cause might be same so reporting them as one.
The use cases are like this:
Crash #1
1. Capture or open a big capture file.
2. Save capture file
3. While save file operation is ongoing..
4. Open "Capture Options" dialog
5. Start new capture
6. Crash observed.
Crash #2
1. Capture or open a big capture file.
2. Set a display filter
3. While rescanning is ongoing..
4. Open "Capture Options" dialog
5. Start new capture
6. Crash observed.
The use case is perhaps a bit odd but it has happened to me by accident a number of times as the UI allows it.
Crash #1 - Start capture while saving capture file...
Thread 1 "wireshark" received signal SIGSEGV, Segmentation fault. entry=0x7ffffff fc690, buf=buf@ entry=0x7ffffff fc670, err=err@ entry=0x7ffffff fc5cc, info=err_ info@entry= 0x7fffffffc5d0) at wtap.c:1403 entry=0x7ffffff fc690, buf=buf@ entry=0x7ffffff fc670, err=err@ entry=0x7ffffff fc5cc, info=err_ info@entry= 0x7fffffffc5d0) at wtap.c:1403 entry=0xc83ce0 <cfile>, fdata=fdata@ entry=0xaad1220 , phdr=phdr@ entry=0x7ffffff fc690, buf@entry= 0x7fffffffc670) at file.c:1502 specified_ records (cf=cf@ entry=0xc83ce0 <cfile>, range=range@ entry=0x0, string1= string1@ entry=0x79e74c "Saving", string2@ entry=0x79d1d4 "packets", callback= callback@ entry=0x47e2e0 <save_record>, callback_ args=callback_ args@entry= 0x7fffffffc8d0, progress_ bar=1, terminate_ is_stop= 1) at file.c:2058 entry=0xc83ce0 <cfile>, fname=0x1115df38 "/home/ CORPUSERS/ 23047419/ big-sniff4. pcapng. gz", format= save_format@ entry=2, compressed= compressed@ entry=1, discard_ comments= discard_ comments@ entry=0, dont_reopen= dont_reopen@ entry=0) :saveAsCaptureF ile (this=0xefb9b0, cf=0xc83ce0 <cfile>, must_support_ comments= mu...
wtap_seek_read (wth=0x0, seek_off=228115028, phdr=phdr@
err_
1403 phdr->pkt_encap = wth->file_encap;
(gdb) bt
#0 wtap_seek_read (wth=0x0, seek_off=228115028, phdr=phdr@
err_
#1 0x000000000047fe15 in cf_read_record_r (cf=cf@
buf=
#2 0x0000000000480aea in process_
string2=
show_
#3 0x000000000048343f in cf_save_records (cf=cf@
save_
at file.c:4560
#4 0x00000000004b25c8 in MainWindow: