[Webkit-unassigned] [Bug 83565] Crash when reloading page while it is loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 16:30:20 PDT 2012


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





--- Comment #9 from Brady Eidson <beidson at apple.com>  2012-04-10 16:30:20 PST ---
(In reply to comment #8)
> The crash occurs with Qt 4.8.1 which has QtWebKit 2.2.0. Compiler is MinGW GCC 4.4.0. It was reproduced using the code and steps linked by the URL.

I went to http://stackoverflow.com/questions/10072774/qtwebkit-2-2-segfaults-when-loading-specific-website

I saw a link to a URL (http://www.mayaposch.com/index.php) but no further instructions.

You mention in this bug report "reload a page while it is loading", but those instructions don't exist at the stackoverflow.com URL.

I can observe that this does not reproduce in Safari with a ToT WebKit build or in Chrome.  This is likely Qt port specific.

> ResourceLoader::didFinishLoading is calling releaseResources() which nulls m_documentLoader and sets m_reachedTerminalState to true. ResourceLoader::didCancel is called afterwards on the same resource loader which results in the crash.

Why do the other ports not crash here, then?

This change - while seemingly small and obvious on the surface - is in some of the most complicated code in the project whose edge cases are notoriously poorly tested.

At the minimum we should try to understand why Qt is hitting this but other platforms aren't.  We should also strive to have a reduced test case that remonstrates the crash which will go far towards making an automated regression test.

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