Wireshark-bugs: [Wireshark-bugs] [Bug 4498] New: wireshark crashes after repeated "apply-filter/
Date: Mon, 15 Feb 2010 03:24:35 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4498

           Summary: wireshark crashes after repeated "apply-filter/select"
           Product: Wireshark
           Version: 1.3.x (Experimental)
          Platform: x86
        OS/Version: SuSE
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: gkrames@xxxxxxx


Build Information:
wireshark 1.3.1 (SVN Rev 30746 from /trunk)

Copyright 1998-2009 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 with GTK+ 2.14.4, with GLib 2.18.2, with libpcap 1.0.0, with libz
1.2.3, without POSIX capabilities, without libpcre, with SMI 0.4.8, without
c-ares, without ADNS, without Lua, without Python, without GnuTLS, without
Gcrypt, with MIT Kerberos, without GeoIP, without PortAudio, without AirPcap,
with new_packet_list.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.

Running on Linux 2.6.27.29-0.1-pae, with libpcap version 1.0.0.

Built using gcc 4.3.2 [gcc-4_3-branch revision 141291].

--
wireshark crashes with SEGV when applying filter using context menu multiple
times.
Steps:
1. open pcap file
2. select packet
3. over ip.src or ip.dst, right-mouse "Apply Filter/Selected"
4. repeat step 3 a few times for different packets.

Stack trace:
------------
Core was generated by `/opt/wireshark_1_3_1/bin/wireshark'.
Program terminated with signal 11, Segmentation fault.
#0  0x080a4af6 in packet_list_get_value (tree_model=0x8b8d000, iter=0xbfccb58c,
column=6, value=0xbfccb4f8) at packet_list_store.c:372
372     packet_list_store.c: No such file or directory.
        in packet_list_store.c
(gdb) where
#0  0x080a4af6 in packet_list_get_value (tree_model=0x8b8d000, iter=0xbfccb58c,
column=6, value=0xbfccb4f8) at packet_list_store.c:372
#1  0xb5fb3da5 in gtk_tree_model_get_value () from /usr/lib/libgtk-x11-2.0.so.0
#2  0xb5fb484c in gtk_tree_model_get_valist () from
/usr/lib/libgtk-x11-2.0.so.0
#3  0xb5fb4a97 in gtk_tree_model_get () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x080a16ca in new_packet_list_get_record (model=0x8b8d000, iter=0xbfccb58c)
at new_packet_list.c:244
#5  0x080a1b3b in new_packet_list_get_row_data (row=267) at
new_packet_list.c:656
#6  0x080930e0 in get_filter_from_packet_list_row_and_column (data=<value
optimized out>) at main.c:511
#7  0x080935ba in match_selected_plist_cb (w=0x82276a0, data=0x8abc1a8,
action=256) at main.c:549
#8  0xb604c23e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb5c5f474 in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#10 0xb5c51d8b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0xb5c6812d in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0xb5c6983c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0xb5c69cb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0xb5ffa1c7 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb5eecc00 in gtk_menu_shell_activate_item () from
/usr/lib/libgtk-x11-2.0.so.0
#16 0xb5eee7dd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb5ee514b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb5edec56 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb5c504d9 in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0xb5c51d8b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0xb5c67dd5 in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0xb5c696bb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#23 0xb5c69cb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0xb5ff40ae in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb5ed776c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb5ed8b17 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb5d626ca in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#28 0xb5bbc9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb5bc0063 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb5bc0582 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0xb5ed8fc9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x08092211 in main (argc=Cannot access memory at address 0x0
) at main.c:2746

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