Wireshark-bugs: [Wireshark-bugs] [Bug 8022] New: core dumped when the file is closed

Date: Wed, 28 Nov 2012 10:37:39 +0000
Bug ID 8022
Summary core dumped when the file is closed
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86
OS All
Status NEW
Severity Major
Priority Low
Component Wireshark
Assignee [email protected]
Reporter [email protected]

Build Information:
wireshark 1.9.0 (SVN Rev 46217 from /trunk)

Copyright 1998-2012 Gerald Combs <[email protected]> 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 GTK+ 2.24.10, with Cairo 1.10.2, with Pango 1.29.4, with
GLib 2.32.3, with libpcap, with libz 1.2.3.4, with POSIX capabilities (Linux),
without libnl, with SMI 0.4.8, with c-ares 1.7.5, without Lua, without Python,
with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built Jul 20 2011 00:01:38), with AirPcap.

Running on Linux 3.1.0-1-amd64, with locale en_US.UTF-8, with libpcap version
1.1.1, with libz 1.2.3.4, GnuTLS 2.12.19, Gcrypt 1.5.0, without AirPcap.

Built using gcc 4.6.3.
--
open and then close of certain captures with sctp traffic causes (on close) a
core dump with the following trace:


(gdb) bt
#0  frame_data_cleanup (fdata=0x0) at frame_data.c:318
#1  0x00000000004393d2 in free_frame_data_sequence (fds=0x2c398f0) at
frame_data_sequence.c:271
#2  0x000000000044be07 in cf_reset_state (cf=0x8203c0) at file.c:413
#3  cf_close (cf=0x8203c0) at file.c:459
#4  cf_close (cf=0x8203c0) at file.c:452
#5  0x00000000004fc434 in do_file_close (cf=0x8203c0, from_quit=<optimized
out>, before_what=<optimized out>) at capture_file_dlg.c:1201
#6  0x00007f9234132724 in g_closure_invoke (closure=0x2d0f1e0,
return_value=0x0, n_param_values=1, param_values=0x7fff8c2b39b0,
invocation_hint=0x7fff8c2b3950) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777
#7  0x00007f92341437b0 in signal_emit_unlocked_R (node=<optimized out>,
detail=0, instance=0x2d0e3f0, emission_return=0x0,
instance_and_params=0x7fff8c2b39b0) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3547
#8  0x00007f923414b72c in g_signal_emit_valist (instance=0x2d0e3f0,
signal_id=<optimized out>, detail=0, var_args=0x7fff8c2b3bf8) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3296
#9  0x00007f923414b8c2 in g_signal_emit (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3352
#10 0x00007f9234fdc623 in _gtk_action_emit_activate (action="" at
/tmp/buildd/gtk+2.0-2.24.10/gtk/gtkaction.c:794
#11 0x00007f9234132a03 in _g_closure_invoke_va (closure=0x1bdb620,
return_value=0x0, instance=0x2d099b0, args=0x7fff8c2b3fb8, n_params=0,
param_types=0x0) at /tmp/buildd/glib2.0-2.32.3/./gobject/gclosure.c:840
#12 0x00007f923414b076 in g_signal_emit_valist (instance=0x2d099b0,
signal_id=<optimized out>, detail=0, var_args=0x7fff8c2b3fb8) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3207
#13 0x00007f923414b8c2 in g_signal_emit (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3352
#14 0x00007f92351b664e in IA__gtk_widget_activate (widget=0x2d099b0) at
/tmp/buildd/gtk+2.0-2.24.10/gtk/gtkwidget.c:5015
#15 0x00007f92350b19bd in IA__gtk_menu_shell_activate_item
(menu_shell=0x2cef880, menu_item=0x2d099b0, force_deactivate=<optimized out>)
at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmenushell.c:1256
#16 0x00007f92350b1d57 in gtk_menu_shell_button_release (widget=0x2cef880,
event=<optimized out>) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmenushell.c:683
#17 0x00007f923509e538 in _gtk_marshal_BOOLEAN__BOXED (closure=0x1af4ec0,
return_value=0x7fff8c2b42a0, n_param_values=<optimized out>,
param_values=0x7fff8c2b4350, invocation_hint=<optimized out>,
marshal_data=<optimized out>)
    at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmarshalers.c:86
#18 0x00007f9234132724 in g_closure_invoke (closure=0x1af4ec0,
return_value=0x7fff8c2b42a0, n_param_values=2, param_values=0x7fff8c2b4350,
invocation_hint=0x7fff8c2b42f0) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777
#19 0x00007f9234143530 in signal_emit_unlocked_R (node=<optimized out>,
detail=0, instance=0x2cef880, emission_return=0x7fff8c2b4420,
instance_and_params=0x7fff8c2b4350) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3585
#20 0x00007f923414b34b in g_signal_emit_valist (instance=0x2cef880,
signal_id=<optimized out>, detail=0, var_args=0x7fff8c2b45a8) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3306
#21 0x00007f923414b8c2 in g_signal_emit (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3352
#22 0x00007f92351b7451 in gtk_widget_event_internal (widget=0x2cef880,
event=0x2f5d040) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkwidget.c:4984
#23 0x00007f923509c6c3 in IA__gtk_propagate_event (widget=0x2cef880,
event=0x2f5d040) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:2489
#24 0x00007f923509ca23 in IA__gtk_main_do_event (event=0x2f5d040) at
/tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:1684
#25 0x00007f9234d081ec in gdk_event_dispatch (source=<optimized out>,
callback=<optimized out>, user_data=<optimized out>) at
/tmp/buildd/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:2377
#26 0x00007f9233c70205 in g_main_dispatch (context=0x1aee7d0) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#27 g_main_context_dispatch (context=0x1aee7d0) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#28 0x00007f9233c70538 in g_main_context_iterate (context=0x1aee7d0,
block=<optimized out>, dispatch=1, self=Unhandled dwarf _expression_ opcode 0xfa
) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#29 0x00007f9233c70932 in g_main_loop_run (loop=0x2f61c00) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#30 0x00007f923509ba77 in IA__gtk_main () at
/tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:1256
#31 0x0000000000437b66 in main (argc=0, argv=0x7fff8c2b4b00) at main.c:3205
(gdb) f 0
#0  frame_data_cleanup (fdata=0x0) at frame_data.c:318
318      if (fdata->pfd) {
(gdb) p fdata
$3 = (frame_data *) 0x0
(gdb) f 1
#1  0x00000000004393d2 in free_frame_data_sequence (fds=0x2c398f0) at
frame_data_sequence.c:271
271            frame_data_cleanup(level1[j]);
(gdb) p level1
$4 = <optimized out>
(gdb) p level1[j]
value has been optimized out


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