Skip navigation.
 
mlHow to find EXC_BAD_ACCESS bug?
FROM : Andrew Duncan
DATE : Wed Aug 18 00:13:10 2004

My Cocoa app regularly crashes with this bad access error, but every
time I debug the app it (appears to) crash in a different place. Often
this is buried way down in system routines, where the debugger shows
only disassembled op codes. Sometimes this is purely in the NSApp's run
loop, so there is none of my code on the stack. Sometimes it's in my
code, but there's no obviously suspect code nearby.

What are the basic tools/procedures for using Xcode to narrow this down?

Andrew
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlHow to find EXC_BAD_ACCESS bug? Andrew Duncan Aug 18, 00:13
mlRe: How to find EXC_BAD_ACCESS bug? John C. Randolph Aug 18, 00:39
mlRe: How to find EXC_BAD_ACCESS bug? Nick Zitzmann Aug 18, 00:44
mlRe: How to find EXC_BAD_ACCESS bug? Andrew Duncan Aug 18, 00:59
mlRe: How to find EXC_BAD_ACCESS bug? Andrew Duncan Aug 18, 01:03
mlRe: How to find EXC_BAD_ACCESS bug? Nick Zitzmann Aug 18, 01:16
mlRe: How to find EXC_BAD_ACCESS bug? Frederick Cheung Aug 18, 01:29
mlRe: How to find EXC_BAD_ACCESS bug? John C. Randolph Aug 18, 01:29
mlRe: How to find EXC_BAD_ACCESS bug? Stéphane Sudre Aug 18, 21:35
mlRe: How to find EXC_BAD_ACCESS bug? Andrew Duncan Aug 18, 23:35
mlRe: How to find EXC_BAD_ACCESS bug? John C. Randolph Aug 19, 00:38
mlRe: How to find EXC_BAD_ACCESS bug? Andrew Duncan Aug 19, 00:49
mlRe: How to find EXC_BAD_ACCESS bug? Steve Sims Aug 24, 03:25
mlRe: How to find EXC_BAD_ACCESS bug? Sean McBride Aug 24, 04:13
mlRe: How to find EXC_BAD_ACCESS bug? Nick Zitzmann Aug 24, 04:13
mlRe: How to find EXC_BAD_ACCESS bug? Sean McBride Aug 24, 08:20
mlRe: How to find EXC_BAD_ACCESS bug? Steve Sims Aug 25, 01:06
mlRe: How to find EXC_BAD_ACCESS bug? Eric Peden Aug 25, 22:28
mlRe: How to find EXC_BAD_ACCESS bug? Sean McBride Aug 26, 04:58
mlRe: How to find EXC_BAD_ACCESS bug? Steve Sims Aug 29, 00:27
mlRe: How to find EXC_BAD_ACCESS bug? Sean McBride Aug 29, 21:47