[Webkit-unassigned] [Bug 9920] Assertion failure: !m_policyListener in WebFrameLoaderClient::setUpPolicyListener when re-sending form data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 22 12:25:29 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=9920


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Intermittent assertion      |Assertion failure:
                   |failure:                    |!m_policyListener in
                   |!reachedTerminalState in -  |WebFrameLoaderClient::setUpP
                   |[WebLoader cancelWithError:]|olicyListener when re-
                   |                            |sending form data
         Resolution|                            |INVALID
           Keywords|                            |NeedsRadar
             Status|NEW                         |RESOLVED




------- Comment #1 from ap at webkit.org  2006-12-22 12:25 PDT -------
Even after all the refactoring, this bug still reproduces, although with a
different assertion:

ASSERTION FAILED: !m_policyListener
(/Users/ap/WebKit/WebKit/WebCoreSupport/WebFrameLoaderClient.mm:1151
setUpPolicyListener)

Thread 0 Crashed:
0   com.apple.WebKit            0x003d806c
WebFrameLoaderClient::setUpPolicyListener(void
(WebCore::FrameLoader::*)(WebCore::PolicyAction)) + 120
(WebFrameLoaderClient.mm:1151)
1   com.apple.WebKit            0x003d84bc
WebFrameLoaderClient::dispatchDecidePolicyForMIMEType(void
(WebCore::FrameLoader::*)(WebCore::PolicyAction), WebCore::String const&,
WebCore::ResourceRequest const&) + 200 (WebFrameLoaderClient.mm:670)
2   com.apple.WebCore           0x0149094c
WebCore::FrameLoader::checkContentPolicy(WebCore::String const&, void
(*)(void*, WebCore::PolicyAction), void*) + 176 (FrameLoaderMac.mm:626)
3   com.apple.WebCore           0x01497494
WebCore::MainResourceLoader::didReceiveResponse(NSURLResponse*) + 784
(MainResourceLoaderMac.mm:299)
4   com.apple.WebCore           0x01493918
WebCore::ResourceLoader::didReceiveResponse(WebCore::ResourceHandle*,
WebCore::ResourceResponse const&) + 80 (ResourceLoaderMac.mm:437)
5   com.apple.WebCore           0x014a8a2c -[WebCoreResourceHandleAsDelegate
connection:didReceiveResponse:] + 164 (ResourceHandleMac.mm:268)
6   com.apple.Foundation        0x9298da2c
-[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 416
7   com.apple.Foundation        0x9298d810 _sendCallbacks + 156


Steps to reproduce:
1. Open http://www.verticaladventures.org/trainingmanuals.cfm
2. Enter something for the code, press Enter.
3. Dismiss an alert that appears.
4. Reload the page, click Cancel when asked about re-sending form data.
4. Reload the page again, click Resend this time.

Results: the same sheet asking about re-sending form data appears again; then
WebKit crashes with an assertion.

Adding a NeedsRadar keyword, because the behavior is closely tied to Safari.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list