Bug 49603 - Hang on nytimes.com when snapshotting Flash
Summary: Hang on nytimes.com when snapshotting Flash
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 09:59 PST by Joseph Pecoraro
Modified: 2010-11-16 19:07 PST (History)
4 users (show)

See Also:


Attachments
[ARCHIVE] nytimes (1.31 MB, application/x-webarchive)
2010-11-16 19:07 PST, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2010-11-16 09:59:48 PST
WebKit ToT r72103.
Hangs loading nytimes.com (attached web archive, was reproducing for me).

Marking this as mac only because the trace below looks stuck in NetscapePluginHostProxy.mm.

Took a look at threads in gdb:
(gdb) thr a a bt

Thread 18 (process 54597):
#0  0x00007fff85094fca in __semwait_signal ()
#1  0x00007fff85098de1 in _pthread_cond_wait ()
#2  0x00007fff807e84b2 in CVDisplayLink::runIOThread ()
#3  0x00007fff807e8153 in startIOThread ()
#4  0x00007fff85093536 in _pthread_start ()
#5  0x00007fff850933e9 in thread_start ()

Thread 17 (process 54597):
#0  0x00007fff8505a2da in mach_msg_trap ()
#1  0x00007fff8505a94d in mach_msg ()
#2  0x00007fff81b90d0a in CA::Render::Server::server_thread ()
#3  0x00007fff81b90c4a in thread_fun ()
#4  0x00007fff85093536 in _pthread_start ()
#5  0x00007fff850933e9 in thread_start ()

Thread 16 (process 54597):
#0  0x00007fff85073f8a in __workq_kernreturn ()
#1  0x00007fff8507439c in _pthread_wqthread ()
#2  0x00007fff85074005 in start_wqthread ()

Thread 15 (process 54597):
#0  0x00007fff85094fca in __semwait_signal ()
#1  0x00007fff85098de1 in _pthread_cond_wait ()
#2  0x00000001008fcbfd in WTF::ThreadCondition::wait (this=0x106b48e28, mutex=@0x106b48de8) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/ThreadingPthreads.cpp:351
#3  0x00000001008fcc8a in WTF::ThreadCondition::timedWait (this=0x106b48e28, mutex=@0x106b48de8, absoluteTime=1.7976931348623157e+308) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/ThreadingPthreads.cpp:361
#4  0x00000001001be851 in ?? ()
#5  0x000000010004750f in ?? ()
#6  0x000000010004738d in ?? ()
#7  0x00000001008fca7d in WTF::threadEntryPoint (contextData=0x1191d6fc0) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/Threading.cpp:65
#8  0x00007fff85093536 in _pthread_start ()
#9  0x00007fff850933e9 in thread_start ()

Thread 13 (process 54597):
#0  0x00007fff85094fca in __semwait_signal ()
#1  0x00007fff85098de1 in _pthread_cond_wait ()
#2  0x00000001008fcbfd in WTF::ThreadCondition::wait (this=0x11a267700, mutex=@0x11a2676c0) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/ThreadingPthreads.cpp:351
#3  0x00000001008fcc8a in WTF::ThreadCondition::timedWait (this=0x11a267700, mutex=@0x11a2676c0, absoluteTime=1.7976931348623157e+308) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/ThreadingPthreads.cpp:361
#4  0x0000000101d635c3 in WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessageFilteredWithTimeout<bool ()(WebCore::LocalStorageTask*)> (this=0x11a2676b8, result=@0x119780e5c, predicate=@0x101d61e75, absoluteTime=1.7976931348623157e+308) at MessageQueue.h:136
#5  0x0000000101d638df in WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessage (this=0x11a2676b8) at MessageQueue.h:122
#6  0x0000000101d61a91 in WebCore::LocalStorageThread::threadEntryPoint (this=0x11a2676b0) at /Users/pecoraro/Code/webkit-open-source/WebCore/storage/LocalStorageThread.cpp:68
#7  0x0000000101d61b07 in WebCore::LocalStorageThread::threadEntryPointCallback (thread=0x11a2676b0) at /Users/pecoraro/Code/webkit-open-source/WebCore/storage/LocalStorageThread.cpp:62
#8  0x00000001008fca7d in WTF::threadEntryPoint (contextData=0x11a267760) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/Threading.cpp:65
#9  0x00007fff85093536 in _pthread_start ()
#10 0x00007fff850933e9 in thread_start ()

Thread 11 (process 54597):
#0  0x00007fff8509de92 in select$DARWIN_EXTSN ()
#1  0x00007fff87d1b658 in __CFSocketManager ()
#2  0x00007fff85093536 in _pthread_start ()
#3  0x00007fff850933e9 in thread_start ()

Thread 8 (process 54597):
#0  0x00007fff8505a2da in mach_msg_trap ()
#1  0x00007fff8505a94d in mach_msg ()
#2  0x00007fff87cf9b22 in __CFRunLoopRun ()
#3  0x00007fff87cf8faf in CFRunLoopRunSpecific ()
#4  0x000000010002fa41 in ?? ()
#5  0x000000010002f9d1 in ?? ()
#6  0x00000001008fca7d in WTF::threadEntryPoint (contextData=0x106d64c90) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/Threading.cpp:65
#7  0x00007fff85093536 in _pthread_start ()
#8  0x00007fff850933e9 in thread_start ()

Thread 6 (process 54597):
#0  0x00007fff8505a2da in mach_msg_trap ()
#1  0x00007fff8505a94d in mach_msg ()
#2  0x00007fff87cf9b22 in __CFRunLoopRun ()
#3  0x00007fff87cf8faf in CFRunLoopRunSpecific ()
#4  0x00007fff885e2ce3 in +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] ()
#5  0x00007fff88563d29 in __NSThread__main__ ()
#6  0x00007fff85093536 in _pthread_start ()
#7  0x00007fff850933e9 in thread_start ()

Thread 5 (process 54597):
#0  0x00007fff8505a2da in mach_msg_trap ()
#1  0x00007fff8505a94d in mach_msg ()
#2  0x00007fff87cf9b22 in __CFRunLoopRun ()
#3  0x00007fff87cf8faf in CFRunLoopRunSpecific ()
#4  0x000000010002fa41 in ?? ()
#5  0x000000010002f9d1 in ?? ()
#6  0x00000001008fca7d in WTF::threadEntryPoint (contextData=0x106b9be60) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/Threading.cpp:65
#7  0x00007fff85093536 in _pthread_start ()
#8  0x00007fff850933e9 in thread_start ()

Thread 4 (process 54597):
#0  0x00007fff85094fca in __semwait_signal ()
#1  0x00007fff85098de1 in _pthread_cond_wait ()
#2  0x00000001008fcbfd in WTF::ThreadCondition::wait (this=0x107026500, mutex=@0x1070264c0) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/ThreadingPthreads.cpp:351
#3  0x00000001019a35cb in WebCore::IconDatabase::syncThreadMainLoop (this=0x107026400) at /Users/pecoraro/Code/webkit-open-source/WebCore/loader/icon/IconDatabase.cpp:1420
#4  0x00000001019a3a9f in WebCore::IconDatabase::iconDatabaseSyncThread (this=0x107026400) at /Users/pecoraro/Code/webkit-open-source/WebCore/loader/icon/IconDatabase.cpp:1044
#5  0x00000001019a3ad5 in WebCore::IconDatabase::iconDatabaseSyncThreadStart (vIconDatabase=0x107026400) at /Users/pecoraro/Code/webkit-open-source/WebCore/loader/icon/IconDatabase.cpp:947
#6  0x00000001008fca7d in WTF::threadEntryPoint (contextData=0x106b383a0) at /Users/pecoraro/Code/webkit-open-source/JavaScriptCore/wtf/Threading.cpp:65
#7  0x00007fff85093536 in _pthread_start ()
#8  0x00007fff850933e9 in thread_start ()

Thread 2 (process 54597):
#0  0x00007fff8507316a in kevent ()
#1  0x00007fff8507503d in _dispatch_mgr_invoke ()
#2  0x00007fff85074d14 in _dispatch_queue_invoke ()
#3  0x00007fff8507483e in _dispatch_worker_thread2 ()
#4  0x00007fff85074168 in _pthread_wqthread ()
#5  0x00007fff85074005 in start_wqthread ()

Thread 1 (process 54597):
#0  0x00007fff8505a2da in mach_msg_trap ()
#1  0x00007fff8505a94d in mach_msg ()
#2  0x0000000100ed31ea in WebKit::NetscapePluginHostProxy::processRequests (this=0x11c210d40) at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/Plugins/Hosted/NetscapePluginHostProxy.mm:303
#3  0x0000000100edda96 in WebKit::NetscapePluginInstanceProxy::processRequestsAndWaitForReply (this=0x11c2118b0, requestID=12) at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:803
#4  0x0000000100ef9aa7 in WebKit::NetscapePluginInstanceProxy::waitForReply<WebKit::NetscapePluginInstanceProxy::BooleanAndDataReply> (this=0x11c2118b0, requestID=12) at NetscapePluginInstanceProxy.h:260
#5  0x0000000100edfe5a in WebKit::NetscapePluginInstanceProxy::snapshot (this=0x11c2118b0, context=0x11ad56720, width=312, height=225) at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:520
#6  0x0000000100f5b6d2 in -[WebHostedNetscapePluginView drawRect:] (self=0x11c20f080, _cmd=0x7fff80f48cb0, rect={origin = {x = 0, y = 0}, size = {width = 312, height = 225}}) at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm:414
#7  0x00007fff80994f1d in -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] ()
#8  0x00007fff80994756 in -[NSView displayRectIgnoringOpacity:inContext:] ()
#9  0x0000000102166f88 in WebCore::Widget::paint (this=0x11c20f9c0, p=0x7fff5fbfd5f0, r=@0x7fff5fbfc4d0) at /Users/pecoraro/Code/webkit-open-source/WebCore/platform/mac/WidgetMac.mm:250
#10 0x0000000101f65023 in WebCore::RenderWidget::paint (this=0x11c20da48, paintInfo=@0x7fff5fbfc800, tx=360, ty=1155) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderWidget.cpp:295
#11 0x0000000101e80601 in WebCore::RenderEmbeddedObject::paint (this=0x11c20da48, paintInfo=@0x7fff5fbfc800, tx=360, ty=1155) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderEmbeddedObject.cpp:143
#12 0x0000000101ea1299 in WebCore::RenderLayer::paintLayer (this=0x11c21b018, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2489
#13 0x0000000101ea1d67 in WebCore::RenderLayer::paintList (this=0x1129ca2f8, list=0x11c20fa30, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2542
#14 0x0000000101ea1426 in WebCore::RenderLayer::paintLayer (this=0x1129ca2f8, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2507
#15 0x0000000101ea1d67 in WebCore::RenderLayer::paintList (this=0x11a2a9f28, list=0x112917f60, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2542
#16 0x0000000101ea1485 in WebCore::RenderLayer::paintLayer (this=0x11a2a9f28, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2510
#17 0x0000000101ea1d67 in WebCore::RenderLayer::paintList (this=0x11a2a8168, list=0x11a228470, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2542
#18 0x0000000101ea1485 in WebCore::RenderLayer::paintLayer (this=0x11a2a8168, rootLayer=0x11a2a8168, p=0x7fff5fbfd5f0, paintDirtyRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0, overlapTestRequests=0x7fff5fbfd430, paintFlags=4) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2510
#19 0x0000000101ea1e64 in WebCore::RenderLayer::paint (this=0x11a2a8168, p=0x7fff5fbfd5f0, damageRect=@0x7fff5fbfd5e0, paintBehavior=4, paintingRoot=0x0) at /Users/pecoraro/Code/webkit-open-source/WebCore/rendering/RenderLayer.cpp:2295
#20 0x0000000101880feb in WebCore::FrameView::paintContents (this=0x11a29c3d0, p=0x7fff5fbfd5f0, rect=@0x7fff5fbfd5e0) at /Users/pecoraro/Code/webkit-open-source/WebCore/page/FrameView.cpp:2122
#21 0x0000000100f37d07 in -[WebFrame(WebInternal) _drawRect:contentsOnly:] (self=0x106d27ec0, _cmd=0x7fff82cbae8e, rect={origin = {x = 0, y = 0}, size = {width = 1463, height = 2438}}, contentsOnly=1 '\001') at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/WebView/WebFrame.mm:579
#22 0x0000000100f70b7a in -[WebHTMLView drawSingleRect:] (self=0x11a29bac0, _cmd=0x7fff82c9b33c, rect={origin = {x = 0, y = 0}, size = {width = 1463, height = 2438}}) at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/WebView/WebHTMLView.mm:3350
#23 0x0000000100f707bd in -[WebHTMLView drawRect:] (self=0x11a29bac0, _cmd=0x7fff80f48cb0, rect={origin = {x = 0, y = 0}, size = {width = 1463, height = 2438}}) at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/WebView/WebHTMLView.mm:3394
#24 0x00007fff80994f1d in -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] ()
#25 0x0000000100f66f22 in -[WebHTMLView(WebPrivate) _recursive:displayRectIgnoringOpacity:inContext:topView:] (self=0x11a29bac0, _cmd=0x7fff81030b26, recurse=1 '\001', displayRect={origin = {x = 0, y = 0}, size = {width = 1463, height = 2438}}, context=0x11ad68bf0, topView=1 '\001') at /Users/pecoraro/Code/webkit-open-source/WebKit/mac/WebView/WebHTMLView.mm:1423
#26 0x00007fff80994756 in -[NSView displayRectIgnoringOpacity:inContext:] ()
#27 0x0000000100046d60 in ?? ()
#28 0x0000000100046a7a in ?? ()
#29 0x000000010004677f in ?? ()
#30 0x00000001000465c2 in ?? ()
#31 0x000000010004606a in ?? ()
#32 0x0000000100045f2b in ?? ()
#33 0x00007fff885b9571 in __NSFireTimer ()
#34 0x00007fff87cfadd8 in __CFRunLoopRun ()
#35 0x00007fff87cf8faf in CFRunLoopRunSpecific ()
#36 0x00007fff873c99f6 in RunCurrentEventLoopInMode ()
#37 0x00007fff873c97fb in ReceiveNextEventCommon ()
#38 0x00007fff873c96b4 in BlockUntilNextEventMatchingListInMode ()
#39 0x00007fff8084fe64 in _DPSNextEvent ()
#40 0x00007fff8084f7a9 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#41 0x00000001000165d8 in ?? ()
#42 0x00007fff8081548b in -[NSApplication run] ()
#43 0x00007fff8080e1a8 in NSApplicationMain ()
#44 0x000000010000a4a4 in ?? ()
Comment 1 Simon Fraser (smfr) 2010-11-16 10:02:59 PST
This is the snapshot hang.
Comment 2 Alexey Proskuryakov 2010-11-16 16:09:40 PST
<rdar://problem/8102645> ?
Comment 3 Alexey Proskuryakov 2010-11-16 16:10:23 PST
> Hangs loading nytimes.com (attached web archive, was reproducing for me).

Please attach the web archive.
Comment 4 Joseph Pecoraro 2010-11-16 19:07:59 PST
Created attachment 74077 [details]
[ARCHIVE] nytimes

Sorry, it got lost when I forgot to pick a "component" when creating the bug.