The Safari Image of Doom
It's Friday, which means it's report Report-an-Apple-Bug Friday. Dan Wood started this a few weeks ago, and it seems to be catching some traction around the web. This is a very cool idea, and it'll let me throw out something I'll be referring back to over some upcoming posts.
Now, before you click and view the following image, if you happen to be using Apple's Safari or possibly OmniWeb, you may want to commit www.drunkenblog.com to memory, as there's a very high likelihood your browser is about to crash...
When Safari tries to load the image, or any application based on WebCore or WebKit tries to load it, it seems to create a race condition in one log and/or a deadlock in another, which ends in a crash pretty quickly. Don't be too mislead by that, as my log reading skills are dull to say the least.
Sometimes it takes a reload to do it, but it's highly likely to go wonky. The image itself is just a simple animated .GIF file that was used as an advertisement on a site. While there is obviously something abnormal about it it isn't immediately obvious to me what's wrong with it.
It displays correctly in Internet Explorer and Mozilla-based browsers, but something is causing it to choke webkit. Even worse, its causing webkit to crash. An image should never cause Safari, or WebKit, to do this.
This may not seem like that big of a deal, however if I'd displayed this as a normal image and you'd come to view the site, your browser would have crashed while loading it. If that animated .gif was served as an advertisement you had set as your home page, Safari would crash every time you launched it with you not having a clue what was going on except that every time you tried to launch Safari it would crash.
Since it seems to affect anything based on WebKit, it could be emailed to you -- or an image with something similarly funky going on -- and if you had images turned Mail.app would crash. Since Mail.app defaults to reselecting the last message you were viewing when it opens, you could well be in for some fun whenever you tried to relaunch it.
Someone malicious could take this image, link to it as their avatar in a forum somewhere, and if there were lot of Safari users there would be a ton of crashing going on untill someone figured it out. Unless it had a ton of Mac people visiting, it probably wouldn't get figured out at all, but rather those Mac users would just get a crash clicking around the web and probably blame the site or their newsreader and never put it together.
As mentioned, the image itself may well be to blame -- there could be something off or corrupted about it -- but even if the image is wonky that's no excuse for Safari to go into a spiral.
Quality applications have checks and balances on what is fed to them, precisely so they don't go HAL9000 when they're fed something they didn't expect. Now that WebKit is being incorporated so pervasively into third party applications, it's Game On. It's not so much about The Safari Image of Doom specifically, but rather that a bug like this shouldn't exist.
By building a browser engine into the OS, Apple took on a responsibility to make sure its quality, as WebCore's fragility directly -- and adversely -- affects the robustness of everything built on top of it.
Update: Some in the comments are saying this isn't crashing for them in Safari, up until now I'd pinged 7 people who all had crashes. I added 7 more pings this morning, and 5 out of the 7 had the crash. I can duplicate it with Safari and several WebKit apps, but OmniWeb 5.1.1 did load it correctly.
Update 2: Adam Iser of AdiumX noted he can reproduce the crash, but not if the image is first saved to a local drive and then loaded directly into Safari. Same for me.
Update 3: That was fast. From Eric Peyton @ Apple: "Saw your crasher today. Filed it as radar 4233417: 'Image crashes IOImage code' with Apple. You won't be able to see it, but it will hopefully get addressed."
Comments (121)
Posted by: Daniel Morrison at August 26, 2005 09:33 AM
I had an issue where a buddy icon in iChat would eat up most of my CPU cycles. It took me forever to figure out, as it only happened when that person was in the visible portion of the iChat window.
Apparently he had a highly potent animated GIF, and even though iChat doesn't display them, it still cycles through the frames. Amazing.
I just overrode his icon, but this shouldn't happen. It's not like animated GIFs are a new thing.
Posted by: Andy at August 26, 2005 09:35 AM
I'm using Safari (2.0) and the image loaded fine. I reloaded it without any problems.
Posted by: Jens at August 26, 2005 09:48 AM
Crashes Safari 2.0 (412.2) almost immediately for me, OmniWeb 5.1.1 (563.51) loads it fine. OS 10.4.2, 1.5GHz PBook, 512 RAM.
Jens
Posted by: fudo at August 26, 2005 09:49 AM
Safari 1.3 on 10.3.9, three reloads, no crash. FWIW.
Posted by: J Wells at August 26, 2005 09:56 AM
"Application Quit Unexpectedly" for me, Safari 2.0. Crash report points to "readGifImage" blocking. Do you have a RADAR number?
Posted by: Adam Iser at August 26, 2005 10:00 AM
Crashes after a few refreshes with Safari 2.0 (412.2.2) / 10.4.2. Cute :)
Posted by: tauquil at August 26, 2005 10:05 AM
The image crashed Safari 2.0 (412.2.2) for me.
Oddly when I restored my browser windows (using Saft) it loaded perfectly fine.
Posted by: at August 26, 2005 10:09 AM
i once had an issue where certain images that IE tried to view would not load, and after IE tried to load the problem image the first time, would refuse to load any other image -- whether they were "problematic" or not, and all the instances of IE, sometimes even the machine, had to be restarted to be able to normally view images again.
After hours on with MS support, we found that choosing to "save as" from photoshop on a Mac vs "save for web" would recreate this error. It didn't happen on all versions of IE, and which version it was escapes me at the moment.
Point being, the issue of a simple image making a browser go fubar was caused by such a simple thing , the way something was saved from another OS. I don't know what Mac version of Photoshop was doing to the file, but it certainly did a number on ol' IE [ insert MS/IE dig here ]
Posted by: CR at August 26, 2005 10:09 AM
That image loads just fine here ("Version 2.0 (412.2.2)").
Posted by: Surronded at August 26, 2005 10:13 AM
I have Panther last Safari and loads fine
Posted by: michael at August 26, 2005 10:27 AM
Killed me dead. Latest OS X updates.
Posted by: Jon Henshaw at August 26, 2005 10:29 AM
Crap! That's what I get for not reading anything and going straight for the money-shot link. Crash! Burn!
Posted by: Small Paul at August 26, 2005 10:32 AM
I've been trying the image in Safari 1.2.3 (v125.9) on Panther (10.3.5), and I can't make it crash. Tried reloading lots of times, tried loading into a tab, tried dragging the image to the desktop.
I'll give it a go on Safari 2.0 on 10.4.2 at some point over the weekend.
Posted by: Matt Thomas at August 26, 2005 10:32 AM
Crash: Safari Version 2.0 (412.2.2) Pather 10.4.2
Crash: Safari Version 2.0 (412.2) Pather 10.4.2 (without latest Security Update (2005-007))
Posted by: Michael Tobin at August 26, 2005 10:35 AM
Just to add more data points: Panther Safari doesn't crash even after repeated reloads. Tiger Safari loads the image initially, but crashes on the first reload.
Posted by: Ankalon at August 26, 2005 10:41 AM
Smacked my copy of Safari around. I must admit, I was giggling when you gave malicious use examples.
Posted by: Dogger at August 26, 2005 10:46 AM
Panther 10.3.9, Safari 1.3/312, loaded perfectly, reloaded repeatedly without a hitch. Then saved it to the hard drive, loaded and reloaded perfectly from there as well.
OmniWeb 5.1.0 also worked fine both from your site and off the hard drive.
I wonder how many of those affected have hacked their Safari either with a 3rd-party 'enhancer' or from the debug menu? This is obviously a state-specific bug so how do you get it into the right state to reproduce it? I have no debug menu enabled and no 3rd-party hacks installed. I encourage further comments to mention any such changes they have made.
Posted by: drunkenbatman at August 26, 2005 10:48 AM
I wonder how many of those affected have hacked their Safari either with a 3rd-party 'enhancer' or from the debug menu?
It's a bug, just dependent upon some factor we don't know yet -- perhaps network or trying to display before ready or well, anything -- but has nothing to do with my 'hacking Safari', as I didn't install ShapeShifter until this morning, and have had this sitting around for weeks. It is not a factor.
Posted by: HZeitler at August 26, 2005 11:24 AM
Safari 412.2.2, OS 10.4.2 and the image loaded fine.
Posted by: bk at August 26, 2005 11:29 AM
Safari 412.2.2 OS 10.4.2 crashed like the stock market on Black Friday on every visit to the link.
Posted by: ian at August 26, 2005 11:43 AM
What's the countdown timer to malicious exploits? :P
Posted by: AaronS at August 26, 2005 11:43 AM
Crashed on Safari 2.0 (412) running 10.4.0.
Posted by: Ryan at August 26, 2005 11:46 AM
Does not crash me on Safari 412.2.2. I am, however, using Privoxy, which completely eliminates all animation from gifs for me.
Posted by: Mike at August 26, 2005 11:50 AM
10.4.2 + updates
Safari: Crashed
Firefox: shows image fine
Crash report sent to Apple.
Posted by: LEGO Boy at August 26, 2005 11:51 AM
Safar1 1.3(v312) and OS X 10.3.9 reloaded several times, no crashy
Posted by: Ron Goodman at August 26, 2005 11:52 AM
No problem here with 10.4.2, Safari 2.0, and animation both on and off via Pithhelmet.
Posted by: Paul Handly at August 26, 2005 11:57 AM
It's a RACE CONDITION, folks - if you want to duplicate this you need to multitask a bit. I got Safari (412.2.2) to crash consistently by loading the image in one tab, BBC in the other, and refreshing both a couple times.
Just for fun, I sent apple the crash log. Not like anyone reads those (most of these systems SEEM like a neat idea, but unless they have some serious grep-filters going, the volume would just be too high to manage.)
Posted by: Moose at August 26, 2005 12:00 PM
Safari Version 2.0 (412.2.2) here, and it loads, reloads [ad lib] just fine, so it might be related to something else than just webcore/webkit/webwhatever...
Posted by: Dogger at August 26, 2005 12:04 PM
I didn't mean to blame anyone for the problem due to 'hacking'. I just meant to try to isolate the problem. Whether or not you have hacked Safari using a 3rd party app or its own debug menu, it's still a bug, the only question is how to trigger it. Installed hacks (in a non-pejorative sense) are a legitimate question as I guess are network issues (although less obviously so). However, since you didn't have any installed I guess we can rule that out. Panther seems generally immune, but I am still curious (whether Apple is already on the case or not) as to what kind of Tiger installation is affected versus not. G4 vs. G5? Amount of RAM? Clean install? Other apps open? You need a lot more information than what people are giving to really approach this question seriously.
Posted by: MikeS at August 26, 2005 12:14 PM
That image doesn't seem to crash here... I loaded it and reloaded it quite a few times in Safari 1.3 (v312) on Mac OS X.3.9
Though, I have had Safari crash when going to some web sites, without ever knowing why... I usually send the report through to Apple when that happens.
-MikeS
Posted by: Zaxx at August 26, 2005 12:25 PM
Safari 2.0 on Tiger unexpectedly quit after displaying the image. I have no Safari add-ons and the debug menu is off. I'm on a G3 with 320 megs of RAM if it can help...
Posted by: at August 26, 2005 12:26 PM
Crashed Safari 2.0 (412.2) running Tiger 10.4.2 in the Portuguese localised version. I tried it twice and it went through its own little nasty business both times. Never had a crash with Safari because of an image before.
José Costa Pinto
Posted by: nth at August 26, 2005 12:29 PM
no crash here, and reloaded several times.
safari 1.3
os 10.3.9
Posted by: Scott Fannen at August 26, 2005 12:30 PM
Mine crashed straight away. Safari version 2.0 (412.2.2). No, enhancements on Safari except for the debug menu turned on and RSS turned off.
Ouch.
Makes Safari almost reliable at something though - even if it is still my favourite browser!
Scott :)
Posted by: infieldfly at August 26, 2005 12:33 PM
Didn't crash when I loaded from you link until I did a reload. Hit the reload button and zap it was gone.
Posted by: Theodore Lee at August 26, 2005 12:43 PM
No crash on load 1 and reload +4. On the fifth reload, it crashed, and now it crashes on each load.
Good to see that Apple jumped on it quickly though. Remains to be seen how long it will be before a fix is deployed.
Posted by: Lar at August 26, 2005 12:48 PM
Downloaded the gif, opened it in Preview, played it as a slide. Preview crashed immediately.
Graphic Converter doesn't like this gif either.
Posted by: stinksoup at August 26, 2005 12:54 PM
Ouch!
NetNewsWire 2.0.1 crashed immediately.
10.4.2 - clean system
This deserves a quick security update & hopefully Apple doesn't make us wait weeks for 10.4.3.
Posted by: Retard at August 26, 2005 12:59 PM
First try and I got a lovely graphic. First reload and mayhem. Lovely to know. Yet another reason to avoid the hideous gif plagued forums of the pc world.
Oh and interestingly, goowy.com have a novel online outlook thing made of flash.
Quite cool. Well for me. And I spend my days looking at genitals, so I'm well cool.
Posted by: at August 26, 2005 01:03 PM
Did you have to give such specific examples of how this could be misused? Depending on how far away 10.4.3 is, this bug could cause serious harm.
Posted by: paulpro at August 26, 2005 01:08 PM
Crashed Shiira,
Also crashed my own WebKit browser, Hammerhead.
That's cool that Apple noticed quickly, I can't believe this happens as well..
Can't open the image in GraphicConverter, so I can't check the frames/codec.. nothing else I can think of that could be an issue..
I think it's something to do with a codec, perhaps it's flash embedded in a gif? Gif is just a package file format, right?
I'll try Fireworks.
Posted by: paulpro at August 26, 2005 01:19 PM
Fireworks opens it, there's 17 frames, shouldn't be too excessive.. Regular settings, 256 colours set to exact.
I re-saved the file and uploaded it here:
http://www.macskill.com/images/kthmlwebkit_crasher2.gif
Doesn't seem to crash anything now, really weird. I deleted the original and the one I re-saved, just in case, Shiira and Hammerhead both like it fine.
I suppose we can't ask every web designer on the planet to re-save their gifs in a Mac version of Fireworks.. Hope Apple gets on this right away.
I have had some strange crashes before, but since they usually happened when loading something in the background, I would never have caught this. Thanks for pointing it out.
Posted by: DWalla at August 26, 2005 01:27 PM
Crashed my Safari 2.0
Posted by: Matt Thomas at August 26, 2005 01:47 PM
Heh, I meant to say 10.4.2 Tiger not 10.4.2 Panther up there. Sorry for the confusion, I remember numbers better than names
Posted by: Oja at August 26, 2005 01:55 PM
Crashes the latest CVS chekout of webkit too!
Posted by: Sam at August 26, 2005 01:56 PM
I've got a better idea than "report an Apple bug to your blog" Friday. How about "report an Apple bug to Apple" Friday? Signing up for a dev account is free, and gives you access to http://bugreport.apple.com, where you can have your bugs filed, prioritized, and fixed by Apple, and get status on the process at any time. Depending on a random Apple engineer perusing your blog and filing it, while possibly ego-enhancing, is probably not optimal from a product quality process standpoint.
Posted by: sundoggy at August 26, 2005 02:05 PM
Ouch! Crashed NetNewsWired 2.01, which uses webkit. Sent problem report to Apple, which I never do because I don't think anyone reads that shit. But thought we might reach critical mass here on this one.
Posted by: drunkenbatman at August 26, 2005 02:08 PM
Depending on a random Apple engineer perusing your blog and filing it, while possibly ego-enhancing, is probably not optimal from a product quality process standpoint.
This requires an ADC membership, even free, which requires clicking an NDA. For someone who isn't talking about some of the things I'm talking about, that's great.
However, Apple sues people over their NDAs, even for their free accounts -- and I'm not going there. During the Tiger lawsuits, the student got his hands on the Tiger seed via a free account, not from Apple, but by clicking that NDA Apple went after them.
Posted by: Dave at August 26, 2005 02:26 PM
Caused my Safari to crash--10.4.2, Safari 2.0. I opened the image in ImageReady and it was seriously messed up. I'm not suggesting that WebKit should crash when loading corrupt images or that something like this couldn't be used for nefarious purposes but I hope someone's contacted the company that produced the software that created the image and let them know that their tools might be creating corrupted images.
Posted by: Michael Tobin at August 26, 2005 02:54 PM
During the Tiger lawsuits, the student got his hands on the Tiger seed via a free account
Apple has never made OS beta versions available to their free ADC accounts. If you want to try out an OS beta, you need to pay money to Apple. The student ADC membership is much less expensive than the regular membership, but it still isn't free.
Posted by: drunkenbatman at August 26, 2005 03:02 PM
Apple has never made OS beta versions available to their free ADC accounts. If you want to try out an OS beta, you need to pay money to Apple
If you could, please check out the interviews link to the right, and look for one with "Desicanuk" in the title. Give it a once over and you'll get it. I'm very careful about these things.
Posted by: TB3 at August 26, 2005 03:11 PM
As far as I'm concerned, OS X is doing what it's supposed to do; isolate the app and maintain the system. Even though Safari crashes, this is an awful lot better than the Windows situation. There's a rogue jpg out there that will crash Windows when viewed with any Windows browser. Windows tries to commit all the memory it can, and crashes the kernel.
Posted by: Michael Tobin at August 26, 2005 03:35 PM
If you could, please check out the interviews link to the right, and look for one with "Desicanuk" in the title. Give it a once over and you'll get it.
What I'm reading is that he didn't get the seed "via a free account", he was sent the seed by another developer and then got sued because he agreed to the NDA on a free account.
I grant this is only a minor point. The remainder of your post is correct, particularly your reasoning for avoiding ADC membership.
Posted by: No Crash Boy at August 26, 2005 03:44 PM
No crash on first load or on reload.
iBook 700 640 MB RAM, motherboard has been replaced, 10.3.9, Safari 1.3 (v312)
Posted by: Mac-arena the Bored Zo at August 26, 2005 04:09 PM
Apple has a Mac OS X feedback form for end users. it does not require signing up for ADC, nor signing any NDA. you don't get a shiny radar number, so it's more black-hole-looking than ADC's form, but it's something.
it didn't crash me on 412.2 on 10.4.2, btw.
Posted by: Daniel Luke at August 26, 2005 04:23 PM
Last I checked the 'problems logging into RadarWeb' bug report form (here) didn't require an ADC account to use.
So, you could still file a bug report without clicking 'yes' on an NDA (that may have changed, though).
Posted by: Alan at August 26, 2005 04:27 PM
Safari 1.3 (v312)
Mac OS X Version 10.3.9
Saft 7.7.2 (v218)
No crash. Many reloads. Many tries.
Posted by: James at August 26, 2005 05:29 PM
Under 10.4.2, Safari 2 and Shiira 1.1 (7/31/2005) both crash on reload (PM G4/1.2 GHz single, 1 GB RAM).
Under 10.3.9, Safari 1.3 and Shiira 1.1 (7/31/2005) both work fine, even after several reloads (iBook G3/800 MHz, 640 MB RAM).
Posted by: 2.STL-DX.B11 at August 26, 2005 05:36 PM
Crashed as suggested.
Safari 2.0 - 412.2.2
OS X 10.4.2
G5 Dual 2 GHz
1.5 GB RAM
Black underwear. Oh, wait. You didn't need that bit.
Posted by: cameron aka desk003 at August 26, 2005 05:54 PM
Safari 2.0 412.2.2 on Mac OS X 10.4.2 crashes almost immediatly. :-) Pretty cool, *evil laugh*
Posted by: MrBungleBear at August 26, 2005 06:52 PM
First load did not crash, but reload crashed Safari. Sent report to Apple. v2.0 (412.2.2)
Posted by: mycatsnameis at August 26, 2005 06:55 PM
No crash with 10 reloads on Safari 1.3 Tibook 550 running X.3.9.
Posted by: icedtrip at August 26, 2005 07:21 PM
Crashed immediatly on:
OS 10.4.2
Safari 2.0 (412.2.2)
Posted by: Squozen at August 26, 2005 07:26 PM
Crashed, stock 10.4.2 system with no hacks. Report sent to Apple crediting drunkenblog.com :P
Posted by: Skorp at August 26, 2005 07:29 PM
Crashed, Safari on 10.4.2 etc.
Very cute.
Posted by: jsnjabber at August 26, 2005 07:36 PM
Did not cause a crash.
Mac OS X 10.4.2
iBook G4
Latest updates, etc.
Posted by: Eduardo Arcos at August 26, 2005 09:06 PM
Crashed.
iBook 14" 1.33GHz
Safari 2
Mac OS X 10.4
I have Saft installed
Posted by: Paul Applegate at August 26, 2005 11:11 PM
Crashed
Imac G5 20''
Safari 2.0
Mac OS X Server 10.4.2
Posted by: lixlpixel at August 26, 2005 11:12 PM
That's not the only way to crash Safari though...
I discovered, that when accesskeys and certain javascript come together Safari exits pretty hard too.
I made a small example page at lixlpixel.org/safaricrash
enjoy...
Since i reported this to Apple months ago without any fix and the developers seem to read your page, it might help to post that here :)
Posted by: something at August 26, 2005 11:42 PM
two-week-old PB 17" (G4 1.67GHz, 2 GB RAM); 10.4.2, full OS updates; Safari 2.0, 412.2.2; held first load, crashed instantly on first reload.
Posted by: David at August 27, 2005 02:00 AM
Ineresting find, although it didn't crash on me. No idea why...I loaded and reloaded and nothing happened.
Powerbook 12" 1.33GHz
Mac OS X 10.4.2
Safari, 2.0 (412.2.2)
Posted by: Craig Beck at August 27, 2005 04:47 AM
Crashed it first time. Neato! ... maybe not...
Safari Version 2.0 (412.2.2)
Posted by: Simone Manganelli at August 27, 2005 04:52 AM
drunkenbatman --
Since it was RAB Friday yesterday, I thought you might be interested in the following bug report, regarding the annoying text bug that has made you go into Windows/Linux when writing that one interview. It may be of particular interest to you that I have found that this bug is completely reproducible, and I have even caught it on tape in a .mov file.
Here's an entry on my weblog about it: http://homepage.mac.com/simx/technonova/C1766861589/E20050827024245/index.html . If you want to go straight to the QT movie, go to http://homepage.mac.com/simx/.Movies/annoying-text-bug.mov .
As for the specific cause of the bug: it seems to be the speed at which your typing when your cursor moves to the next line. The speed threshold for activating this bug is very high, but it can be reached when typing normally (and not just mashing on the keyboard as my .mov file demonstrates). However, it is 100% reproducible, has been reported to Apple, and hopefully will be fixed soon.
-- Simone
Posted by: Pete at August 27, 2005 06:23 AM
Mine didn't crash. Have reloaded it several times.
PB G4 1.67ghz
Tiger 10.4.2
build 412.2.2
Posted by: Michael Madsen at August 27, 2005 09:17 AM
Instantly crashed Safari 2.0 on 10.4 (plain vanilla)
Posted by: new reader at August 27, 2005 10:40 AM
No crash in Safari v1.3 under 10.3.9 - tried to reload it several times, with and without PithHelmet.
It looks to me like the majority of reported crashes are running Tiger ander Safari v2 ?
Posted by: tasnu at August 27, 2005 11:05 AM
well, there's something awfully wrong with that gif. it looks like trash when rendered in icab. or rather, it looks good to begin with but as the animation starts the colors change and start to flicker in a disturbing manner.
Posted by: Ben Reubenstein at August 27, 2005 11:23 AM
torched my safari ~
Posted by: sennosen at August 27, 2005 11:44 AM
No crash: Safari 1.0.3 (v85.8.1) / Camino 0.9a2+ on 10.2.8 (Jagwire)
Yeah, I know, but still.
Thanks for providing the check!
Posted by: ben at August 27, 2005 11:48 AM
Crashed Safari 412.2.2 /10.4.2 on 2nd refresh of kthmlwebkit_crasher.gif opened in 2nd tab of two tabs opened. No Safari enhancements except Debug menu enabled (with TinkerTool.app 3.5)
Posted by: Mark at August 27, 2005 12:01 PM
OS X 10.3.9
Safari 1.3 (v312)
Saft 7.7.2
No crashes, but just for clarity, the image will eventually stop cycling through text and stops.
I _have_ however, experienced numerous repeatable crashes--most frequently due to ads on weather.com. I think they are flash ads, but they may have embedded animated gifs.
Posted by: jojo at August 27, 2005 02:27 PM
I tried this yesterday and it crashed right away every time. Today I tried it and even reloaded the image multiple times, but no crash.
Posted by: Matt C. at August 27, 2005 03:17 PM
On first reload, Shiira 1.1 ate it hard. Blue image turned magenta, then out like a light.
Posted by: Paul at August 27, 2005 04:23 PM
Well that image didn't crash Safari for me (10.4.2 + all security patches from Apple).
Posted by: Alidoro at August 27, 2005 09:03 PM
Crashed OS X 10.4.2
Posted by: Richardd_x at August 27, 2005 10:12 PM
Safari - Version 2.0 (412.2.2) - Crash, Reproduceable
Camino - Version 2005082704 (0.9a2+) - No Crash
Posted by: Bill Cole at August 28, 2005 01:48 AM
On my Powerbook running 10.4.2:
Camino Version 2005042806 (0.8.4) - OK.
Safari Version 2.0 (412.2.2): first time OK. Reload crashed it. Subsequent attempts to access image crash immediately.
Opera Version 8.01 (Build 2092) - OK.
IE 5.2.3 (5815.1) - OK.
Posted by: dirkstoop at August 28, 2005 08:46 AM
10.4.2 w/ SecUpd2005-007Ti.pkg (1.0)
Safari 2.0 (412.2.2) w/ debug menu on, no other hacks
crashed on third load/2nd reload
no other tabs or windows
pobo g4 15" 2gb 1.5ghz (adb keyboard)
no other apps open except finder
later:
installed pithhelmet,
same result:
keeps crashing on the third load/second reload consistently
---other machine---
10.4.2 w/ SecUpd2005-007Ti.pkg (1.1)
Safari 2.0 (412.2.2) w/ debug menu on, pithhelmet installed
crashed on third load/2nd reload
no other tabs or windows
pobo g4 12" 1.25gb 1.33ghz
no other apps open except finder
Posted by: Bruce at August 28, 2005 03:21 PM
I use Privoxy (www.privoxy.org) to de-animate GIFs, so it doesn't crash Safari here.
Posted by: Zax at August 29, 2005 02:09 AM
Look what I found:
If you download the image on your HD (option click on the image link), then open it with Safari, it doesn't crash!!!
You can reload it as much as you want, if it's a local copy it doesn't crash.
Also interesting is that I put the file on my own Apache web server, but when I access it on the same computer the GIF doesn't crash Safari even with reloads...
So what's different about displaying this GIF from an external server that makes it crash?
Anyway, maybe it only works on my Mac, but can anyone confirm that a local copy of the GIF doesn't crash Safari 2.0 and other WebKit apps?
(Note: I'm running 10.4.2 with all updates and Safari 2.0 on a G3 with 320 megs of RAM)
Posted by: tim at August 29, 2005 06:11 AM
OmniWeb 5.1.1 - no crash (animate images turned off in prefs)
Safari 2.0 - crashes
10.4.2 mac mini
Posted by: John C. Randolph at August 29, 2005 07:36 AM
Dude,
When you see something like this, go ahead and file a bug report yourself. Don't wait for someone at Apple to spot in on your blog and report it for you. Until you file it, it's not a bug, it's just a gripe.
http://bugreporter.apple.com/
-jcr
Posted by: keloide at August 29, 2005 09:56 AM
Didnt crash Safari
the long and ununderstandable explanation did crash me brain tho...
Posted by: jesse steffen at August 29, 2005 12:05 PM
im running 10.4.2 on a g5 2.0ghz iMac with 1gb of ram and that shit crashed my safari. i was able to see it for a split second until it totally just forced quit itself.
Posted by: Robert Goldsmith at August 29, 2005 02:51 PM
Had a poke at the image (which does crash my safari) and found the following:
1) ImageReady will open it but mangles frames 13-16 (doesn't clear the previous image blocks before rendering new ones).
2) The global header states there is one colour map but frames 9 and 13 don't specify that they use the global map. They also don't provide their own map.
In other words, the image is broken. If you can get it to play, expect 'trash' pixels in the animation and possibly weird colour effects - depending on how the player handles it.
I would assume the imageIO crash is due to referring to a non-existent colour map or decoding image data as if it was a colour map. Neither are a good idea :)
Posted by: Tom at August 29, 2005 04:24 PM
Not fixed in 2.0.1 (412.5)
Posted by: Lee at August 29, 2005 04:32 PM
Just updated to 2.0.1. Not crashing anymore.
Posted by: Pete at August 29, 2005 05:23 PM
I'm not sure what Lee is talking about, but still crashes with 2.0.1.
Posted by: Jim at August 29, 2005 05:54 PM
Yeah, I agree with Pete. It crashed easily under the last 10.4.2 Safari (sorry don't know the version) but crashes less often for me with the latest 2.0.1. It still crashes though. It took about 5 reloads to crash where before it would always crash immediately.
Posted by: pat at August 29, 2005 06:30 PM
I have had this crash happen to me alot on MYSPACE.COM!!!
UGG
i Hate windows ppl who put this junk on their myspace
lol
Posted by: Gary Reed at August 29, 2005 08:25 PM
I must be special. No crash here
Posted by: Aidan at August 29, 2005 09:06 PM
Jim's correct.
It still crashes with 2.0.1.
It looked like it was completely fixed, but it just takes a few reloads and it'll crash.
Posted by: "Not yet using Tiger" at August 29, 2005 09:20 PM
After updating to Version 1.3.1 under Mac OS X 10.3.9, and I cannot get the image to crash Safari no matter how many times I reload it, etc.
Posted by: cheeba cheeba at August 29, 2005 10:55 PM
i don't get it. it doesn't crash for me, on safari 2.0 or 2.0.1, using osx 10.4.2, imac G5 20". Just brings up that annexion communications gif.
Posted by: Benoit at August 30, 2005 02:10 AM
One-upmanship:
I've encountered an animated gif that not only crashes Safari, it crashes Preview.
OTOH, when I downloaded the "safari image of doom" touted here, though it did crash Safari 2.0 as advertised, it opened with nary an hiccup in Preview. . .
Anybody interested in poking around in the guts of my profligate little giffer? Just let me know and I'll forward it posthaste.
Posted by: Raytube at August 30, 2005 02:21 AM
No crashes for me, 10.3.9, Safari 1.3(V312). I refreshed a dozen times, I also have 4 different browser windows open with at least ten pages tabbed in them so it doesn't seem to have been overloaded due to that either.
Posted by: Tim at August 30, 2005 02:37 AM
I'm in Tiger and completely up-to-date, except for today's Safari update... the image of doom didn't doom my Safari... it loaded just fine.
Posted by: Gabs at August 30, 2005 04:27 AM
No crash for me, running Safari Version 2.0 (412.2.2)
first loaded the image into a new tab in the background!
Posted by: Tudor Vedeanu at August 30, 2005 05:07 AM
10.4.2 / Safari 2.0.1 - crash after 3-4 seconds.
Posted by: AM at August 30, 2005 04:11 PM
No crash for me.
OS 10.3.9
Safari 1.3.1 (v312.3)
PB G3 Pismo, 512MB RAM (161MB free)
I think Apple patched this.
AM
Posted by: Memo at August 30, 2005 06:44 PM
I've got 10.3.9 and Safari 1.3 (v312), but nothing happens. I've tried opening it in different ways but nothing happens.
Posted by: macaholic at September 1, 2005 10:54 AM
Loaded fine for me! Safari 1.3.3 (v312.3) running panther 10.3.9 with all updates.
Posted by: fudo at September 3, 2005 01:07 PM
Well, if you need any more datapoints; I just installed 10.4, updated to 10.4.2, sec update 05007, Safari update 2.0.1. No crash, even with mupltiple reloads, and both top and Activity Monitor running to make sure there was some load on the system.
System is a G4 AGP with a 1GHZ processor upgrade, fwiw (prolly not much).
Posted by: Carl Otto at September 9, 2005 08:39 PM
0x91919160 in readGifImage ()
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x05cfe000
0x91919160 in readGifImage ()
(gdb)
I got that via the developer tools and attaching GDB.
Posted by: Adrian at September 18, 2005 10:58 AM
I just got OSX Tiger yesterday. I did away with Panther (which worked fine!) I did a CLEAN install of 10.4 (not an upgrade), updated to 10.4.2 and that's when it all went downhill. It's not just the "image of doom" here, it's ANY animated stuff, macromedia, flash, whatever, it pretty much all seems to crash Safari. Even after updating Safari to 2.0.1, it still crashes!
System Specs:
PowerBook G4
1.5 Ghz
512 Ram
Guess I'll have to use FireFox or Opera from now on?
Posted by: Denis Ahrens at September 22, 2005 09:17 PM
It seems that this problem is fixed with the 2005-008 security update!
Posted by: Tim Germer at September 23, 2005 02:43 PM
Fixed!
Posted by: chico rasia at October 20, 2005 08:36 PM
try this one:
http://www.claudiosoares.com.br/clientes/nobla/english/index2.htm
by the way, it was all made on fireworks and macromedia for Mac....
Posted by: Mark at March 30, 2006 12:11 PM
Image loaded fine using Safari 2.0.3, on a Powermac G5 dual.
Posted by: doblezeta at April 3, 2006 07:03 PM
Fixed in 10.4.6 :) good job apple :)








FYI, it doesn't crash with a CVS HEAD build of WebKit.