Home page logo
/

wireshark logo Wireshark mailing list archives

Re: GTK warnings with 1.10.0
From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Sat, 8 Jun 2013 23:02:53 +0200

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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]