Bug 46623

Summary: Opening links in a new window asserts while decoding decidePolicyForNewWindowAction.
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch aroben: review+

Sam Weinig
Reported 2010-09-27 08:13:56 PDT
Opening links in a new window asserts while decoding decidePolicyForNewWindowAction. ASSERTION FAILED: size == bufferSize (OpenSource/WebKit2/Platform/CoreIPC/ArgumentDecoder.cpp:108 bool CoreIPC::ArgumentDecoder::decodeBytes(uint8_t*, size_t)) Backtrace: #0 0x1016727b4 in CoreIPC::ArgumentDecoder::decodeBytes at ArgumentDecoder.cpp:108 #1 0x101699ea7 in CoreIPC::ArgumentCoder<WTF::String>::decode at WebCoreArgumentCoders.h:81 #2 0x1016819d9 in CoreIPC::ArgumentDecoder::decode<WTF::String> at ArgumentDecoder.h:73 #3 0x1016e994e in CoreIPC::Arguments4<unsigned long long&, unsigned int&, unsigned int&, WTF::String&>::decode at Arguments.h:187 #4 0x1016ea4cb in CoreIPC::Arguments5<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&>::decode at Arguments.h:220 #5 0x1016ea514 in CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&>::decode at Arguments.h:256 #6 0x1016ea55d in CoreIPC::ArgumentCoder<CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&> >::decode at ArgumentCoder.h:44 #7 0x1016ea57f in CoreIPC::ArgumentDecoder::decode<CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&> > at ArgumentDecoder.h:73 #8 0x1016ea5a1 in CoreIPC::ArgumentDecoder::decode<CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&> > at ArgumentDecoder.h:80 #9 0x1016defff in WebKit::WebPageProxy::didReceiveMessage at WebPageProxy.cpp:733 #10 0x1016fc9ba in WebKit::WebProcessProxy::didReceiveMessage at WebProcessProxy.cpp:355 #11 0x101678e4b in CoreIPC::Connection::dispatchMessages at Connection.cpp:278 #12 0x10167a075 in MemberFunctionWorkItem0<CoreIPC::Connection>::execute at WorkItem.h:74 #13 0x1016ad973 in RunLoop::performWork at RunLoop.cpp:62 #14 0x1016ae9b5 in RunLoop::performWork at RunLoopMac.mm:32
Attachments
Patch (1.60 KB, patch)
2010-09-27 08:16 PDT, Sam Weinig
aroben: review+
Sam Weinig
Comment 1 2010-09-27 08:14:10 PDT
Sam Weinig
Comment 2 2010-09-27 08:16:51 PDT
Sam Weinig
Comment 3 2010-09-27 08:20:32 PDT
Fixed in r68392.
Note You need to log in before you can comment on or make changes to this bug.