[Webkit-unassigned] [Bug 77546] [Qt][WK2] Loading cuttherope.ie results in segfault
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 1 05:41:24 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77546
--- Comment #1 from Zalan Bujtas <zbujtas at gmail.com> 2012-02-01 05:41:24 PST ---
ShareableBitmap lacks an additional ref() when (Qt)ShareableBitmap::createImage() is called. ShareableBitmap gets destroyed early because of this missing ref.
Both Cairo and CG have this ref(), which is balanced at when the associated (shared) data is being freed. see ShareableBitmap::createCairoSurface().
Fix: QImage c'tor needs a callback function parameter, which gets called when the associated data is being freed. It enables Qt's ShareableBitmap to introduce ref()/deref() pair similar to Cairo/CG.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list