Bug 102454 - Crash at WebCore::PluginData::pluginFileForMimeType const + 38
Summary: Crash at WebCore::PluginData::pluginFileForMimeType const + 38
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 18:30 PST by Jer Noble
Modified: 2013-01-23 17:06 PST (History)
3 users (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2012-11-15 18:38 PST, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jer Noble 2012-11-15 18:30:54 PST
Crash at WebCore::PluginData::pluginFileForMimeType const + 38
Comment 1 Jer Noble 2012-11-15 18:31:32 PST
Using WebKit nightly builds 8537.16.

* BACKTRACE ('>' indicates stack frame used for CrashTracer aggregation)

>  1 com.apple.WebCore              0x102797286 WebCore::PluginData::pluginFileForMimeType(WTF::String const&) const + 0x26
   2 com.apple.WebCore              0x102a1862c WebCore::logPluginRequest(WebCore::Page*, WTF::String const&, WTF::String const&, bool) + 0x19c
   3 com.apple.WebCore              0x102a18422 WebCore::SubframeLoader::requestObject(WebCore::HTMLPlugInImageElement*, WTF::String const&, WTF::AtomicString const&, WTF::String const&, WTF::Vector<WTF::String, 0ul> const&, WTF::Vector<WTF::String, 0ul> const&) + 0x212
   4 com.apple.WebCore              0x1022a87b5 WebCore::HTMLObjectElement::updateWidget(WebCore::PluginCreationOption) + 0x2b5
   5 com.apple.WebCore              0x101f3dab9 WebCore::ContainerNode::dispatchPostAttachCallbacks() + 0x49
   6 com.apple.WebCore              0x101f3d9e0 WebCore::ContainerNode::resumePostAttachCallbacks() + 0x30
   7 com.apple.WebCore              0x10202c55b WebCore::Document::recalcStyle(WebCore::Node::StyleChange) + 0x34b
   8 com.apple.WebCore              0x102028d1c WebCore::Document::updateStyleIfNeeded() + 0x4c
   9 com.apple.WebCore              0x102034486 WebCore::Document::finishedParsing() + 0x146
  10 com.apple.WebCore              0x1022625de WebCore::HTMLDocumentParser::prepareToStopParsing() + 0x9e
  11 com.apple.WebCore              0x102263177 WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) + 0x57
  12 com.apple.WebCore              0x101efd48d WebCore::CachedResource::checkNotify() + 0x5d
  13 com.apple.WebCore              0x102a19b0f WebCore::SubresourceLoader::didFinishLoading(double) + 0x8f
  14 com.apple.Foundation           0x7fff89944f58 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 0x1c
  15 com.apple.Foundation           0x7fff89944e9c -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 0xe3
  16 com.apple.Foundation           0x7fff89944d98 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 0x3f
  17 com.apple.CFNetwork            0x7fff87b07f01 ___delegate_didFinishLoading_block_invoke_0 + 0x28
  18 com.apple.CFNetwork            0x7fff87afa3ca ___withDelegateAsync_block_invoke_0 + 0x5a
  19 com.apple.CFNetwork            0x7fff87b8a56a __block_global_1 + 0x1c
  20 com.apple.CoreFoundation       0x7fff911a4724 CFArrayApplyFunction + 0x44
  21 com.apple.CFNetwork            0x7fff87aeb554 RunloopBlockContext::perform() + 0x7c
  22 com.apple.CFNetwork            0x7fff87aeb42b MultiplexerSource::perform() + 0xdd
  23 com.apple.CoreFoundation       0x7fff91186101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 0x11
  24 com.apple.CoreFoundation       0x7fff91185a25 __CFRunLoopDoSources0 + 0xf5
  25 com.apple.CoreFoundation       0x7fff911a8dc5 __CFRunLoopRun + 0x315
  26 com.apple.CoreFoundation       0x7fff911a86b2 CFRunLoopRunSpecific + 0x122
  27 com.apple.HIToolbox            0x7fff90ea10a4 RunCurrentEventLoopInMode + 0xd1
  28 com.apple.HIToolbox            0x7fff90ea0e42 ReceiveNextEventCommon + 0x164
  29 com.apple.HIToolbox            0x7fff90ea0cd3 BlockUntilNextEventMatchingListInMode + 0x3e
  30 com.apple.AppKit               0x7fff919b0613 _DPSNextEvent + 0x2ad
  31 com.apple.AppKit               0x7fff919afed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x80
  32 com.apple.AppKit               0x7fff919a7283 -[NSApplication run] + 0x205
  33 com.apple.WebCore              0x102939033 WebCore::RunLoop::run() + 0x43
  34 com.apple.WebKit2              0x1017accce WebKit::WebProcessMain(WebKit::CommandLine const&) + 0xbe4
  35 com.apple.WebKit2              0x1017532eb WebKitMain + 0x12b
  36 com.apple.WebProcess           0x101671e7b main + 0xd6
  37 libdyld.dylib                  0x7fff8bcf77e1 start + 0x1
Comment 2 Jer Noble 2012-11-15 18:32:01 PST
Crash occurs when Safari's "Enable Plugins" setting is disabled.
Comment 3 Jer Noble 2012-11-15 18:32:07 PST
<rdar://problem/12683850>
Comment 4 Jer Noble 2012-11-15 18:38:47 PST
Created attachment 174587 [details]
Patch
Comment 5 Ryosuke Niwa 2012-11-15 19:49:17 PST
Unfortunately, I cannot reproduce the crash anymore. Something must have changed :/
Comment 6 Jer Noble 2012-11-15 22:36:56 PST
Committed r134903: <http://trac.webkit.org/changeset/134903>