WebKitNix / webkitnix

A WebKit2 port based on POSIX and OpenGL/ES
http://nix.openbossa.org
66 stars 26 forks source link

ASSERTION FAILED: !(newRadii.topLeft().width() && newRadii.topRight().width()) in WebCore::calculateAdjustedInnerBorder #26

Open renatahodovan opened 11 years ago

renatahodovan commented 11 years ago

The failing test:

<html> 
<head> 
<style type="text/css"> 
div { padding: 0 0 100px 45px;
      border-top: solid;
      border-radius: 100;
      zoom: 51;
      width: 100px;}
</style> 
</head> 
<body>
      <div/>
      <div/>         
      <div/>
      <div/>

The backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa6bef700 (LWP 1339)]
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  0x00007ffff37a31f7 in WebCore::calculateAdjustedInnerBorder (innerBorder=..., side=WebCore::BSTop)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBoxModelObject.cpp:2425
#2  0x00007ffff37a3a0f in WebCore::RenderBoxModelObject::clipBorderSideForComplexInnerPath (this=0x86f018, graphicsContext=0x6f38b0, outerBorder=..., 
    innerBorder=..., side=WebCore::BSTop, edges=0x7fffffffb740) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBoxModelObject.cpp:2494
#3  0x00007ffff379f71b in WebCore::RenderBoxModelObject::paintOneBorderSide (this=0x86f018, graphicsContext=0x6f38b0, style=0x692bf0, outerBorder=..., 
    innerBorder=..., sideRect=..., side=WebCore::BSTop, adjacentSide1=WebCore::BSLeft, adjacentSide2=WebCore::BSRight, edges=0x7fffffffb740, 
    path=0x7fffffffb4b0, bleedAvoidance=WebCore::BackgroundBleedNone, includeLogicalLeftEdge=true, includeLogicalRightEdge=true, antialias=true, 
    overrideColor=0x0) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBoxModelObject.cpp:1816
#4  0x00007ffff379fdb9 in WebCore::RenderBoxModelObject::paintBorderSides (this=0x86f018, graphicsContext=0x6f38b0, style=0x692bf0, outerBorder=..., 
    innerBorder=..., innerBorderAdjustment=..., edges=0x7fffffffb740, edgeSet=1, bleedAvoidance=WebCore::BackgroundBleedNone, includeLogicalLeftEdge=true, 
    includeLogicalRightEdge=true, antialias=true, overrideColor=0x0) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBoxModelObject.cpp:1878
#5  0x00007ffff37a14bc in WebCore::RenderBoxModelObject::paintBorder (this=0x86f018, info=..., rect=..., style=0x692bf0, 
    bleedAvoidance=WebCore::BackgroundBleedNone, includeLogicalLeftEdge=true, includeLogicalRightEdge=true)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBoxModelObject.cpp:2109
#6  0x00007ffff377bf1c in WebCore::RenderBox::paintBoxDecorations (this=0x86f018, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBox.cpp:1203
#7  0x00007ffff371a0f8 in WebCore::RenderBlock::paintObject (this=0x86f018, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3299
#8  0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x86f018, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#9  0x00007ffff3719c61 in WebCore::RenderBlock::paintChild (this=0x692558, child=0x86f018, paintInfo=..., paintOffset=..., paintInfoForChild=..., 
    usePrintRect=false) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3256
#10 0x00007ffff3719897 in WebCore::RenderBlock::paintChildren (this=0x692558, paintInfo=..., paintOffset=..., paintInfoForChild=..., usePrintRect=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3226
#11 0x00007ffff371983b in WebCore::RenderBlock::paintContents (this=0x692558, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3219
#12 0x00007ffff371a2a2 in WebCore::RenderBlock::paintObject (this=0x692558, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3323
#13 0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x692558, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#14 0x00007ffff3719c61 in WebCore::RenderBlock::paintChild (this=0x6f4818, child=0x692558, paintInfo=..., paintOffset=..., paintInfoForChild=..., 
    usePrintRect=false) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3256
#15 0x00007ffff3719897 in WebCore::RenderBlock::paintChildren (this=0x6f4818, paintInfo=..., paintOffset=..., paintInfoForChild=..., usePrintRect=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3226
#16 0x00007ffff371983b in WebCore::RenderBlock::paintContents (this=0x6f4818, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3219
#17 0x00007ffff371a2a2 in WebCore::RenderBlock::paintObject (this=0x6f4818, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3323
#18 0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x6f4818, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#19 0x00007ffff3719c61 in WebCore::RenderBlock::paintChild (this=0x691da8, child=0x6f4818, paintInfo=..., paintOffset=..., paintInfoForChild=..., 
    usePrintRect=false) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3256
#20 0x00007ffff3719897 in WebCore::RenderBlock::paintChildren (this=0x691da8, paintInfo=..., paintOffset=..., paintInfoForChild=..., usePrintRect=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3226
#21 0x00007ffff371983b in WebCore::RenderBlock::paintContents (this=0x691da8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3219
#22 0x00007ffff371a2a2 in WebCore::RenderBlock::paintObject (this=0x691da8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3323
#23 0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x691da8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#24 0x00007ffff3719c61 in WebCore::RenderBlock::paintChild (this=0x6919f8, child=0x691da8, paintInfo=..., paintOffset=..., paintInfoForChild=..., 
    usePrintRect=false) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3256
---Type <return> to continue, or q <return> to quit---
#25 0x00007ffff3719897 in WebCore::RenderBlock::paintChildren (this=0x6919f8, paintInfo=..., paintOffset=..., paintInfoForChild=..., usePrintRect=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3226
#26 0x00007ffff371983b in WebCore::RenderBlock::paintContents (this=0x6919f8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3219
#27 0x00007ffff371a2a2 in WebCore::RenderBlock::paintObject (this=0x6919f8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3323
#28 0x00007ffff3717f29 in WebCore::RenderBlock::paint (this=0x6919f8, paintInfo=..., paintOffset=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:3019
#29 0x00007ffff381bb1f in WebCore::RenderLayer::paintForegroundForFragmentsWithPhase (this=0x691b68, phase=WebCore::PaintPhaseChildBlockBackgrounds, 
    layerFragments=..., context=0x6f38b0, localPaintingInfo=..., paintBehavior=0, subtreePaintRootForRenderer=0x0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:4178
#30 0x00007ffff381b7bf in WebCore::RenderLayer::paintForegroundForFragments (this=0x691b68, layerFragments=..., context=0x6f38b0, 
    transparencyLayerContext=0x6f38b0, transparencyPaintDirtyRect=..., haveTransparency=false, localPaintingInfo=..., paintBehavior=0, 
    subtreePaintRootForRenderer=0x0, selectionOnly=false, forceBlackText=false)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:4150
#31 0x00007ffff381a158 in WebCore::RenderLayer::paintLayerContents (this=0x691b68, context=0x6f38b0, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3885
#32 0x00007ffff381903a in WebCore::RenderLayer::paintLayerContentsAndReflection (this=0x691b68, context=0x6f38b0, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3649
#33 0x00007ffff3818f2f in WebCore::RenderLayer::paintLayer (this=0x691b68, context=0x6f38b0, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3631
#34 0x00007ffff381a7e7 in WebCore::RenderLayer::paintList (this=0x6d0158, list=0x6d1940, context=0x6f38b0, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3971
#35 0x00007ffff381a217 in WebCore::RenderLayer::paintLayerContents (this=0x6d0158, context=0x6f38b0, paintingInfo=..., paintFlags=224)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayer.cpp:3896
#36 0x00007ffff383974a in WebCore::RenderLayerBacking::paintIntoLayer (this=0x6d0440, graphicsLayer=0x7c3b50, context=0x6f38b0, paintDirtyRect=..., 
    paintBehavior=0, paintingPhase=7) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayerBacking.cpp:1959
#37 0x00007ffff3839aa0 in WebCore::RenderLayerBacking::paintContents (this=0x6d0440, graphicsLayer=0x7c3b50, context=..., paintingPhase=7, clip=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderLayerBacking.cpp:2004
#38 0x00007ffff35c2adb in WebCore::GraphicsLayer::paintGraphicsLayerContents (this=0x7c3b50, context=..., clip=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/GraphicsLayer.cpp:335
#39 0x00007ffff362b2c5 in WebCore::CoordinatedGraphicsLayer::tiledBackingStorePaint (this=0x7c3b50, context=0x6f38b0, rect=...)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:906
#40 0x00007ffff3647d3b in WebCore::CoordinatedTile::paintToSurfaceContext (this=0x6f3fe0, context=0x6f38b0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTile.cpp:104
#41 0x00007ffff3648788 in WebCore::UpdateAtlasSurfaceClient::paintToSurfaceContext (this=0x7fffffffd1b0, context=0x6f38b0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/UpdateAtlas.cpp:50
#42 0x00007ffff45240c1 in WebKit::WebCoordinatedSurface::paintToSurface (this=0x8c28c0, rect=..., client=0x7fffffffd1b0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:189
#43 0x00007ffff3648610 in WebCore::UpdateAtlas::paintOnAvailableBuffer (this=0x714190, size=..., atlasID=@0x7fffffffd304: 1, offset=..., client=0x6f3ff0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/UpdateAtlas.cpp:110
#44 0x00007ffff3618bdb in WebCore::CompositingCoordinator::paintToSurface (this=0x891c10, size=..., flags=0, atlasID=@0x7fffffffd304: 1, offset=..., 
    client=0x6f3ff0) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:396
#45 0x00007ffff362b9e2 in WebCore::CoordinatedGraphicsLayer::paintToSurface (this=0x7c3b50, size=..., atlas=@0x7fffffffd304: 1, offset=..., client=0x6f3ff0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:967
#46 0x00007ffff3647a90 in WebCore::CoordinatedTile::updateBackBuffer (this=0x6f3fe0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTile.cpp:77
#47 0x00007ffff35e0f03 in WebCore::TiledBackingStore::updateTileBuffers (this=0x713d70)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:132
#48 0x00007ffff35e1e96 in WebCore::TiledBackingStore::createTiles (this=0x713d70)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:329
#49 0x00007ffff35e0a2a in WebCore::TiledBackingStore::coverWithTilesIfNeeded (this=0x713d70)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:78
---Type <return> to continue, or q <return> to quit---
#50 0x00007ffff35e14a8 in WebCore::TiledBackingStore::commitScaleChange (this=0x713d70)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:193
#51 0x00007ffff35e1457 in WebCore::TiledBackingStore::setContentsScale (this=0x713d70, scale=1.39895492e-05)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/TiledBackingStore.cpp:185
#52 0x00007ffff362b281 in WebCore::CoordinatedGraphicsLayer::createBackingStore (this=0x7c3b50)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:899
#53 0x00007ffff362be20 in WebCore::CoordinatedGraphicsLayer::updateContentBuffers (this=0x7c3b50)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1032
#54 0x00007ffff362bd26 in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers (this=0x7c3b50)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1010
#55 0x00007ffff362bd5e in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers (this=0x745f40)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1013
#56 0x00007ffff362bd5e in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers (this=0x891e70)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1013
#57 0x00007ffff361793e in WebCore::CompositingCoordinator::flushPendingLayerChanges (this=0x891c10)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:104
#58 0x00007ffff469aed9 in WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush (this=0x782fc0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:314
#59 0x00007ffff469af86 in WebKit::CoordinatedLayerTreeHost::layerFlushTimerFired (this=0x782fc0)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:329
#60 0x00007ffff469e70d in WebCore::Timer<WebKit::CoordinatedLayerTreeHost>::fired (this=0x783038)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/Timer.h:114
#61 0x00007ffff35513ee in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x70ff00)
    at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/ThreadTimers.cpp:129
#62 0x00007ffff35512db in WebCore::ThreadTimers::sharedTimerFired () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/ThreadTimers.cpp:105
#63 0x00007ffff3faae49 in WebCore::timeoutCallback () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/nix/SharedTimerNix.cpp:49
#64 0x00007ffff06ea8eb in g_timeout_dispatch (source=source@entry=0x735e40, callback=<optimized out>, user_data=<optimized out>) at gmain.c:4413
#65 0x00007ffff06e9cd5 in g_main_dispatch (context=0x6106f0) at gmain.c:3054
#66 g_main_context_dispatch (context=context@entry=0x6106f0) at gmain.c:3630
#67 0x00007ffff06ea018 in g_main_context_iterate (context=0x6106f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#68 0x00007ffff06ea48a in g_main_loop_run (loop=0x610850) at gmain.c:3895
#69 0x00007ffff3fa9700 in WebCore::RunLoop::run () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/nix/RunLoopNix.cpp:60
#70 0x00007ffff46b1654 in WebKit::WebProcessMainNix (argc=2, argv=0x7fffffffdae8)
    at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/nix/WebProcessMainNix.cpp:84
#71 0x000000000040084a in main (argc=2, argv=0x7fffffffdae8) at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/nix/MainNix.cpp:30