Bug 89611 - [Lion WK2] fast/loader/reload-zero-byte-plugin.html hits assert
Summary: [Lion WK2] fast/loader/reload-zero-byte-plugin.html hits assert
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords: InRadar, MakingBotsRed
Depends on:
Blocks:
 
Reported: 2012-06-20 16:19 PDT by Jon Lee
Modified: 2012-06-25 17:43 PDT (History)
2 users (show)

See Also:


Attachments
Patch (3.20 KB, patch)
2012-06-25 16:38 PDT, Anders Carlsson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Lee 2012-06-20 16:19:22 PDT
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000074

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit2             	0x000000010c036d89 WebKit::NetscapePluginStream::stop(short) + 23 (NetscapePluginStream.cpp:287)
1   com.apple.WebKit2             	0x000000010c0e4187 WebKit::WebProcessConnection::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 125 (WebProcessConnection.cpp:173)
2   com.apple.WebKit2             	0x000000010c00d99f CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 175 (ArgumentDecoder.h:47)
3   com.apple.WebKit2             	0x000000010c00ee71 CoreIPC::Connection::dispatchOneMessage() + 139 (Connection.cpp:717)
4   com.apple.WebCore             	0x000000010d32347a WebCore::RunLoop::performWork() + 106 (RunLoop.cpp:66)
5   com.apple.WebCore             	0x000000010d323975 WebCore::RunLoop::performWork(void*) + 53 (RunLoopCF.cpp:67)
6   com.apple.CoreFoundation      	0x00007fff9a5536e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
7   com.apple.CoreFoundation      	0x00007fff9a552f4d __CFRunLoopDoSources0 + 253
8   com.apple.CoreFoundation      	0x00007fff9a579d39 __CFRunLoopRun + 905
9   com.apple.CoreFoundation      	0x00007fff9a579676 CFRunLoopRunSpecific + 230
10  com.apple.HIToolbox           	0x00007fff9a21831f RunCurrentEventLoopInMode + 277
11  com.apple.HIToolbox           	0x00007fff9a21f5c9 ReceiveNextEventCommon + 355
12  com.apple.HIToolbox           	0x00007fff9a21f456 BlockUntilNextEventMatchingListInMode + 62
13  com.apple.AppKit              	0x00007fff93fcaf5d _DPSNextEvent + 659
14  com.apple.AppKit              	0x00007fff93fca861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
15  com.apple.AppKit              	0x00007fff93fc719d -[NSApplication run] + 470
16  com.apple.WebCore             	0x000000010d323e13 WebCore::RunLoop::run() + 67 (RunLoopMac.mm:36)
17  com.apple.WebKit2             	0x000000010c04e883 WebKit::PluginProcessMain(WebKit::CommandLine const&) + 808 (PluginProcessMainMac.mm:127)
18  com.apple.WebKit2             	0x000000010c099458 WebKitMain + 296 (WebKitMain.cpp:53)
19  com.apple.WebKit.PluginProcess	0x000000010bec0e5f main + 219
20  com.apple.WebKit.PluginProcess	0x000000010bec0d7c start + 52
Comment 1 Radar WebKit Bug Importer 2012-06-20 16:19:51 PDT
<rdar://problem/11714023>
Comment 2 Jon Lee 2012-06-25 14:38:45 PDT
The debug trace is a little different, and points to where the error occurs:


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit2             	0x0000000101aa740e WebKit::NetscapePlugin::manualStreamDidFinishLoading() + 254 (NetscapePlugin.cpp:822)
1   com.apple.WebKit2             	0x0000000101af5dcc WebKit::PluginControllerProxy::manualStreamDidFinishLoading() + 76 (PluginControllerProxy.cpp:454)
2   com.apple.WebKit2             	0x0000000101afca83 void CoreIPC::callMemberFunction<WebKit::PluginControllerProxy, void (WebKit::PluginControllerProxy::*)()>(CoreIPC::Arguments0 const&, WebKit::PluginControllerProxy*, void (WebKit::PluginControllerProxy::*)()) + 131 (HandleMessage.h:14)
3   com.apple.WebKit2             	0x0000000101afaa06 void CoreIPC::handleMessage<Messages::PluginControllerProxy::ManualStreamDidFinishLoading, WebKit::PluginControllerProxy, void (WebKit::PluginControllerProxy::*)()>(CoreIPC::ArgumentDecoder*, WebKit::PluginControllerProxy*, void (WebKit::PluginControllerProxy::*)()) + 102 (HandleMessage.h:303)
4   com.apple.WebKit2             	0x0000000101af9c0e WebKit::PluginControllerProxy::didReceivePluginControllerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 670 (PluginControllerProxyMessageReceiver.cpp:109)
5   com.apple.WebKit2             	0x0000000101cd2788 WebKit::WebProcessConnection::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 264 (WebProcessConnection.cpp:173)
6   com.apple.WebKit2             	0x0000000101a2cdbc CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 348 (Connection.cpp:691)
7   com.apple.WebKit2             	0x0000000101a2f50b CoreIPC::Connection::dispatchOneMessage() + 203 (Connection.cpp:718)
8   com.apple.WebKit2             	0x0000000101a35ff2 WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator()(CoreIPC::Connection*) + 114 (Functional.h:173)
9   com.apple.WebKit2             	0x0000000101a35f75 WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void ()(CoreIPC::Connection*)>::operator()() + 53 (Functional.h:405)
10  com.apple.WebCore             	0x00000001049c73c5 WTF::Function<void ()()>::operator()() const + 133 (Functional.h:613)
11  com.apple.WebCore             	0x00000001049c7166 WebCore::RunLoop::performWork() + 198 (RunLoop.cpp:76)
12  com.apple.WebCore             	0x00000001049c84fe WebCore::RunLoop::performWork(void*) + 62 (RunLoopCF.cpp:66)
Comment 3 Jon Lee 2012-06-25 14:39:10 PDT
The test that appears to be failing is fast/loader/reload-zero-byte-plugin.html.

The easiest way to see this is to run:

run-webkit-tests --verbose -2 --debug --no-retry-failures fast/loader/reload-zero-byte-plugin.html
Comment 4 Jon Lee 2012-06-25 15:25:30 PDT
Test has been skipped on wk2 bots via http://trac.webkit.org/changeset/121188
Comment 5 Anders Carlsson 2012-06-25 16:38:08 PDT
Created attachment 149390 [details]
Patch
Comment 6 Anders Carlsson 2012-06-25 17:43:55 PDT
Committed r121203: <http://trac.webkit.org/changeset/121203>