Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] WebKit under debug crashes on Windows #942

Closed
pavelfeldman opened this issue Feb 12, 2020 · 2 comments
Closed

[BUG] WebKit under debug crashes on Windows #942

pavelfeldman opened this issue Feb 12, 2020 · 2 comments

Comments

@pavelfeldman
Copy link
Member

WTF!WTFCrash+0x1f
JavaScriptCore!WTFCrashWithInfo+0x31
JavaScriptCore!Inspector::InspectorTarget::setResumeCallback+0x83
WebKit2!WebKit::WebPageInspectorController::setContinueLoadingCallback+0xea
WebKit2!WebKit::WebPageProxy::decidePolicyForNavigationActionAsync+0x21c
WebKit2!IPC::callMemberFunctionImpl<WebKit::WebPageProxy,void (__cdecl WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<enum WebCore::FrameIdentifierType>,WebCore::SecurityOriginData &&,WebCore::PolicyCheckIdentifier,unsigned __int64,WebKit::NavigationActionData &&,WebKit::FrameInfoData &&,WTF::Optional<WTF::ObjectIdentifier<enum WebKit::WebPageProxyIdentifierType> >,WebCore::ResourceRequest const &,WebCore::ResourceRequest &&,IPC::FormDataReference &&,WebCore::ResourceResponse &&,WebKit::UserData const &,unsigned __int64),std::tuple<WTF::ObjectIdentifier<enum WebCore::FrameIdentifierType>,WebCore::SecurityOriginData,WebCore::PolicyCheckIdentifier,unsigned __int64,WebKit::NavigationActionData,WebKit::FrameInfoData,WTF::Optional<WTF::ObjectIdentifier<enum WebKit::WebPageProxyIdentifierType> >,WebCore::ResourceRequest,WebCore::ResourceRequest,IPC::FormDataReference,WebCore::ResourceResponse,WebKit::UserData,unsigned __int64>,0,1,2,3,4,5,6,7,8,9,10,11,12>+0x501
WebKit2!IPC::callMemberFunction<WebKit::WebPageProxy,void (__cdecl WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<enum WebCore::FrameIdentifierType>,WebCore::SecurityOriginData &&,WebCore::PolicyCheckIdentifier,unsigned __int64,WebKit::NavigationActionData &&,WebKit::FrameInfoData &&,WTF::Optional<WTF::ObjectIdentifier<enum WebKit::WebPageProxyIdentifierType> >,WebCore::ResourceRequest const &,WebCore::ResourceRequest &&,IPC::FormDataReference &&,WebCore::ResourceResponse &&,WebKit::UserData const &,unsigned __int64),std::tuple<WTF::ObjectIdentifier<enum WebCore::FrameIdentifierType>,WebCore::SecurityOriginData,WebCore::PolicyCheckIdentifier,unsigned __int64,WebKit::NavigationActionData,WebKit::FrameInfoData,WTF::Optional<WTF::ObjectIdentifier<enum WebKit::WebPageProxyIdentifierType> >,WebCore::ResourceRequest,WebCore::ResourceRequest,IPC::FormDataReference,WebCore::ResourceResponse,WebKit::UserData,unsigned __int64>,std::integer_sequence<unsigned __int64,0,1,2,3,4,5,6,7,8,9,10,11,12> >+0x92
WebKit2!IPC::handleMessage<Messages::WebPageProxy::DecidePolicyForNavigationActionAsync,WebKit::WebPageProxy,void (__cdecl WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<enum WebCore::FrameIdentifierType>,WebCore::SecurityOriginData &&,WebCore::PolicyCheckIdentifier,unsigned __int64,WebKit::NavigationActionData &&,WebKit::FrameInfoData &&,WTF::Optional<WTF::ObjectIdentifier<enum WebKit::WebPageProxyIdentifierType> >,WebCore::ResourceRequest const &,WebCore::ResourceRequest &&,IPC::FormDataReference &&,WebCore::ResourceResponse &&,WebKit::UserData const &,unsigned __int64)>+0x150
WebKit2!WebKit::WebPageProxy::didReceiveMessage+0x18af
WebKit2!IPC::MessageReceiverMap::dispatchMessage+0x199
WebKit2!WebKit::AuxiliaryProcessProxy::dispatchMessage+0x4a
WebKit2!WebKit::WebProcessProxy::didReceiveMessage+0x56
WebKit2!IPC::Connection::dispatchMessage+0x261
WebKit2!IPC::Connection::dispatchMessage+0x393
WebKit2!IPC::Connection::dispatchIncomingMessages+0x284
@pavelfeldman
Copy link
Member Author

ExceptionAddress: 00007ff84dc91f9f (WTF!WTFCrash+0x000000000000001f)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 00000000bbadbeef
Attempt to write to address 00000000bbadbeef

PROCESS_NAME:  MiniBrowser.exe

WRITE_ADDRESS:  00000000bbadbeef 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  00000000bbadbeef

aslushnikov added a commit to aslushnikov/playwright that referenced this issue Feb 12, 2020
In case of multiple navigations in a paused state, it's valid
to update resume callback.

Review URL: aslushnikov/WebKit@4a43a1c

References microsoft#942
aslushnikov added a commit to aslushnikov/playwright that referenced this issue Feb 12, 2020
aslushnikov added a commit that referenced this issue Feb 12, 2020
@aslushnikov
Copy link
Collaborator

This was an assert; assert has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants