Bug 42707
| Summary: | Assertion failure in ArgumentDecoder::decodeBytes when launching MiniBrowser on Windows | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> |
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | andersca, sam |
| Priority: | P2 | Keywords: | PlatformOnly |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Adam Roben (:aroben)
To reproduce:
1. Launch MiniBrowser with a debug build of WebKit
You'll hit an assertion in ArgumentDecoder::decodeBytes:
ASSERT(size == bufferSize);
size is 0, bufferSize is 16.
Here's the backtrace:
> WebKit.dll!CoreIPC::ArgumentDecoder::decodeBytes(unsigned char * buffer=0x01d9377c, unsigned int bufferSize=16) Line 103 + 0x34 bytes C++
WebKit.dll!CoreIPC::ArgumentCoder<WebCore::String>::decode(CoreIPC::ArgumentDecoder * decoder=0x01d98978, WebCore::String & s={}) Line 61 + 0x12 bytes C++
WebKit.dll!CoreIPC::ArgumentDecoder::decode<WebCore::String>(WebCore::String & t={}) Line 58 + 0xd bytes C++
WebKit.dll!CoreIPC::Arguments1<WebCore::String &>::decode(CoreIPC::ArgumentDecoder & decoder={...}, CoreIPC::Arguments1<WebCore::String &> & result={...}) Line 71 C++
WebKit.dll!CoreIPC::ArgumentCoder<CoreIPC::Arguments1<WebCore::String &> >::decode(CoreIPC::ArgumentDecoder * decoder=0x01d98978, CoreIPC::Arguments1<WebCore::String &> & t={...}) Line 44 + 0xd bytes C++
WebKit.dll!CoreIPC::ArgumentDecoder::decode<CoreIPC::Arguments1<WebCore::String &> >(CoreIPC::Arguments1<WebCore::String &> & t={...}) Line 58 + 0xd bytes C++
WebKit.dll!CoreIPC::ArgumentDecoder::decode<CoreIPC::Arguments1<WebCore::String &> >(const CoreIPC::Arguments1<WebCore::String &> & t={...}) Line 66 C++
WebKit.dll!WebKit::WebProcess::didReceiveMessage(CoreIPC::Connection * connection=0x01d987d0, CoreIPC::MessageID messageID={...}, CoreIPC::ArgumentDecoder * arguments=0x01d98978) Line 170 + 0x1c bytes C++
WebKit.dll!CoreIPC::Connection::dispatchMessages() Line 254 + 0x2e bytes C++
WebKit.dll!MemberFunctionWorkItem0<CoreIPC::Connection>::execute() Line 71 + 0x10 bytes C++
WebKit.dll!RunLoop::performWork() Line 62 + 0x1a bytes C++
WebKit.dll!RunLoop::wndProc(HWND__ * hWnd=0x00040478, unsigned int message=1025, unsigned int wParam=31033168, long lParam=0) Line 56 C++
WebKit.dll!RunLoop::RunLoopWndProc(HWND__ * hWnd=0x00040478, unsigned int message=1025, unsigned int wParam=31033168, long lParam=0) Line 38 + 0x18 bytes C++
user32.dll!_InternalCallWinProc@20() + 0x28 bytes
user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes
user32.dll!_DispatchMessageWorker@8() + 0xdc bytes
user32.dll!_DispatchMessageW@4() + 0xf bytes
WebKit.dll!RunLoop::run() Line 72 + 0xc bytes C++
WebKit.dll!WebKit::WebProcessMain(WebKit::CommandLine * commandLine=0x0012fed0) Line 58 C++
WebKit.dll!WebKitMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpstrCmdLine=0x00021004, int nCmdShow=10) Line 96 + 0x9 bytes C++
WebKit2WebProcess.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpstrCmdLine=0x00021004, int nCmdShow=10) Line 44 + 0x18 bytes C++
WebKit2WebProcess.exe!__tmainCRTStartup() Line 589 + 0x1c bytes C
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
Fixed in r63790