Steps to reproduce: 1. Switch screen to thousands of colours 2. Open Safari 3. Load URL http://dailymotion.com/us Result: Crash Expected result: Website loads and functions correctly Comments: First starting Safari (with millions of colours) and then switching to thousands of colours gives no crash. Happens for me on Safari 3.1 and WebKit r31370 (Macbook - late 2006), and 'killerchicken' on Freenode #Webkit sees the same crash. Has something to do with WebCore::GraphicsContext::endTransparencyLayer(). Will attach a Safari 3.1 backtrace.
Created attachment 20123 [details] Crashlog when started with thousands of colours
Confirmed with r31371, but the crash is happening outside of WebKit in CoreGraphics, so this will have to be moved to Radar and tracked by the appropriate team. 0 libRIP.A.dylib 0x925fe69d mem_fragment_merge + 150 1 libRIP.A.dylib 0x925ffa41 mem_deallocate + 306 2 libRIP.A.dylib 0x925ddadd ripl_release + 149 3 libRIP.A.dylib 0x925d2708 ripc_EndLayer + 1006 4 com.apple.CoreGraphics 0x956658e0 CGContextEndTransparencyLayer + 96 5 com.apple.WebCore 0x01d123e4 WebCore::GraphicsContext::endTransparencyLayer() + 46 (GraphicsContextCG.cpp:511) 6 com.apple.WebCore 0x01f4f49f WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, bool, WebCore::PaintRestriction, WebCore::RenderObject*, bool) + 2987 (RenderLayer.cpp:1624)
Pretty sure this no longer happens.