[Webkit-unassigned] [Bug 39670] [Qt] WebView::setUrl crashes after Qt4.7

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 29 17:09:35 PDT 2010


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


Jan Erik Hanssen <jhanssen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhanssen at gmail.com




--- Comment #2 from Jan Erik Hanssen <jhanssen at gmail.com>  2010-10-29 17:09:35 PST ---
What seems to happen here is that when DocumentWriter::begin() is called while a load is in progress, setDocument(0) will be called which in turn causes the current document to be destroyed. However, the Document destructor destroys its CachedResourceLoader instance which will cancel all pending loads, but Loader::Host::didFail() tries to ref the Document that's being destroyed. This is what seems to cause the crash.

The proposed patch solves this by cancelling all requests before Document is being destroyed.

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