Re: Issue with Glib 1.260 in Windows 7



On 15.06.2012 17:13, Martin Schlemmer wrote:
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;
----------------------------

How did you get a Gtk2::WebKit->get_default_session? The version at <https://github.com/rafl/gtk2-webkit/blob/master/xs/WebKitWebView.xs#L314> is commented out. Did you simply uncomment it?

----------------------------
Program received signal SIGSEGV, Segmentation fault.
_gperl_remove_mg (sv=0x2a033dc) at GObject.xs:155
155             if (SvTYPE (sv) < SVt_PVMG || !SvMAGIC (sv))

Looks like the SV is garbage. What does "p Perl_sv_dump(my_perl, sv)" print? The backtrace suggests that the sv is a SoupSession wrapper which gets destroyed unexpectedly (maybe because it was destroyed already).



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