Bug 18145 - Crash below CoreGraphics when opening dailymotion.com under thousands of colours
Summary: Crash below CoreGraphics when opening dailymotion.com under thousands of colours
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: Mac OS X 10.5
: P1 Normal
Assignee: Nobody
URL: http://dailymotion.com/us
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-27 07:10 PDT by Henk Poley
Modified: 2015-03-13 14:12 PDT (History)
1 user (show)

See Also:


Attachments
Crashlog when started with thousands of colours (33.12 KB, text/plain)
2008-03-27 07:12 PDT, Henk Poley
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henk Poley 2008-03-27 07:10:57 PDT
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.
Comment 1 Henk Poley 2008-03-27 07:12:06 PDT
Created attachment 20123 [details]
Crashlog when started with thousands of colours
Comment 2 Matt Lilek 2008-03-27 08:56:51 PDT
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)

Comment 3 Simon Fraser (smfr) 2015-03-13 14:12:06 PDT
Pretty sure this no longer happens.