[maverick] ERROR:capture.c:177:capture_start: assertion failed: (capture_opts->state == CAPTURE_STOPPED)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wireshark |
Fix Released
|
High
|
|||
wireshark (Ubuntu) |
Fix Released
|
Medium
|
Daniel T Chen | ||
Bug Description
Binary package hint: wireshark
On Maverick, x86-64 in a root shell (from sudo -s)
run wireshark
Click on an interface (eth0, virbr0 or the meta device for everything)
it hangs for a few seconds and then asserts with:
ERROR:capture.
backtrace:
(gdb) r
Starting program: /usr/bin/wireshark
[Thread debugging using libthread_db enabled]
**
ERROR:capture.
Program received signal SIGABRT, Aborted.
0x00007fffefff4b85 in *__GI_raise (sig=<value optimised out>)
at ../nptl/
64 ../nptl/
in ../nptl/
(gdb) where
#0 0x00007fffefff4b85 in *__GI_raise (sig=<value optimised out>)
at ../nptl/
#1 0x00007fffefff86d0 in *__GI_abort () at abort.c:92
#2 0x00007ffff1d02c34 in g_assertion_message () from /lib/libglib-
#3 0x00007ffff1d031d0 in g_assertion_
from /lib/libglib-
#4 0x00007ffff7ecbe91 in capture_start (capture_
at capture.c:177
#5 0x00007ffff7f58222 in capture_
#6 0x00007ffff7ef75c0 in welcome_if_press_cb (widget=<value optimised out>,
event=<value optimised out>, data=0x7ffff90f
#7 0x00007ffff413df23 in ?? () from /usr/lib/
#8 0x00007ffff259c5e9 in g_closure_invoke () from /usr/lib/
#9 0x00007ffff25b3da9 in ?? () from /usr/lib/
#10 0x00007ffff25b536c in g_signal_
from /usr/lib/
#11 0x00007ffff25b5d83 in g_signal_emit () from /usr/lib/
#12 0x00007ffff427002f in ?? () from /usr/lib/
#13 0x00007ffff4134c33 in gtk_propagate_event ()
from /usr/lib/
#14 0x00007ffff4135e0b in gtk_main_do_event ()
from /usr/lib/
#15 0x00007ffff3d87bbc in ?? () from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff1cdc522 in g_main_
#17 0x00007ffff1ce0488 in ?? () from /lib/libglib-
#18 0x00007ffff1ce063c in g_main_
from /lib/libglib-
#19 0x00007ffff4136171 in gtk_main_iteration ()
from /usr/lib/
#20 0x00007ffff7ee49d5 in main_window_update () at gui_utils.c:570
#21 0x00007ffff7ed069f in cf_callback_invoke (event=0, data=0x7ffff822
at file.c:144
#22 0x00007ffff7ed3f0e in cf_close (cf=0x7ffff822c320) at file.c:391
#23 0x00007ffff7ecbda0 in capture_start (capture_
at capture.c:175
#24 0x00007ffff7f58222 in capture_
#25 0x00007ffff7ef75c0 in welcome_if_press_cb (widget=<value optimised out>,
event=<value optimised out>, data=0x7ffff90f
#26 0x00007ffff413df23 in ?? () from /usr/lib/
#27 0x00007ffff259c5e9 in g_closure_invoke () from /usr/lib/
#28 0x00007ffff25b3da9 in ?? () from /usr/lib/
#29 0x00007ffff25b536c in g_signal_
from /usr/lib/
#30 0x00007ffff25b5d83 in g_signal_emit () from /usr/lib/
#31 0x00007ffff427002f in ?? () from /usr/lib/
#32 0x00007ffff4134c33 in gtk_propagate_event ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/
#33 0x00007ffff4135e0b in gtk_main_do_event ()
from /usr/lib/
#34 0x00007ffff3d87bbc in ?? () from /usr/lib/
#35 0x00007ffff1cdc522 in g_main_
#36 0x00007ffff1ce0488 in ?? () from /lib/libglib-
#37 0x00007ffff1ce063c in g_main_
from /lib/libglib-
#38 0x00007ffff4136171 in gtk_main_iteration ()
from /usr/lib/
#39 0x00007ffff7ee49d5 in main_window_update () at gui_utils.c:570
#40 0x00007ffff7ece4cf in sync_pipe_start (capture_
at capture_sync.c:558
#41 0x00007ffff7ecbe23 in capture_start (capture_
at capture.c:190
#42 0x00007ffff7f58222 in capture_
#43 0x00007ffff7ef75c0 in welcome_if_press_cb (widget=<value optimised out>,
event=<value optimised out>, data=0x7ffff90f
#44 0x00007ffff413df23 in ?? () from /usr/lib/
#45 0x00007ffff259c69e in g_closure_invoke () from /usr/lib/
#46 0x00007ffff25b3da9 in ?? () from /usr/lib/
#47 0x00007ffff25b536c in g_signal_
from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#48 0x00007ffff25b5d83 in g_signal_emit () from /usr/lib/
#49 0x00007ffff427002f in ?? () from /usr/lib/
#50 0x00007ffff4134c33 in gtk_propagate_event ()
from /usr/lib/
#51 0x00007ffff4135e0b in gtk_main_do_event ()
from /usr/lib/
#52 0x00007ffff3d87bbc in ?? () from /usr/lib/
#53 0x00007ffff1cdc522 in g_main_
#54 0x00007ffff1ce0488 in ?? () from /lib/libglib-
#55 0x00007ffff1ce0995 in g_main_loop_run () from /lib/libglib-
#56 0x00007ffff41362c7 in gtk_main () from /usr/lib/
#57 0x00007ffff7ee9e4f in main (argc=0, argv=0x7fffffff
(gdb) q
A debugging session is active.
Inferior 1 [process 11885] will be killed.
Quit anyway? (y or n) y
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: wireshark 1.2.9-1
ProcVersionSign
Uname: Linux 2.6.35-8-generic x86_64
Architecture: amd64
CheckboxSubmission: f2d10bd9f943a85
CheckboxSystem: 0531969bcfd4f03
Date: Fri Jul 16 00:14:04 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: wireshark
tags: | added: patch |
Changed in wireshark: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
The eventhandler is called explicitly from several places to make the gui more responsive which may cause capture_start being called recursively.
The following patch makes it work for me.