Wireshark-bugs: [Wireshark-bugs] [Bug 8460] crash while computing "io graph" for sctp/m3ua/isup

Date: Wed, 17 Apr 2013 11:44:01 +0000

Comment # 2 on bug 8460 from
it works with resolutions of 0.1s, 1s but it limits the graph to the first 100k
entries.

when I set the resolution to 10s it stalls (deadlock?) after processing 7% of
the traffic. here is how the stack trace for both threads looks like:

(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9fe1e1342f in g_cond_wait (cond=0x3eaf4a0, mutex=<optimized out>)
    at /tmp/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00000000004dd073 in check_capture_filter_syntax (data="" out>)
    at capture_dlg.c:619
#3  0x00007f9fe1df9df5 in g_thread_proxy (data=""
    at /tmp/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#4  0x00007f9fe393ab40 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#5  0x00007f9fe164536d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
(gdb) thread 0
Thread ID 0 not known.
(gdb) thread 1
[Switching to thread 1 (Thread 0x7f9fe83d8940 (LWP 23313))]
#0  0x00007f9fe163a723 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
87    ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
    in ../sysdeps/unix/sysv/linux/poll.c
(gdb) bt
#0  0x00007f9fe163a723 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9fdc192c32 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9fdc19317f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9fdc193204 in xcb_writev ()
   from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f9fdeb4cd47 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f9fdeb4d0e0 in _XFlush () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f9fdd4727c0 in XRenderCompositeTrapezoids ()
   from /usr/lib/x86_64-linux-gnu/libXrender.so.1
#7  0x00007f9fe278d4b8 in ?? () from /usr/lib/libcairo.so.2
#8  0x00007f9fe276f3b9 in ?? () from /usr/lib/libcairo.so.2
#9  0x00007f9fe27711f0 in ?? () from /usr/lib/libcairo.so.2
#10 0x00007f9fe277178a in ?? () from /usr/lib/libcairo.so.2
#11 0x00007f9fe2771c52 in ?? () from /usr/lib/libcairo.so.2
#12 0x00007f9fe2772583 in ?? () from /usr/lib/libcairo.so.2
#13 0x00007f9fe276ee31 in ?? () from /usr/lib/libcairo.so.2
#14 0x00007f9fe2748b11 in ?? () from /usr/lib/libcairo.so.2
#15 0x00007f9fe273fdd0 in cairo_stroke_preserve () from /usr/lib/libcairo.so.2
#16 0x00007f9fe273fde9 in cairo_stroke () from /usr/lib/libcairo.so.2
#17 0x0000000000496f85 in io_stat_draw (io=0xcd8aa00) at io_stat.c:1212
#18 0x00007f9fe2299724 in g_closure_invoke (closure=0x3aa80be0, 
    return_value=0x0, n_param_values=1, param_values=0x7fff9c376c30, 
    invocation_hint=0x7fff9c376bd0)
    at /tmp/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777
#19 0x00007f9fe22aa7b0 in signal_emit_unlocked_R (node=<optimized out>, 
    detail=0, instance=0x3ea00a0, emission_return=0x0, 
    instance_and_params=0x7fff9c376c30)
    at /tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3547
#20 0x00007f9fe22b272c in g_signal_emit_valist (instance=0x3ea00a0, 
    signal_id=<optimized out>, detail=0, var_args=0x7fff9c376e78)
    at /tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3296
#21 0x00007f9fe22b28c2 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 0x00007f9fe314882a in IA__gtk_adjustment_value_changed (
    adjustment=0x3ea00a0)
    at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkadjustment.c:668
#23 0x00000000004970ba in io_stat_draw (io=0xcd8aa00) at io_stat.c:1269
#24 0x00007f9fe5284f6e in draw_tap_listeners (draw_all=0) at tap.c:348
#25 0x000000000044b05b in tap_update_cb (data="" out>) at main.c:1312
#26 0x00007f9fe1dd7d9b in g_timeout_dispatch (source=0x3c11210, 
    callback=<optimized out>, user_data=<optimized out>)
    at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3882
#27 0x00007f9fe1dd7205 in g_main_dispatch (context=0x279a7d0)
    at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#28 g_main_context_dispatch (context=0x279a7d0)
    at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#29 0x00007f9fe1dd7538 in g_main_context_iterate (context=0x279a7d0, 
    block=<optimized out>, dispatch=1, self=Unhandled dwarf _expression_ opcode
0xfa
)
    at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#30 0x00007f9fe1dd75f4 in g_main_context_iteration (context=0x279a7d0, 
    may_block=1) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#31 0x00007f9fe3202c81 in IA__gtk_main_iteration ()
    at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:1344
#32 0x000000000046eb05 in update_progress_dlg (dlg=<optimized out>, 
    percentage=0.0799973682, status=0x7fff9c387400 "123864 of 1548351 packets")
    at progress_dlg.c:398
#33 0x0000000000436d9e in process_specified_packets (cf=0x823860, 
    range=0x7fff9c3874d0, string1=0x534a26 "Recalculating statistics on", 
    string2=0x586155 "all packets", callback=0x434900 <retap_packet>, 
    callback_args=0x7fff9c387540, terminate_is_stop=1) at file.c:2220
#34 0x00000000004375a7 in cf_retap_packets (cf=0x823860) at file.c:2318
#35 0x0000000000497e3a in tick_interval_select (item=0x3e6b920, 
    user_data=<optimized out>) at io_stat.c:1729
#36 0x00007f9fe2299a03 in _g_closure_invoke_va (closure=0x11d3d530, 
    return_value=0x0, instance=0x3e6b920, args=0x7fff9c387858, n_params=0, 
    param_types=0x0) at /tmp/buildd/glib2.0-2.32.3/./gobject/gclosure.c:840

if you need additional info please let me know.


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