Re: Resolving a crash address to position in code
Re: Resolving a crash address to position in code
- Subject: Re: Resolving a crash address to position in code
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 18 Apr 2011 13:38:31 -0600
On Apr 18, 2011, at 1:26 PM, Peter Hudson wrote:
> Hi all,
>
> I seem to have acquired a repeatable crash problem - which has only just appeared.
> The log looks like this :-
>
> OS Version: 10.4.11 (Build 8S2167)
> Report Version: 4
>
>
> PID: 223
> Thread: 0
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_INVALID_ADDRESS (0x0001) at 0x50000079
>
> Thread 0 Crashed:
> 0 libobjc.A.dylib 0x90a594c7 objc_msgSend + 23
> 1 WattWenn 0x00058bb5 0x1000 + 359349
> 2 com.apple.AppKit 0x93362dbc -[NSApplication sendAction:to:from:] + 107
> 3 com.apple.AppKit 0x93362d15 -[NSControl sendAction:to:] + 101
> 4 com.apple.AppKit 0x93364ec1 -[NSCell _sendActionFrom:] + 168
> 5 com.apple.AppKit 0x933776a1 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1271
> 6 com.apple.AppKit 0x93395289 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 848
> 7 com.apple.AppKit 0x93394b39 -[NSControl mouseDown:] + 757
> 8 com.apple.AppKit 0x933523e3 -[NSWindow sendEvent:] + 5279
> 9 com.apple.AppKit 0x93344384 -[NSApplication sendEvent:] + 5023
> 10 com.apple.AppKit 0x9326ee1e -[NSApplication run] + 547
> 11 com.apple.AppKit 0x93262d4f NSApplicationMain + 573
> 12 WattWenn 0x00002632 0x1000 + 5682
> 13 WattWenn 0x00002559 0x1000 + 5465
>
> How do I resolve the point in my code where the crash seems to come from -
>
> ( 1 WattWenn 0x00058bb5 0x1000 + 359349 )
>
> to a line in code ?
Did you save the dSYM from when you built the shipping product? If so, then you can use dwarfdump with the --lookup option to look up that address. Don't forget to include the architecture from the crash log. If not, then I don't think you can look that up.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden