Wireshark-bugs: [Wireshark-bugs] [Bug 7520] New: byteview related Glib-GObject-Critical msgs dur

Date: Mon, 23 Jul 2012 12:22:43 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7520

           Summary: byteview related Glib-GObject-Critical msgs during
                    GTK2 Wireshark startup
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: Fedora
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wmeier@xxxxxxxxxxx


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

...

Compiled (32-bit) with GTK+ 2.24.11, with Cairo 1.10.2, with Pango 1.30.0, with
GLib 2.32.4, with libpcap, with libz 1.2.5, without POSIX capabilities, without
libnl, with SMI 0.4.8, with c-ares 1.7.5, with Lua 5.1, without Python, with
GnuTLS 2.12.17, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with
PortAudio
V19-devel (built Jan 15 2012 21:55:20), with AirPcap.

Running on Linux 3.4.6-2.fc17.i686.PAE, with locale en_US.UTF-8, with libpcap
version 1.2.1, with libz 1.2.5, GnuTLS 2.12.17, Gcrypt 1.5.0, without AirPcap.

Built using gcc 4.7.0 20120507 (Red Hat 4.7.0-5).

--
When starting SVN GTK2 Wireshark on my Fedora system (see below for version
info), I get two of the following messages.

(lt-wireshark:11754): GLib-GObject-CRITICAL **: g_value_get_pointer: assertion
`G_VALUE_HOLDS_POINTER (value)' failed

--------------

A little debugging shows that the messages are emitted during the call to
gtk_container_add() in add_byte_tab() (packet_panes.c)


    g_object_set_data(G_OBJECT(byte_view),E_BYTE_VIEW_TVBUFF_KEY, tvb);
>>  gtk_container_add(GTK_CONTAINER(byte_scrollw), byte_view);
    g_signal_connect(byte_view, "show",
                     G_CALLBACK(byte_view_realize_cb), NULL);

---------------

backtrace just after call to gtk_container_add() (and after messages emmitted).

#0  add_byte_tab (byte_nb=0x8d88030, name=0x81f00cd "",    tvb=0x0, tree=0x0,
       tree_view=0x0) at packet_panes.c:477

#1  0x080b097d in byte_view_new () at packet_panes.c:436

#2  0x080a4717 in create_main_window (pl_size=280, tv_size=95, bv_size=75,
       prefs_p=0x828cf20) at main.c:3792

#3  0x080a326a in main (argc=0,    argv=0xbffff148) at main.c:2987


If any further debug info is needed, please let me know

(Note: I don't see these messages when starting GTK3 Wireshark)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.