[Webkit-unassigned] [Bug 177577] Crash/regression 2.18 on webkitgtk disposal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 29 01:34:03 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=177577

--- Comment #1 from Tomas Popela <tpopela at redhat.com> ---
(In reply to Leo Ufimtsev from comment #0)
> I noticed that if I do an g_object_ref(webview) somewhere near disposal,
> then the crash doesn't occur. 

Just to be sure, are you holding a reference on the web view in your Eclipse's/SWT's Browser when you create it?

> Does the above ring a bell with anyone?

What I would try is to debug the reference count of the web view (set a break point on glibc's g_object_ref()/g_object_unref() one you will know the address of the newly created web view).

> Was there a mechanism added to webkit/webkitgtk to somehow auto-cleanup
> somewhere that didn't exist before?

No, at least I'm not aware of anything..

> Btw, what's the correct way to destroy/dispose webkit/webview?

Just o_object_unref() it.

> System:
> Linux Fedora 25
> Gtk3.22
> WebkitGtk 2.18 (New from upstream/Rawhide)

Try to please use https://bodhi.fedoraproject.org/updates/FEDORA-2017-368b385c04 and don't use the rawhide.

> Please advise, thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170929/8e4a28bf/attachment-0001.html>


More information about the webkit-unassigned mailing list