Wireshark-bugs: [Wireshark-bugs] [Bug 6481] New: segmentation fault when refiltering packets
Date: Mon, 24 Oct 2011 09:57:56 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6481

           Summary: segmentation fault when refiltering packets
           Product: Wireshark
           Version: 1.6.2
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: lorenzo.pistone@xxxxxxxxxxxxxxxxx


Build Information:
Compiled (64-bit) with GTK+ 2.24.6, with GLib 2.30.0, with libpcap 1.1.1, with
libz 1.2.3.4, with POSIX capabilities (Linux), without libpcre, with SMI 0.4.8,
with c-ares 1.7.4, with Lua 5.1, without Python, with GnuTLS 2.10.5, with
Gcrypt
1.5.0, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Jul 27
2011 11:52:20), without AirPcap.

Running on Linux 3.0.0-13-generic, with libpcap version 1.1.1, with libz
1.2.3.4, GnuTLS 2.10.5, Gcrypt 1.5.0.

Built using gcc 4.6.1.




config flags--enable-threads --enable-setuid-install
--
It happens pretty often in my installation.

Here's the backtrace. I can provide the core dump if you need.

(gdb) bt
#0  0x00007ffff3d3254e in gtk_label_new () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#1  0x0000000000459054 in add_byte_tab (byte_nb=0x18f3e90,
name=0x20206e6f6974706f <Address 0x20206e6f6974706f out of bounds>, 
    tvb=0x2020202020202020, tree=0x7fffe3841000, tree_view=0x19583e0) at
main_proto_draw.c:691
#2  0x000000000045abfa in add_byte_views (edt=0x1b68430, tree_view=0x19583e0,
byte_nb_ptr=0x18f3e90) at main_proto_draw.c:760
#3  0x000000000045201c in main_cf_cb_packet_selected (data=0x7cd100) at
main.c:1658
#4  main_cf_callback (event=<optimized out>, data=0x7cd100,
user_data=<optimized out>) at main.c:1717
#5  0x000000000043a80f in cf_callback_invoke (event=4, data=0x7cd100) at
file.c:166
#6  0x0000000000461c43 in new_packet_list_select_cb (tree_view=<optimized out>,
data=<optimized out>) at new_packet_list.c:1241
#7  0x00007ffff32ac0a4 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff32be02a in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff32c76b1 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff32c7852 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff3e3e8a5 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff3e3ee8c in gtk_tree_view_set_cursor_on_cell () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x000000000046147c in scroll_to_and_select_iter (model=<optimized out>,
selection=0x192cb80, iter=0x7fffffffcdd0) at new_packet_list.c:1041
#14 0x000000000046288d in new_packet_list_select_row_from_data
(fdata_needle=0x1f301b0) at new_packet_list.c:1163
#15 0x000000000043e2d8 in rescan_packets (cf=0x7cd100, action=0x510847
"Filtering", 
    action_item=0x1d954a0 "wlan.bssid==00:24:B2:66:32:10 && llc && tcp",
redissect=0, refilter=1) at file.c:1881
#16 0x000000000043e621 in cf_filter_packets (cf=0x7cd100, dftext=0x1d954a0
"wlan.bssid==00:24:B2:66:32:10 && llc && tcp", force=<optimized out>)
    at file.c:1496
#17 0x0000000000452dd0 in main_filter_packets (cf=0x7cd100, dftext=<optimized
out>, force=0) at main_filter_toolbar.c:385
#18 0x00007ffff32ac0a4 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff32be02a in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff32c6cc0 in g_signal_emitv () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff3c8b89a in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00007ffff3c8bdf8 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#23 0x00007ffff3c8c052 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007ffff3c8cfaa in gtk_bindings_activate_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007ffff3cd4495 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff3d40828 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff32abffa in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff32bde5f in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff32c7483 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff32c7852 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff3e5adc1 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff3e7062b in gtk_window_propagate_key_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00007ffff3e7312b in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff3d40828 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#35 0x00007ffff32ac0a4 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#36 0x00007ffff32bde5f in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007ffff32c7483 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007ffff32c7852 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff3e5adc1 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#40 0x00007ffff3d3eaf7 in gtk_propagate_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#41 0x00007ffff3d3ed83 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#42 0x00007ffff39b309c in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#43 0x00007ffff2feba5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ffff2fec258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ffff2fec792 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff3d3ddb7 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#47 0x000000000042c617 in main (argc=0, argv=0x7fffffffe190) at main.c:2986

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