Wireshark-bugs: [Wireshark-bugs] [Bug 10568] New: Regression: Wireshark git master fails reading
Date: Tue, 14 Oct 2014 16:31:26 +0000
Bug ID 10568
Summary Regression: Wireshark git master fails reading a capture file which is read properly with 1.12.1
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS All
Status UNCONFIRMED
Severity Major
Priority Low
Component Capture file support (libwiretap)
Assignee bugzilla-admin@wireshark.org
Reporter netshark@ameissnet.com

Created attachment 13170 [details]
Capture file which is processed correctly by 1.12.1, fails with 1.99.1

Build Information:
Wireshark 1.99.1 (v1.99.1rc0-138-g2359e67 from master)

Copyright 1998-2014 Gerald Combs <gerald@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
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.2.1, with libpcap, with POSIX capabilities (Linux),
with libnl 3, with libz 1.2.8, with GLib 2.40.0, with SMI 0.4.8, with c-ares
1.9.1, with Lua 5.1, with GnuTLS 2.12.23, with Gcrypt 1.5.4, with MIT Kerberos,
with GeoIP, without PortAudio, without AirPcap.

Running on Linux 3.10.25-gentoo, with locale en_US.UTF-8, with libpcap version
1.5.3, with libz 1.2.8, with GnuTLS 2.12.23, with Gcrypt 1.5.4.
Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz (with SSE4.2)

Built using gcc 4.7.3.
--
A capture file which is readable under 1.12.1, results in errors under 1.99.1
(git master). GTK version gives a dialog which is blank and has no buttons. Qt
version shows the first packet as "???". Both result in lots of 

GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed

messages to the terminal.

Exporting G_DEBUG=fatal-criticals and running wireshark-gtk results in the
stack trace:

#0  0x00007f8c5342b84e in g_logv () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8c5342b9c2 in g_log () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8c53413c89 in g_hash_table_lookup () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f8c4beb4f3e in pcapng_read_unknown_block (fh=0xe3fc20,
bh=0x7fffe3438e20, pn=0x1eac980, wblock=0x7fffe3438e80, 
    err=0x7fffe3438fa4, err_info=0x7fffe3438f98) at
/home/dameiss/git/wireshark/wiretap/pcapng.c:2012
#4  0x00007f8c4beb5290 in pcapng_read_block (wth=0xd1f7f0, fh=0xe3fc20,
first_block=0, pn=0x1eac980, wblock=0x7fffe3438e80, 
    err=0x7fffe3438fa4, err_info=0x7fffe3438f98) at
/home/dameiss/git/wireshark/wiretap/pcapng.c:2106
#5  0x00007f8c4beb5d15 in pcapng_seek_read (wth=0xd1f7f0, seek_off=16532,
phdr=0x7fffe3439010, buf=0x7fffe3438ff0, err=0x7fffe3438fa4, 
    err_info=0x7fffe3438f98) at
/home/dameiss/git/wireshark/wiretap/pcapng.c:2431
#6  0x00007f8c4bec5ffb in wtap_seek_read (wth=0xd1f7f0, seek_off=16532,
phdr=0x7fffe3439010, buf=0x7fffe3438ff0, err=0x7fffe3438fa4, 
    err_info=0x7fffe3438f98) at /home/dameiss/git/wireshark/wiretap/wtap.c:1186
#7  0x000000000042d17f in cf_read_record_r (cf=0x882040 <cfile>,
fdata=0x1fe8e20, phdr=0x7fffe3439010, buf=0x7fffe3438ff0)
    at /home/dameiss/git/wireshark/file.c:1721
#8  0x0000000000537b50 in packet_list_dissect_and_cache_record
(packet_list=0x1eb2400, record=0x7f8c3d156000, dissect_color=1)
    at /home/dameiss/git/wireshark/ui/gtk/packet_list_store.c:1120
#9  0x0000000000535db0 in packet_list_get_value (tree_model=0x1eb2400,
iter=0x7fffe3439550, column=0, value=0x7fffe3439380)
    at /home/dameiss/git/wireshark/ui/gtk/packet_list_store.c:399
#10 0x00007f8c521424ac in gtk_tree_view_column_cell_set_cell_data () from
/usr/lib64/libgtk-x11-2.0.so.0
#11 0x00007f8c5212ac29 in validate_row () from /usr/lib64/libgtk-x11-2.0.so.0
#12 0x00007f8c5212dec7 in validate_visible_area () from
/usr/lib64/libgtk-x11-2.0.so.0
#13 0x00007f8c5212e4f7 in gtk_tree_view_bin_expose () from
/usr/lib64/libgtk-x11-2.0.so.0
#14 0x00007f8c521301f5 in gtk_tree_view_expose () from
/usr/lib64/libgtk-x11-2.0.so.0
#15 0x00007f8c52037e99 in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib64/libgtk-x11-2.0.so.0
#16 0x00007f8c53198380 in g_closure_invoke () from
/usr/lib64/libgobject-2.0.so.0
#17 0x00007f8c531aa18b in signal_emit_unlocked_R () from
/usr/lib64/libgobject-2.0.so.0
#18 0x00007f8c531b1ebf in g_signal_emit_valist () from
/usr/lib64/libgobject-2.0.so.0
#19 0x00007f8c531b24a2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#20 0x00007f8c52150cde in gtk_widget_event_internal () from
/usr/lib64/libgtk-x11-2.0.so.0
#21 0x00007f8c52036880 in gtk_main_do_event () from
/usr/lib64/libgtk-x11-2.0.so.0
#22 0x00007f8c52580e2c in _gdk_window_process_updates_recurse () from
/usr/lib64/libgdk-x11-2.0.so.0
#23 0x00007f8c52580dd3 in _gdk_window_process_updates_recurse () from
/usr/lib64/libgdk-x11-2.0.so.0
#24 0x00007f8c52580dd3 in _gdk_window_process_updates_recurse () from
/usr/lib64/libgdk-x11-2.0.so.0
#25 0x00007f8c5257be0c in gdk_window_process_updates_internal () from
/usr/lib64/libgdk-x11-2.0.so.0
#26 0x00007f8c5257e16f in gdk_window_process_updates () from
/usr/lib64/libgdk-x11-2.0.so.0
#27 0x00007f8c52133fc4 in gtk_tree_view_clamp_node_visible () from
/usr/lib64/libgtk-x11-2.0.so.0
#28 0x00007f8c5213423e in gtk_tree_view_real_set_cursor () from
/usr/lib64/libgtk-x11-2.0.so.0
#29 0x00007f8c5213470c in gtk_tree_view_set_cursor_on_cell () from
/usr/lib64/libgtk-x11-2.0.so.0
#30 0x000000000046785a in scroll_to_and_select_iter (model=0x1eb2400,
selection=0x1e9ce00, iter=0x7fffe343a230)
    at /home/dameiss/git/wireshark/ui/gtk/packet_list.c:973
#31 0x00000000004678c6 in packet_list_select_first_row () at
/home/dameiss/git/wireshark/ui/gtk/packet_list.c:990
#32 0x000000000042b31a in cf_read (cf=0x882040 <cfile>, reloading=0) at
/home/dameiss/git/wireshark/file.c:718
#33 0x000000000045834d in menu_open_filename (
    cf_name=0x1ea81a0
"/29W/Torch/t0/home/dameiss/captures/validation-suite/suite/lbtru-msrc-mrcv.pcapng")
    at /home/dameiss/git/wireshark/ui/gtk/main_menubar.c:4442
#34 0x0000000000461f42 in welcome_filename_link_press_cb (widget=0x1eab220,
event=0x1f2f900, data=""
    at /home/dameiss/git/wireshark/ui/gtk/main_welcome.c:482
#35 0x00007f8c52037e99 in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib64/libgtk-x11-2.0.so.0
#36 0x00007f8c53198380 in g_closure_invoke () from
/usr/lib64/libgobject-2.0.so.0
#37 0x00007f8c531aa4a0 in signal_emit_unlocked_R () from
/usr/lib64/libgobject-2.0.so.0
#38 0x00007f8c531b1ebf in g_signal_emit_valist () from
/usr/lib64/libgobject-2.0.so.0
#39 0x00007f8c531b24a2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#40 0x00007f8c52150cde in gtk_widget_event_internal () from
/usr/lib64/libgtk-x11-2.0.so.0
#41 0x00007f8c52036204 in gtk_propagate_event () from
/usr/lib64/libgtk-x11-2.0.so.0
#42 0x00007f8c5203656b in gtk_main_do_event () from
/usr/lib64/libgtk-x11-2.0.so.0
#43 0x00007f8c525997fc in gdk_event_dispatch () from
/usr/lib64/libgdk-x11-2.0.so.0
#44 0x00007f8c53424664 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#45 0x00007f8c53424898 in g_main_context_iterate.isra.23 () from
/usr/lib64/libglib-2.0.so.0
#46 0x00007f8c53424bb2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f8c52035567 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#48 0x000000000044fa62 in main (argc=0, argv=0x7fffe343b0f0) at
/home/dameiss/git/wireshark/ui/gtk/main.c:3221

(gdb) frame 4
#4  0x00007f8c4beb5290 in pcapng_read_block (wth=0xd1f7f0, fh=0xe3fc20,
first_block=0, pn=0x1eac980, wblock=0x7fffe3438e80, 
    err=0x7fffe3438fa4, err_info=0x7fffe3438f98) at
/home/dameiss/git/wireshark/wiretap/pcapng.c:2106
2106                bytes_read = pcapng_read_unknown_block(fh, &bh, pn, wblock,
err, err_info);
(gdb) print bh
$1 = {block_type = 179834782, block_total_length = 4521992}
(gdb) print/x bh.block_type
$2 = 0xab80f9e


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