Fraser Speirs - Dissecting an iPhone Crash Log

> Recent Entries
> Archive
> Friends
> Profile
> www.speirs.org

Links
Photography
April Speirs
Projects
Xjournal
FlickrExport
Feeds
RSS feed
Del.icio.us RSS
Flickr Photos RSS
Reads
Buzz Andersen
Brent Simmons
James D Davidson
bbum
Michael McCracken
Gus Mueller
Other
Amazon.co.uk Wish List
Technorati Profile

June 30th, 2007


Previous Entry Share Next Entry
04:23 pm - Dissecting an iPhone Crash Log
Since we in the UK aren't getting the iPhone until October or so, I've been watching the frenzy across the Atlantic with some detachment. As a developer, though, I'm at no more of a disadvantage than anyone else, thus far. So, when John Gruber posted an application crash log from his new iPhone, it was easily the most interesting part of the whole coverage for me.

Here's the link to his 'first impressions' post, and this is the actual crash log file.

Here are some of the main points of interest:

  • Foundation and CoreFoundation are there.
  • New frameworks:

    • UIKit which, at a guess, is probably the iPhone's version of AppKit.
    • AddressBookUI, presumably some kind of shared contact picker.
    • MobileMail, which I guess is a mail framework.
    • CoreTelephony - phone functions, perhaps? It would be cool if this were made available, particularly to game developers.
    • CoreSurface, which I suppose is the multi-touch driver framework.

  • There appears to be a traditional file system - images and applications are listed by their slash-separated paths.
  • All the frameworks and applications appear to have a UUID associated with them. I suspect this might be part of the mechanism by which Apple maintains the integrity of the software set installed on the device.
  • There's an image called liblockdown.dylib, whose name seems very interesting.
  • The crash report lists the OS Version as "OS X 1.0 (1A543a)" - notice it's not "Mac OS X"
  • Applications appear to be bundles, but simplified bundles. MobileMail's binary is listed at /Applications/MobileMail.app/MobileMail. Notice there's no MobileMail.app/Contents/MacOS/ substructure in that bundle.


Very interesting!

(24 comments | Leave a comment)

Comments:


[User Picture]
From:balatro
Date:June 30th, 2007 03:38 pm (UTC)
(Link)
I'll be posting my Flickr photos shortly (though my pictures, of course, suck). :)

So far it's great. I've had a few issues:

Once on EDGE it locked up loading large images in an email from my friend who was with me.
Once coverflow wouldn't initiate and I had to restart the phone.

Otherwise it's been brilliant.

Oh and 7.3 still blows on Vista. Took a few HOURS to optimize 393 photos.
From:sherryryceq
Date:July 11th, 2008 01:07 am (UTC)
(Link)
My upgrade locked up once due windows not recognizing one of the several devices. After rebooting my PC and phone it continued fine.
From:bennieadomino
Date:August 11th, 2008 03:21 am (UTC)
(Link)
While I may put my pictures on Flickr, I've also got them on my hard drive, and can put them up on Panaramio, or Picassa online.
[User Picture]
From:ydna
Date:June 30th, 2007 04:20 pm (UTC)
(Link)
Is the exception code (0x8badf00d) a standard joke or is that new? It cracked me up.
[User Picture]
From:indeyets
Date:June 30th, 2007 06:33 pm (UTC)
(Link)
[User Picture]
From:ydna
Date:June 30th, 2007 06:39 pm (UTC)
(Link)
I'm familiar with hexspeak and the more popular magic numbers. But this 0x8badf00d was a new one for me. Googling wasn't as helpful as I was hoping. I was wondering if it (this particular one) is a well-known inside joke or are we seeing something new and specific to the iPhone.
From:tpirman
Date:June 30th, 2007 10:00 pm (UTC)
(Link)
"Bad food" is an old joke and is the second example in the linked Wikipedia article. "0x8badf00d" is Apple's slight variation on this chestnut. It has appeared pre-iPhone.
From:eszterygaqe
Date:August 3rd, 2008 04:27 pm (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:katehienonen
Date:August 10th, 2008 09:02 pm (UTC)
(Link)
Today his espresso bar is one of the most popular in all of coffee-rich San Francisco. Caffe Roma, North Beach, San Francisco by William P.
From:elijahsclatter
Date:August 10th, 2008 09:04 pm (UTC)
(Link)
Today his espresso bar is one of the most popular in all of coffee-rich San Francisco. Caffe Roma, North Beach, San Francisco by William P.
From:nathankebner
Date:August 10th, 2008 09:51 pm (UTC)
(Link)
Today his espresso bar is one of the most popular in all of coffee-rich San Francisco. Caffe Roma, North Beach, San Francisco by William P.
From:ulyssesblair
Date:August 10th, 2008 10:08 pm (UTC)
(Link)
Today his espresso bar is one of the most popular in all of coffee-rich San Francisco. Caffe Roma, North Beach, San Francisco by William P.
From:brentgold
Date:August 10th, 2008 10:39 pm (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:milanchaix
Date:August 10th, 2008 10:43 pm (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:rachelhazzelwo
Date:August 10th, 2008 11:11 pm (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:horacevitelle
Date:August 11th, 2008 02:01 am (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:jeromeberan
Date:August 11th, 2008 04:38 am (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:denverkinket
Date:August 10th, 2008 11:06 pm (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:florenciomcque
Date:August 11th, 2008 12:52 am (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:katyklaus
Date:August 11th, 2008 01:18 am (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
From:lonnywethering
Date:August 11th, 2008 03:02 am (UTC)
(Link)
We'll learn one of the most well known Italian proverbs, one that says a lot about Italians and their philosophy of life.
(Deleted comment)
From:elfidel
Date:December 12th, 2007 08:02 pm (UTC)

iPhone crashes

(Link)
Apparently when an app on the iPhone crashes, the phone notices after 30 seconds, writes out a crashlog and continues to work. On next connect with iTunes it wants to post the crashlog.


http://www.hunport.hu/kepeslap/index.php


From:billiehuet
Date:August 10th, 2008 09:10 pm (UTC)
(Link)
8 Midifidler Jan 25th, at pm @Fatlimey I’m a hardware guy If you ever want to trade skills I can give you my IM.
From:beckeresuga
Date:June 25th, 2008 03:06 pm (UTC)
(Link)
Actually great stuff!

> Go to Top
LiveJournal.com