[Webkit-unassigned] [Bug 67582] Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 16 08:25:52 PST 2012


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





--- Comment #9 from David Levin <levin at chromium.org>  2012-02-16 08:25:51 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > > in that it just calls synchronousIconForPageURL and creates a platform-specific representation of the raw image (in ewk's case, a cairo_surface_t). We can't hold the m_urlAndIconLock mutex ourselves, and the rest of the call stack is inside WebCore.
> > > > 
> > > > Can you elaborate a little on your thoughts?
> > > 
> > > Your comments point in the right direction. Remove the call to IconDatabase ::synchronousIconForPageURL and add a new method to converts to your platform specific representation while holding the lock. Then call this method instead.
> > > 
> > > Does that make sense to you? (The current state of things appears to leave you open to race conditions which make cause misc crashes at random points in your code.)
> > > 
> > > PS imo, this method seems flawed and perhaps we should just remove it in every platform, but for this bug ewk is the target :). I suspect the OS X platform may have similar issues because it calls webGetNSImage which does some complicated things. I'll look at this for other platforms and file some bugs.
> > 
> > I ever checked QT port, and found it may have same issue, so it is not specific to ewk. :)
> 
> And I also hit this bug in Gtk port when implementing some unit tests for our icon database client

It indicates that there is likely a problem in the code (maybe for multiple platforms), and it needs a volunteer to fix it.

-- 
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