Bug 82392

Summary: random svg tests are crashing on chromium snow leopard debug
Product: WebKit Reporter: Dirk Pranke <dpranke>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: abarth, jamesr, pdr, schenney, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Dirk Pranke 2012-03-27 16:16:58 PDT
See, e.g.: 

http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6%20%28dbg%29/builds/9185

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#master=ChromiumWebkit&tests=svg/as-image/animated-svg-as-image.html,media/W3C/video/canPlayType/canPlayType_application_octet_stream_with_codecs_3.html,svg/as-background-image/svg-as-background-6.html,svg/as-image/svg-non-integer-scaled-image.html,tables/mozilla_expected_failures/bugs/bug3166-6.html

here's a sample stack trace ...

crash log for DumpRenderTree (pid 1940):
STDOUT: <empty>
STDERR: ASSERTION FAILED: !needsLayout()
STDERR: /b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebCore/WebCore.gyp/../page/FrameView.cpp(2968) : virtual void WebCore::FrameView::paintContents(WebCore::GraphicsContext *, const WebCore::IntRect &)
STDERR: 1   0x4fc227ca WebCore::FrameView::paintContents(WebCore::GraphicsContext*, WebCore::IntRect const&)
STDERR: 2   0x4ee96f3c WebCore::ScrollView::paint(WebCore::GraphicsContext*, WebCore::IntRect const&)
STDERR: 3   0x50746a73 WebCore::SVGImage::draw(WebCore::GraphicsContext*, WebCore::FloatRect const&, WebCore::FloatRect const&, WebCore::ColorSpace, WebCore::CompositeOperator)
STDERR: 4   0x507464be WebCore::SVGImage::drawSVGToImageBuffer(WebCore::ImageBuffer*, WebCore::IntSize const&, float, WebCore::SVGImage::ShouldClearBuffer)
STDERR: 5   0x5073c31d WebCore::SVGImageCache::redraw()
STDERR: 6   0x5073c125 WebCore::SVGImageCache::imageContentChanged()
STDERR: 7   0x4fb52fdb WebCore::CachedImage::changedInRect(WebCore::Image const*, WebCore::IntRect const&)
STDERR: 8   0x4fb53056 non-virtual thunk to WebCore::CachedImage::changedInRect(WebCore::Image const*, WebCore::IntRect const&)
STDERR: 9   0x5074bd25 WebCore::SVGImageChromeClient::invalidateContentsAndRootView(WebCore::IntRect const&, bool)
STDERR: 10  0x4fb9a59e WebCore::Chrome::invalidateContentsAndRootView(WebCore::IntRect const&, bool)
STDERR: 11  0x4ee960ee WebCore::ScrollView::repaintContentRectangle(WebCore::IntRect const&, bool)
STDERR: 12  0x4fc1e999 WebCore::FrameView::doDeferredRepaints()
STDERR: 13  0x4fc1aaf2 WebCore::FrameView::endDeferredRepaints()
STDERR: 14  0x4fc193de WebCore::FrameView::layout(bool)
STDERR: 15  0x4fc14942 WebCore::FrameView::layoutTimerFired(WebCore::Timer<WebCore::FrameView>*)
STDERR: 16  0x4fc36f67 WebCore::Timer<WebCore::FrameView>::fired()
STDERR: 17  0x4eead02e WebCore::ThreadTimers::sharedTimerFiredInternal()
STDERR: 18  0x4eeacdbf WebCore::ThreadTimers::sharedTimerFired()
STDERR: 19  0x50b2a069 webkit_glue::WebKitPlatformSupportImpl::DoTimeout()
STDERR: 20  0x50b2b1f4 base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>::Run(webkit_glue::WebKitPlatformSupportImpl*)
STDERR: 21  0x50b2b0f3 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>, void ()(webkit_glue::WebKitPlatformSupportImpl*)>::MakeItSo(base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>, webkit_glue::WebKitPlatformSupportImpl*)
STDERR: 22  0x50b2b033 base::internal::Invoker<1, base::internal::BindState<base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>, void ()(webkit_glue::WebKitPlatformSupportImpl*), void ()(base::internal::UnretainedWrapper<webkit_glue::WebKitPlatformSupportImpl>)>, void ()(webkit_glue::WebKitPlatformSupportImpl*)>::Run(base::internal::BindStateBase*)
STDERR: 23  0x4d66eefb base::Callback<void ()()>::Run() const
STDERR: 24  0x4d71d74b base::Timer::RunScheduledTask()
STDERR: 25  0x4d71d959 base::BaseTimerTaskInternal::Run()
STDERR: 26  0x4d71e224 base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>::Run(base::BaseTimerTaskInternal*)
STDERR: 27  0x4d71e123 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>, void ()(base::BaseTimerTaskInternal*)>::MakeItSo(base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>, base::BaseTimerTaskInternal*)
STDERR: 28  0x4d71e05e base::internal::Invoker<1, base::internal::BindState<base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>, void ()(base::BaseTimerTaskInternal*), void ()(base::internal::OwnedWrapper<base::BaseTimerTaskInternal>)>, void ()(base::BaseTimerTaskInternal*)>::Run(base::internal::BindStateBase*)
STDERR: 29  0x4d66eefb base::Callback<void ()()>::Run() const
STDERR: 30  0x4d66c61e MessageLoop::RunTask(base::PendingTask const&)
STDERR: 31  0x4d66c9c1 MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)
STDERR: [1940:-1610537664:1451718471318:ERROR:process_util_posix.cc(142)] Received signal 11
STDERR: 	0   DumpRenderTree                      0x4d60a81f base::debug::StackTrace::StackTrace() + 63
STDERR: 	1   DumpRenderTree                      0x4d60a7bb base::debug::StackTrace::StackTrace() + 43
STDERR: 	2   DumpRenderTree                      0x4d6bf0c7 base::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, __darwin_ucontext*) + 295
STDERR: 	3   libSystem.B.dylib                   0x9006a05b _sigtramp + 43
STDERR: 	4   ???                                 0xffffffff 0x0 + 4294967295
STDERR: 	5   DumpRenderTree                      0x4ee96f3c WebCore::ScrollView::paint(WebCore::GraphicsContext*, WebCore::IntRect const&) + 1068
STDERR: 	6   DumpRenderTree                      0x50746a73 WebCore::SVGImage::draw(WebCore::GraphicsContext*, WebCore::FloatRect const&, WebCore::FloatRect const&, WebCore::ColorSpace, WebCore::CompositeOperator) + 1107
STDERR: 	7   DumpRenderTree                      0x507464be WebCore::SVGImage::drawSVGToImageBuffer(WebCore::ImageBuffer*, WebCore::IntSize const&, float, WebCore::SVGImage::ShouldClearBuffer) + 1006
STDERR: 	8   DumpRenderTree                      0x5073c31d WebCore::SVGImageCache::redraw() + 445
STDERR: 	9   DumpRenderTree                      0x5073c125 WebCore::SVGImageCache::imageContentChanged() + 293
STDERR: 	10  DumpRenderTree                      0x4fb52fdb WebCore::CachedImage::changedInRect(WebCore::Image const*, WebCore::IntRect const&) + 155
STDERR: 	11  DumpRenderTree                      0x4fb53056 non-virtual thunk to WebCore::CachedImage::changedInRect(WebCore::Image const*, WebCore::IntRect const&) + 54
STDERR: 	12  DumpRenderTree                      0x5074bd25 WebCore::SVGImageChromeClient::invalidateContentsAndRootView(WebCore::IntRect const&, bool) + 165
STDERR: 	13  DumpRenderTree                      0x4fb9a59e WebCore::Chrome::invalidateContentsAndRootView(WebCore::IntRect const&, bool) + 94
STDERR: 	14  DumpRenderTree                      0x4ee960ee WebCore::ScrollView::repaintContentRectangle(WebCore::IntRect const&, bool) + 414
STDERR: 	15  DumpRenderTree                      0x4fc1e999 WebCore::FrameView::doDeferredRepaints() + 345
STDERR: 	16  DumpRenderTree                      0x4fc1aaf2 WebCore::FrameView::endDeferredRepaints() + 402
STDERR: 	17  DumpRenderTree                      0x4fc193de WebCore::FrameView::layout(bool) + 3726
STDERR: 	18  DumpRenderTree                      0x4fc14942 WebCore::FrameView::layoutTimerFired(WebCore::Timer<WebCore::FrameView>*) + 66
STDERR: 	19  DumpRenderTree                      0x4fc36f67 WebCore::Timer<WebCore::FrameView>::fired() + 135
STDERR: 	20  DumpRenderTree                      0x4eead02e WebCore::ThreadTimers::sharedTimerFiredInternal() + 334
STDERR: 	21  DumpRenderTree                      0x4eeacdbf WebCore::ThreadTimers::sharedTimerFired() + 47
STDERR: 	22  DumpRenderTree                      0x50b2a069 webkit_glue::WebKitPlatformSupportImpl::DoTimeout() + 73
STDERR: 	23  DumpRenderTree                      0x50b2b1f4 base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>::Run(webkit_glue::WebKitPlatformSupportImpl*) + 132
STDERR: 	24  DumpRenderTree                      0x50b2b0f3 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>, void ()(webkit_glue::WebKitPlatformSupportImpl*)>::MakeItSo(base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>, webkit_glue::WebKitPlatformSupportImpl*) + 67
STDERR: 	25  DumpRenderTree                      0x50b2b033 base::internal::Invoker<1, base::internal::BindState<base::internal::RunnableAdapter<void (webkit_glue::WebKitPlatformSupportImpl::*)()>, void ()(webkit_glue::WebKitPlatformSupportImpl*), void ()(base::internal::UnretainedWrapper<webkit_glue::WebKitPlatformSupportImpl>)>, void ()(webkit_glue::WebKitPlatformSupportImpl*)>::Run(base::internal::BindStateBase*) + 115
STDERR: 	26  DumpRenderTree                      0x4d66eefb base::Callback<void ()()>::Run() const + 75
STDERR: 	27  DumpRenderTree                      0x4d71d74b base::Timer::RunScheduledTask() + 363
STDERR: 	28  DumpRenderTree                      0x4d71d959 base::BaseTimerTaskInternal::Run() + 89
STDERR: 	29  DumpRenderTree                      0x4d71e224 base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>::Run(base::BaseTimerTaskInternal*) + 132
STDERR: 	30  DumpRenderTree                      0x4d71e123 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>, void ()(base::BaseTimerTaskInternal*)>::MakeItSo(base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>, base::BaseTimerTaskInternal*) + 67
STDERR: 	31  DumpRenderTree                      0x4d71e05e base::internal::Invoker<1, base::internal::BindState<base::internal::RunnableAdapter<void (base::BaseTimerTaskInternal::*)()>, void ()(base::BaseTimerTaskInternal*), void ()(base::internal::OwnedWrapper<base::BaseTimerTaskInternal>)>, void ()(base::BaseTimerTaskInternal*)>::Run(base::internal::BindStateBase*) + 110
STDERR: 	32  DumpRenderTree                      0x4d66eefb base::Callback<void ()()>::Run() const + 75
STDERR: 	33  DumpRenderTree                      0x4d66c61e MessageLoop::RunTask(base::PendingTask const&) + 846
STDERR: 	34  DumpRenderTree                      0x4d66c9c1 MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) + 97
STDERR: 	35  DumpRenderTree                      0x4d66cbf8 MessageLoop::DoWork() + 312
STDERR: 	36  DumpRenderTree                      0x4d5dd41b base::MessagePumpCFRunLoopBase::RunWork() + 107
STDERR: 	37  DumpRenderTree                      0x4d5dcb12 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 50
STDERR: 	38  CoreFoundation                      0x91d8942b __CFRunLoopDoSources0 + 1563
STDERR: 	39  CoreFoundation                      0x91d86eef __CFRunLoopRun + 1071
STDERR: 	40  CoreFoundation                      0x91d863c4 CFRunLoopRunSpecific + 452
STDERR: 	41  CoreFoundation                      0x91d861f1 CFRunLoopRunInMode + 97
STDERR: 	42  HIToolbox                           0x962d5e04 RunCurrentEventLoopInMode + 392
STDERR: 	43  HIToolbox                           0x962d5bb9 ReceiveNextEventCommon + 354
STDERR: 	44  HIToolbox                           0x962d5a3e BlockUntilNextEventMatchingListInMode + 81
STDERR: 	45  AppKit                              0x959a7595 _DPSNextEvent + 847
STDERR: 	46  AppKit                              0x959a6dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
STDERR: 	47  AppKit                              0x959691f3 -[NSApplication run] + 821
STDERR: 	48  DumpRenderTree                      0x4d5de13e base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 350
STDERR: 	49  DumpRenderTree                      0x4d5dd10d base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 189
STDERR: 	50  DumpRenderTree                      0x4d66bf83 MessageLoop::RunInternal() + 291
STDERR: 	51  DumpRenderTree                      0x4d66b29b MessageLoop::RunHandler() + 43
STDERR: 	52  DumpRenderTree                      0x4d66b1e0 MessageLoop::Run() + 64
STDERR: 	53  DumpRenderTree                      0x4d228c17 webkit_support::RunMessageLoop() + 39
STDERR: 	54  DumpRenderTree                      0x4ceb05c2 TestShell::waitTestFinished() + 386
STDERR: 	55  DumpRenderTree                      0x4cea14bf TestShell::runFileTest(TestParams const&) + 975
STDERR: 	56  DumpRenderTree                      0x4ce517a3 runTest(TestShell&, TestParams&, std::string const&, bool) + 1395
STDERR: 	57  DumpRenderTree                      0x4ce5106e main + 3694
STDERR: 	58  DumpRenderTree                      0x4ce2fe8e start + 54
STDERR: ax: bbadbeef, bx: 151250, cx: 50e153fd, dx: 50e153fd
STDERR: di: 5100daeb, si: 50fe11e3, bp: bfffc278, sp: bfffc1a0, ss: 23, flags: 10282
STDERR: ip: 4fc227d4, cs: 1b, ds: 23, es: 23, fs: 0, gs: f

different tests seem to be crashing on each run ... I had reverted  r112277 hoping it was related, but it doesn't seem to have fixed anything, so I'm going to re-land it ...
Comment 1 Stephen Chenney 2012-04-05 08:09:10 PDT
We're tracking this more effectively in 82232.

*** This bug has been marked as a duplicate of bug 82232 ***