I was surfing the web looking for dumb stuff and ran across the Brawndo site. Noticing that a new logo was available, I quickly downloaded it and observed that the Dock proceeded to crash, restart, crash, restart, and so on. Thinking it was just another temporary “Leopard has gone batshit insane” moment (I’ve experienced more than a few of these), I rebooted the box. Imagine my surprise when after rebooting, the Dock continued to crash and restart.

First order of business: stop the Dock from crashing. I headed to the Dock.app folder and renamed the executable within to Dock.old. After doing this I was finally able to attach gdb to it and grab a backtrace from the crash:

#0  0x95077680 in objc_exception_throw ()
#1  0x91760108 in -[NSObject doesNotRecognizeSelector:] ()
#2  0x9175e704 in ___forwarding___ ()
#3  0x9175e998 in __forwarding_prep_0___ ()
#4  0x91687ba4 in CFArrayAppendValue ()
#5  0x95581e2c in storeDataInXMPDictionary ()
#6  0x96b4e308 in xmlParseAttributeType ()
#7  0x96b22be4 in xmlParseElement ()
#8  0x96b237c8 in xmlParseContent ()
#9  0x96b227fc in xmlParseElement ()
#10 0x96b237c8 in xmlParseContent ()
#11 0x96b227fc in xmlParseElement ()
#12 0x96b237c8 in xmlParseContent ()
#13 0x96b227fc in xmlParseElement ()
#14 0x96b237c8 in xmlParseContent ()
#15 0x96b227fc in xmlParseElement ()
#16 0x96b237c8 in xmlParseContent ()
#17 0x96b227fc in xmlParseElement ()
#18 0x96b1fbf8 in xmlParseDocument ()
#19 0x96b1d95c in xmlSAXParseMemoryWithData ()
#20 0x95580778 in readXMPProps ()
#21 0x955a2d10 in readXMPData ()
#22 0x955a0708 in initImageJPEG ()
#23 0x95572eb4 in makeImagePlus ()
#24 0x95577c74 in CGImageSourceGetPropertiesAtIndex ()
#25 0x95577ba8 in CGImageSourceCopyPropertiesAtIndex ()
#26 0x94fb9b70 in _QLCreateThumbnailWithImageSource ()
#27 0x94fba138 in _QLCreateThumbnailWithImageIO ()
#28 0x94fbe8e4 in QLThumbnailRequestSetImageAtURL ()
#29 0x94fbd44c in _QLImageGenerateThumbnailForFile ()
#30 0x94fbdf34 in _QLThumbnailRequestDispatch ()
#31 0x94fb7090 in _QLThumbnailGetImageIfNecessary ()
#32 0x94fb7370 in QLThumbnailCopyImage ()
#33 0x94fb744c in QLThumbnailImageCreate ()
#34 0x000acc4c in ?? ()
#35 0x912deda0 in __NSThread__main__ ()
#36 0x92614bfc in _pthread_start ()

Hmm, I see Quicklook and some Quartz jpeg loading stuff in there. Wonderful. Time to use fs_usage and see which file was causing the grief.

“brawndo_logo.jpg”

No way. This is just too funny. Filed as bug rdar://problem/5657300. Head to the brawndo site to download the file for yourself, if you dare. Anything which uses Quicklook to generate image thumbnails will crash and burn on this file.

Postscript: I realize that this is probably a Quartz issue - however Safari doesn’t blow chunks when it tries to load the file and I’m not going to dig any deeper.

Post-postscript:Wolf dug deeper.

Explore posts in the same categories: General, OS X

One Comment on “Brawndo - The Quicklook MUTILATOR”

  1. pete_h Says:

    That image was generated from Adobe Illustrator 13.0, and the original artwork is a composite of vector shapes with a raster texture over it. I wonder if there’s something odd with the way Illustrator writes JPEGs.

Comment: