Updates:
Summary: Crash in NPAPI::PluginLib::NP_Initialize
Owner: ---
Cc: [email protected] [email protected] [email protected]
Comment #3 on issue 16886 by [email protected]: Crash in
NPAPI::PluginLib::NP_Initialize
http://code.google.com/p/chromium/issues/detail?id=16886
Actually, I don't think I'm the best person for this. I think the presence
of RenderTextControl on this stack is likely coincidental. Looks
more likely to be a problem with webframeloaderclient. Someone more
familiar with NPAPI and our plugin code should take a look at this.
Some things to note:
-Safari does not crash, so it's probably not in webcore
-Both TestShell and Chrome crash, so it's probably not in the Test* classes
-Mac and Linux (and probably Windows) crash, so it's probably not in the
platform specific files.
Here's the stack from my trunk (as of yesterday) Mac TestShell Debug build:
#0 0x93528402 in __pthread_kill
#1 0x9352824f in pthread_kill
#2 0x902a2190 in Debugger
#3 0x203e4935 in dyld_stub_strlen
#4 0x203e4bef in NP_Initialize
#5 0x0060dbe0 in NPAPI::PluginLib::NP_Initialize at plugin_lib.cc:113
#6 0x0061bf88 in WebPluginDelegate::Create at
webplugin_delegate_impl_mac.mm:65
#7 0x00008870 in TestWebViewDelegate::CreatePluginDelegate at
test_webview_delegate.mm:48
#8 0x0066702d in WebFrameLoaderClient::createPlugin at
webframeloaderclient_impl.cc:1401
#9 0x00be0a34 in WebCore::FrameLoader::loadPlugin at FrameLoader.cpp:1684
#10 0x00becc4e in WebCore::FrameLoader::requestObject at
FrameLoader.cpp:1619
#11 0x00e14ff9 in WebCore::RenderPartObject::updateWidget at
RenderPartObject.cpp:285
#12 0x00c710f8 in WebCore::FrameView::updateWidgets at FrameView.cpp:1164
#13 0x00c7140d in WebCore::FrameView::performPostLayoutTasks at
FrameView.cpp:1194
#14 0x00c735d9 in WebCore::FrameView::layout at FrameView.cpp:653
#15 0x009a4403 in WebCore::Document::updateLayout at Document.cpp:1259
#16 0x00e46a57 in WebCore::RenderTextControl::setSelectionRange at
RenderTextControl.cpp:238
#17 0x00e46eea in WebCore::RenderTextControl::select at
RenderTextControl.cpp:230
#18 0x00b27d78 in WebCore::HTMLInputElement::select at
HTMLInputElement.cpp:505
#19 0x0070eb00 in WebCore::HTMLInputElementInternal::selectCallback at
V8HTMLInputElement.cpp:410
#20 0x0047b4c3 in v8::internal::Builtin_HandleApiCall at builtins.cc:381
#21 0x1c36418b in ??
#22 0x1c3a43e4 in ??
#23 0x1c39563c in ??
#24 0x1c39185f in ??
#25 0x1c374359 in ??
#26 0x1c364f22 in ??
#27 0x004973ca in v8::internal::Invoke at execution.cc:94
#28 0x004978c3 in v8::internal::Execution::Call at execution.cc:121
#29 0x004630dc in v8::Script::Run at api.cc:1123
#30 0x0086f6bc in WebCore::V8Proxy::runScript at V8Proxy.cpp:634
#31 0x0086f913 in WebCore::V8Proxy::evaluate at V8Proxy.cpp:594
#32 0x008346eb in WebCore::ScriptController::evaluate at
ScriptController.cpp:210
#33 0x00be3c8e in WebCore::FrameLoader::executeScript at FrameLoader.cpp:767
#34 0x00b66950 in WebCore::HTMLTokenizer::scriptExecution at
HTMLTokenizer.cpp:561
#35 0x00b6777f in WebCore::HTMLTokenizer::scriptHandler at
HTMLTokenizer.cpp:503
#36 0x00b67f4d in WebCore::HTMLTokenizer::parseNonHTMLText at
HTMLTokenizer.cpp:350
#37 0x00b6a2c5 in WebCore::HTMLTokenizer::parseTag at HTMLTokenizer.cpp:1503
#38 0x00b6adbc in WebCore::HTMLTokenizer::write at HTMLTokenizer.cpp:1731
#39 0x00b66f3f in WebCore::HTMLTokenizer::notifyFinished at
HTMLTokenizer.cpp:2036
#40 0x00bb2bc5 in WebCore::CachedScript::checkNotify at CachedScript.cpp:105
#41 0x00bb2cb0 in WebCore::CachedScript::data at CachedScript.cpp:95
#42 0x00c10604 in WebCore::Loader::Host::didFinishLoading at loader.cpp:366
#43 0x00c03f3a in WebCore::SubresourceLoader::didFinishLoading at
SubresourceLoader.cpp:183
#44 0x00c01094 in WebCore::ResourceLoader::didFinishLoading at
ResourceLoader.cpp:416
#45 0x0119b6b1 in WebCore::ResourceHandleInternal::didFinishLoading at
ResourceHandle.cpp:143
#46 0x00685428 in
webkit_glue::WebURLLoaderImpl::Context::OnCompletedRequest at
weburlloader_impl.cc:477
#47 0x0001f5d6 in (anonymous
namespace)::RequestProxy::NotifyCompletedRequest at
simple_resource_loader_bridge.cc:190
#48 0x0001fa52 in DispatchToMethod<(anonymous namespace)::RequestProxy,
void ((anonymous
namespace)::RequestProxy::*)(URLRequestStatus const&, std::string const&),
URLRequestStatus, std::string> at tuple.h:429
#49 0x0001fa88 in RunnableMethod<(anonymous namespace)::RequestProxy, void
((anonymous
namespace)::RequestProxy::*)(URLRequestStatus const&, std::string const&),
Tuple2<URLRequestStatus, std::string> >::Run at task.h:307
#50 0x0007b3d3 in MessageLoop::RunTask at message_loop.cc:313
#51 0x0007b797 in MessageLoop::DeferOrRunPendingTask at message_loop.cc:321
#52 0x0007bc19 in MessageLoop::DoWork at message_loop.cc:427
#53 0x00087ded in base::MessagePumpCFRunLoopBase::RunWork at
message_pump_mac.mm:197
#54 0x00087e57 in base::MessagePumpCFRunLoopBase::RunWorkSource at
message_pump_mac.mm:179
#55 0x92478595 in CFRunLoopRunSpecific
#56 0x92478c78 in CFRunLoopRunInMode
#57 0x96d9928c in RunCurrentEventLoopInMode
#58 0x96d990a5 in ReceiveNextEventCommon
#59 0x96d98f19 in BlockUntilNextEventMatchingListInMode
#60 0x94eddd0d in _DPSNextEvent
#61 0x94edd5c0 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#62 0x94ed65fb in -[NSApplication run]
#63 0x00087b6c in base::MessagePumpNSApplication::DoRun at
message_pump_mac.mm:458
#64 0x00087925 in base::MessagePumpCFRunLoopBase::Run at
message_pump_mac.mm:128
#65 0x0007c537 in MessageLoop::RunInternal at message_loop.cc:198
#66 0x0007c553 in MessageLoop::RunHandler at message_loop.cc:181
#67 0x0007c5de in MessageLoop::Run at message_loop.cc:155
#68 0x00004e92 in main at test_shell_main.cc:311
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---