Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ASSERTION FAILED: !m_bufferInUse in WebCore::ScratchBuffer::getScratchBuffer #24

Open
renatahodovan opened this issue Aug 30, 2013 · 0 comments

Comments

@renatahodovan
Copy link

The failing test:

<head>
    <style type="text/css">
        li {box-shadow: 0 1px;}
        div {font-size: 65000;}
    </style>
</head>
<li>
<div>
<a>brrr</a>

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa66d6700 (LWP 7201)]
0x00007ffff4704f38 in WTFCrash () at /home/reni/Data/REPOS/webkitnix/Source/WTF/wtf/Assertions.cpp:342
342     *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0  0x00007ffff4704f38 in WTFCrash () at /home/reni/Data/REPOS/webkitnix/Source/WTF/wtf/Assertions.cpp:342
#1  0x00007ffff35dc99a in WebCore::ScratchBuffer::getScratchBuffer (this=0x901a50, size=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/ShadowBlur.cpp:72
#2  0x00007ffff35da232 in WebCore::ShadowBlur::drawRectShadowWithoutTiling (this=0x7c7700, graphicsContext=0x7ef010, shadowedRect=..., radii=..., 
    layerRect=...) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/ShadowBlur.cpp:569
#3  0x00007ffff35d9da2 in WebCore::ShadowBlur::drawRectShadow (this=0x7c7700, graphicsContext=0x7ef010, shadowedRect=..., radii=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/ShadowBlur.cpp:524
#4  0x00007ffff3faf8d1 in WebCore::GraphicsContext::fillRect (this=0x7ef010, rect=..., color=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:463
#5  0x00007ffff37a4b3c in WebCore::RenderBoxModelObject::paintBoxShadow (this=0x731b28, info=..., paintRect=..., s=0x8210d0, shadowStyle=WebCore::Normal, 
    includeLogicalLeftEdge=true, includeLogicalRightEdge=true) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBoxModelObject.cpp:2717
#6  0x00007ffff377bc7a in WebCore::RenderBox::paintBoxDecorations (this=0x731b28, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBox.cpp:1173
#7  0x00007ffff371a0f8 in WebCore::RenderBlock::paintObject (this=0x731b28, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3299
#8  0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x731b28, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#9  0x00007ffff3858007 in WebCore::RenderListItem::paint (this=0x731b28, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderListItem.cpp:431
#10 0x00007ffff3719c61 in WebCore::RenderBlock::paintChild (this=0x820ee8, child=0x731b28, paintInfo=..., paintOffset=..., paintInfoForChild=..., 
    usePrintRect=false) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3256
#11 0x00007ffff3719897 in WebCore::RenderBlock::paintChildren (this=0x820ee8, paintInfo=..., paintOffset=..., paintInfoForChild=..., usePrintRect=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3226
#12 0x00007ffff371983b in WebCore::RenderBlock::paintContents (this=0x820ee8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3219
#13 0x00007ffff371a2a2 in WebCore::RenderBlock::paintObject (this=0x820ee8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3323
#14 0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x820ee8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#15 0x00007ffff3719c61 in WebCore::RenderBlock::paintChild (this=0x70d048, child=0x820ee8, paintInfo=..., paintOffset=..., paintInfoForChild=..., 
    usePrintRect=false) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3256
#16 0x00007ffff3719897 in WebCore::RenderBlock::paintChildren (this=0x70d048, paintInfo=..., paintOffset=..., paintInfoForChild=..., usePrintRect=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3226
#17 0x00007ffff371983b in WebCore::RenderBlock::paintContents (this=0x70d048, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3219
#18 0x00007ffff371a2a2 in WebCore::RenderBlock::paintObject (this=0x70d048, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3323
#19 0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x70d048, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#20 0x00007ffff381bb1f in WebCore::RenderLayer::paintForegroundForFragmentsWithPhase (this=0x70d1b8, phase=WebCore::PaintPhaseChildBlockBackgrounds, 
    layerFragments=..., context=0x7ef010, localPaintingInfo=..., paintBehavior=0, subtreePaintRootForRenderer=0x0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:4178
#21 0x00007ffff381b7bf in WebCore::RenderLayer::paintForegroundForFragments (this=0x70d1b8, layerFragments=..., context=0x7ef010, 
    transparencyLayerContext=0x7ef010, transparencyPaintDirtyRect=..., haveTransparency=false, localPaintingInfo=..., paintBehavior=0, 
    subtreePaintRootForRenderer=0x0, selectionOnly=false, forceBlackText=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:4150
#22 0x00007ffff381a158 in WebCore::RenderLayer::paintLayerContents (this=0x70d1b8, context=0x7ef010, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3885
#23 0x00007ffff381903a in WebCore::RenderLayer::paintLayerContentsAndReflection (this=0x70d1b8, context=0x7ef010, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3649
#24 0x00007ffff3818f2f in WebCore::RenderLayer::paintLayer (this=0x70d1b8, context=0x7ef010, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3631
#25 0x00007ffff381a7e7 in WebCore::RenderLayer::paintList (this=0x6d01b8, list=0x741d60, context=0x7ef010, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3971
#26 0x00007ffff381a217 in WebCore::RenderLayer::paintLayerContents (this=0x6d01b8, context=0x7ef010, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3896
---Type <return> to continue, or q <return> to quit---
#27 0x00007ffff383974a in WebCore::RenderLayerBacking::paintIntoLayer (this=0x88e130, graphicsLayer=0x717a20, context=0x7ef010, paintDirtyRect=..., 
    paintBehavior=0, paintingPhase=7) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayerBacking.cpp:1959
#28 0x00007ffff3839aa0 in WebCore::RenderLayerBacking::paintContents (this=0x88e130, graphicsLayer=0x717a20, context=..., paintingPhase=7, clip=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayerBacking.cpp:2004
#29 0x00007ffff35c2adb in WebCore::GraphicsLayer::paintGraphicsLayerContents (this=0x717a20, context=..., clip=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/GraphicsLayer.cpp:335
#30 0x00007ffff362b2c5 in WebCore::CoordinatedGraphicsLayer::tiledBackingStorePaint (this=0x717a20, context=0x7ef010, rect=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:906
#31 0x00007ffff3647d3b in WebCore::CoordinatedTile::paintToSurfaceContext (this=0x741cf0, context=0x7ef010)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTile.cpp:104
#32 0x00007ffff3648788 in WebCore::UpdateAtlasSurfaceClient::paintToSurfaceContext (this=0x7fffffffd1b0, context=0x7ef010)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/UpdateAtlas.cpp:50
#33 0x00007ffff45240c1 in WebKit::WebCoordinatedSurface::paintToSurface (this=0x7ef180, rect=..., client=0x7fffffffd1b0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:189
#34 0x00007ffff3648610 in WebCore::UpdateAtlas::paintOnAvailableBuffer (this=0x7f0f50, size=..., atlasID=@0x7fffffffd304: 1, offset=..., client=0x741d00)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/UpdateAtlas.cpp:110
#35 0x00007ffff3618b09 in WebCore::CompositingCoordinator::paintToSurface (this=0x782000, size=..., flags=0, atlasID=@0x7fffffffd304: 1, offset=..., 
    client=0x741d00) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:388
#36 0x00007ffff362b9e2 in WebCore::CoordinatedGraphicsLayer::paintToSurface (this=0x717a20, size=..., atlas=@0x7fffffffd304: 1, offset=..., client=0x741d00)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:967
#37 0x00007ffff3647a90 in WebCore::CoordinatedTile::updateBackBuffer (this=0x741cf0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTile.cpp:77
#38 0x00007ffff35e0f03 in WebCore::TiledBackingStore::updateTileBuffers (this=0x84c750)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:132
#39 0x00007ffff35e1e96 in WebCore::TiledBackingStore::createTiles (this=0x84c750)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:329
#40 0x00007ffff35e0a2a in WebCore::TiledBackingStore::coverWithTilesIfNeeded (this=0x84c750)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:78
#41 0x00007ffff35e14a8 in WebCore::TiledBackingStore::commitScaleChange (this=0x84c750)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:193
#42 0x00007ffff35e1457 in WebCore::TiledBackingStore::setContentsScale (this=0x84c750, scale=0.0105083846)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:185
#43 0x00007ffff362b281 in WebCore::CoordinatedGraphicsLayer::createBackingStore (this=0x717a20)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:899
#44 0x00007ffff362be20 in WebCore::CoordinatedGraphicsLayer::updateContentBuffers (this=0x717a20)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1032
#45 0x00007ffff362bd26 in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers (this=0x717a20)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1010
#46 0x00007ffff362bd5e in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers (this=0x697960)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1013
#47 0x00007ffff362bd5e in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers (this=0x782260)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1013
#48 0x00007ffff361793e in WebCore::CompositingCoordinator::flushPendingLayerChanges (this=0x782000)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:104
#49 0x00007ffff469aed9 in WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush (this=0x781ef0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:314
#50 0x00007ffff469af86 in WebKit::CoordinatedLayerTreeHost::layerFlushTimerFired (this=0x781ef0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:329
#51 0x00007ffff469e70d in WebCore::Timer<WebKit::CoordinatedLayerTreeHost>::fired (this=0x781f68)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/Timer.h:114
#52 0x00007ffff35513ee in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x88dde0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/ThreadTimers.cpp:129
#53 0x00007ffff35512db in WebCore::ThreadTimers::sharedTimerFired () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/ThreadTimers.cpp:105
#54 0x00007ffff3faae49 in WebCore::timeoutCallback () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/nix/SharedTimerNix.cpp:49
#55 0x00007ffff06ea8eb in g_timeout_dispatch (source=source@entry=0x6de450, callback=<optimized out>, user_data=<optimized out>) at gmain.c:4413
#56 0x00007ffff06e9cd5 in g_main_dispatch (context=0x6106f0) at gmain.c:3054
---Type <return> to continue, or q <return> to quit---
#57 g_main_context_dispatch (context=context@entry=0x6106f0) at gmain.c:3630
#58 0x00007ffff06ea018 in g_main_context_iterate (context=0x6106f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#59 0x00007ffff06ea48a in g_main_loop_run (loop=0x610850) at gmain.c:3895
#60 0x00007ffff3fa9700 in WebCore::RunLoop::run () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/nix/RunLoopNix.cpp:60
#61 0x00007ffff46b1654 in WebKit::WebProcessMainNix (argc=2, argv=0x7fffffffdae8)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/nix/WebProcessMainNix.cpp:84
#62 0x000000000040084a in main (argc=2, argv=0x7fffffffdae8) at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/nix/MainNix.cpp:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant