RESOLVED INVALID 11958
Sporadic console message: TIFFReadDirectory: tiff data provider: Seek error accessing TIFF directory.
https://bugs.webkit.org/show_bug.cgi?id=11958
Summary Sporadic console message: TIFFReadDirectory: tiff data provider: Seek error a...
David Kilzer (:ddkilzer)
Reported 2006-12-24 09:19:54 PST
Every now and then I see the following message spewed to the console (usually in groups of 20+): TIFFReadDirectory: tiff data provider: Seek error accessing TIFF directory. I don't have any idea what's causing it (e.g., which web page or which behavior of mine), but I thought I'd report it in case anyone else has an idea. I have to wonder if removing the old TIFF cursors in place of PNG cursors has something to do with this. I also wonder if it's something within Safari (and not WebKit) that is causing the message to be logged. Bug 8457 mentions "TIFFReadDirectory", but that's the only remotely related bug I could find.
Attachments
0604iTunesPicscaled.tiff (causes warnings) (69.92 KB, image/tiff)
2006-12-25 20:11 PST, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2006-12-24 09:23:37 PST
(In reply to comment #0) > I have to wonder if removing the old TIFF cursors in place of PNG cursors has > something to do with this. Bug 11291 and Bug 11940 are related to this change.
Alexey Proskuryakov
Comment 2 2006-12-25 02:09:23 PST
Do you have any TIFF files in your cache? It can be browsed using /Developer/Examples/WebKit/DiskCacheInspector.
David Kilzer (:ddkilzer)
Comment 3 2006-12-25 06:30:26 PST
(In reply to comment #2) > Do you have any TIFF files in your cache? It can be browsed using > /Developer/Examples/WebKit/DiskCacheInspector. When I build it and run it from within Xcode, I can't get the search box to get focus (typing always goes to another window. If I try to run the application outside Xcode, I get an error dialog saying the app is corrupt. Am I doing something stupid?
Alexey Proskuryakov
Comment 4 2006-12-25 11:05:23 PST
Heh, there is a bug in the current release - an incorrect Info.plist. Just fix CFBundleExecutable from DiskCacheInpector to DiskCacheInspector. Might be worth a Radar, too.
David Kilzer (:ddkilzer)
Comment 5 2006-12-25 19:47:32 PST
(In reply to comment #4) > Heh, there is a bug in the current release - an incorrect Info.plist. Just fix > CFBundleExecutable from DiskCacheInpector to DiskCacheInspector. Might be worth > a Radar, too. Thanks! Filed <rdar://problem/4900777> for this typo.
David Kilzer (:ddkilzer)
Comment 6 2006-12-25 20:02:20 PST
(In reply to comment #2) > Do you have any TIFF files in your cache? It can be browsed using > /Developer/Examples/WebKit/DiskCacheInspector. No, I don't have an TIFF files in my cache (at least after searching for 'tif' and then checking the MIME type of each of the six hits). Apparently this happens when Safari tries to load a TIFF image that is corrupt or otherwise unloadable. This web page seems to generate them: http://www.oreillynet.com/mac/blog/2006/04/sucking_out_the_itunes_marrow.html I fond it by doing a Google search for "TIFFReadDirectory: tiff data provider: Seek error accessing TIFF directory."
David Kilzer (:ddkilzer)
Comment 7 2006-12-25 20:09:13 PST
This TIFF image always causes the error message to be displayed: http://www.oreillynet.com/mac/blog/images/0604iTunesPicscaled.tiff
David Kilzer (:ddkilzer)
Comment 8 2006-12-25 20:11:35 PST
Created attachment 12022 [details] 0604iTunesPicscaled.tiff (causes warnings)
David Kilzer (:ddkilzer)
Comment 9 2006-12-25 20:12:54 PST
(In reply to comment #8) > Created an attachment (id=12022) [edit] > 0604iTunesPicscaled.tiff (causes warnings) Now that I've found the cause, what should be the fix? Should Safari not spew these messages to the console? Or only send one copy of this message to the console?
Alexey Proskuryakov
Comment 10 2006-12-25 21:46:53 PST
FWIW, I don't see WebKit using libtiff directly, so this looks like Radar material, too.
David Kilzer (:ddkilzer)
Comment 11 2006-12-26 07:15:05 PST
(In reply to comment #10) > FWIW, I don't see WebKit using libtiff directly, so this looks like Radar > material, too. Filed <rdar://problem/4900968> Some TIFF files cause message to be logged repeatedly to console in Safari. Closing as RESOLVED/INVALID since this can't be fixed in WebKit.
David Kilzer (:ddkilzer)
Comment 12 2006-12-26 07:26:02 PST
Note that when reproducing this, it's best to do the following: 1. Open Safari. 2. Empty the cache (Cmd-Alt-E). 3. Load the original URL or the attachment 12022 [details] URL. When running shipping Safari, the messages will appear in the console.log (in the Console application). If running a locally-built WebKit using the run-safari script, it will appear on stdout (or stderr?) from that command.
David Kilzer (:ddkilzer)
Comment 13 2006-12-27 12:22:08 PST
Attachment 12059 [details] and Attachment 12060 [details] from Bug 11999 also exhibit this behavior and print out additional error messages: tiff data provider: Error fetching data for field "ICC Profile".
Note You need to log in before you can comment on or make changes to this bug.