Hi,
On Fri, Jun 07, 2013 at 09:44:22AM +0200, Stig Bj?rlykke wrote:
> I'm getting this GTK warnings when setting a capture filter (Edit
> Interface Settings) on a device from the welcome page:
>
> (wireshark:30153): GLib-GObject-CRITICAL **: gpointer
> g_object_get_data(GObject *, const gchar *): assertion `G_IS_OBJECT
> (object)' failed
> [...]
it's easy to catch a problem with breakpoints on g_log && g_logv:
Breakpoint 1, 0x00007faefa9126a0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) bt
#0 0x00007faefa9126a0 in g_log () from /usr/lib64/libglib-2.0.so.0
#1 0x00007faefb212e92 in g_object_get_data () from /usr/lib64/libgobject-2.0.so.0
#2 0x0000000000521f77 in update_properties_all () at capture_dlg.c:4415
#3 0x0000000000521314 in save_options_cb (win=0x1a9c0e0, user_data=0x0) at capture_dlg.c:2535
#4 0x00007faefb20972d in ?? () from /usr/lib64/libgobject-2.0.so.0
#5 0x00007faefb2224f3 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#6 0x00007faefb223012 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
[,,,]
#3 0x0000000000521f77 in update_properties_all () at capture_dlg.c:4415
4415 promisc_b = (GtkWidget *)g_object_get_data(G_OBJECT(cap_open_w), E_CAP_PROMISC_KEY_ALL);
(gdb) print cap_open_w
$1 = (GtkWidget *) 0x0
capture_prep_cb() seems to be not called, and cap_open_w is NULL.
I'm not into this, so I won't propose any fix, anyone?
Cheers,
Kuba.