Summary: | REGRESSION (r20042): Console spews "CGContextGetType: invalid context" non-stop on web site | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bruceq, darin, dev+webkit, mrowe | ||||
Priority: | P1 | Keywords: | InRadar, NeedsReduction, Regression | ||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://tf1.lci.fr/ | ||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2007-03-07 23:17:49 PST
Of course, I can't reproduce it now. Probably a particular ad was being displayed. If anyone sees this again, please save a webarchive of the page. (In reply to comment #3) > Of course, I can't reproduce it now. Probably a particular ad was being > displayed. I was missing a step in the steps to reproduce: 1. Open WebKit debug build. 2. Access URL: http://tf1.lci.fr/ 3. Wait for page to load. 4. Hide Safari. As soon as Safari is hidden, the message starts spewing to the console and never stops until the browser window is closed. I'm also seeing these console messages sporadically (on this URL, for example: http://www.flickr.com/search/?q=cute+kittens&s=int): Not a JPEG file: starts with 0x7b 0x35 Not a JPEG file: starts with 0x7b 0x35 Not a JPEG file: starts with 0x7b 0xbd Not a JPEG file: starts with 0x7b 0x35 Not a JPEG file: starts with 0x7b 0xcb Not a JPEG file: starts with 0x7b 0x35 Not a JPEG file: starts with 0x7b 0x35 Not a JPEG file: starts with 0x7b 0x35 Not a JPEG file: starts with 0x7b 0x35 I'm not sure if this is caused by r20042 or not, though. (In reply to comment #6) > I'm also seeing these console messages sporadically (on this URL, for example: > http://www.flickr.com/search/?q=cute+kittens&s=int): > > Not a JPEG file: starts with 0x7b 0x35 > [...] > > I'm not sure if this is caused by r20042 or not, though. This appears to have been a different issue. Please ignore it. (In reply to comment #7) > This appears to have been a different issue. Please ignore it. And is fixed as of r20057. (In reply to comment #4) > > As soon as Safari is hidden, the message starts spewing to the console and > never stops until the browser window is closed. > The website http://weplayanything.com spews this before anything is even rendered, without having to hide Safari. Created attachment 13549 [details]
Checks for null ptr before calling WKCGContextIsBitmapContext.
A fairly trivial (low-risk) fix for this issue
Comment on attachment 13549 [details]
Checks for null ptr before calling WKCGContextIsBitmapContext.
r=me
Do you know why there's a null context?
Landed in r20077. |