Re: Issue with Glib 1.260 in Windows 7



On 6/14/2012 at  1:41 PM, "Martin Schlemmer" <Martin Schlemmer nwu ac za>
wrote:
On 2012/06/07 at 08:56 PM, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
On 01.06.2012 12:46, Bakkiaraj Murugesan wrote:
After I upgraded to latest Glib 1.260, My Gtk2 perl application reports
following error in a dialog box when I quit the application,

Interesting.  Might be related to the refcounting change 
<http://git.gnome.org/browse/perl-Glib/commit/?id=1361e9d22763ef008b6f3bcd82ff 

eb53c80120c5>. 
  Can you try to produce a minimal example program that exhibits the 
problem?  And can you try to get a backtrace for the crash?

At least here with gtk+-2.24.10, glib-2.28.8 and latest stable release of 
everything that do not need glib-2.30+, I have tested with various projects 
and it seems fine, so not sure if the problem might lie with his Gtk2 stack 
...


Might have spoken too soon, or different issue. I get the following backtrace only with 1.260 and not 1.240.
To reproduce I simply used the latest Git versions of Glib::Soup and Gtk2::WebKit, and did:

----------------------------
    $view = Gtk2::WebKit::WebView->new;
    $session = Gtk2::WebKit->get_default_session;
----------------------------

and on exit got:

----------------------------
Program received signal SIGSEGV, Segmentation fault.
_gperl_remove_mg (sv=0x2a033dc) at GObject.xs:155
155             if (SvTYPE (sv) < SVt_PVMG || !SvMAGIC (sv))
(gdb) bt full
#0  _gperl_remove_mg (sv=0x2a033dc) at GObject.xs:155
No locals.
#1  0x6fb8e2b9 in gobject_destroy_wrapper (obj=0x2a033dc) at GObject.xs:797
No locals.
#2  0x685d5f0f in g_datalist_clear_i (datalist=0x218b550) at gdataset.c:215
        prev = 0x2181b50
        list = 0x0
#3  0x685d5fe6 in g_datalist_clear (datalist=0x218b550) at gdataset.c:240
        __PRETTY_FUNCTION__ = "g_datalist_clear"
#4  0x63a48ad1 in g_object_finalize (object=0x218b548) at gobject.c:902
No locals.
#5  0x031cc9d4 in finalize (object=0x218b548) at soup-session.c:246
        session = 0x218b548
        priv = 0x218b558
#6  0x031d0531 in finalize (object=0x218b548) at soup-session-async.c:66
        priv = 0x218b5a8
#7  0x63a4c863 in g_object_unref (_object=0x218b548) at gobject.c:2734
        object = 0x218b548
        old_ref = 1
        __PRETTY_FUNCTION__ = "g_object_unref"
#8  0x66b943f0 in webkit_get_default_session () from C:\opt\mingw-gtk2\bin\libwebkitgtk-1.0-0.dll
No symbol table info available.
#9  0x0218b548 in ?? ()
No symbol table info available.
#10 0x66b8109c in ?? () from C:\opt\mingw-gtk2\bin\libwebkitgtk-1.0-0.dll
No symbol table info available.
#11 0x770c9950 in ntdll!RtlpNtMakeTemporaryKey () from C:\Windows\system32\ntdll.dll
No symbol table info available.
#12 0x66b80000 in ?? ()
No symbol table info available.
#13 0x770dd6b2 in ntdll!LdrVerifyImageMatchesChecksum () from C:\Windows\system32\ntdll.dll
No symbol table info available.
#14 0x66b81058 in ?? () from C:\opt\mingw-gtk2\bin\libwebkitgtk-1.0-0.dll
No symbol table info available.
#15 0x770dd554 in ntdll!TpSetPoolStackInformation () from C:\Windows\system32\ntdll.dll
No symbol table info available.
#16 0x003426a0 in ?? ()
No symbol table info available.
#17 0x761a79f5 in KERNEL32!BasepFreeActivationContextActivationBlock () from C:\Windows\syswow64\kernel32.dll
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.
(gdb) 
----------------------------

Let me know if further debugging is needed, or feel free to send patches to try.


Regards,
Martin



Vrywaringsklousule / Disclaimer:  http://www.nwu.ac.za/it/gov-man/disclaimer.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]