Re: "Program exited with status value:45. mi_cmd_stack_list_frames_lite: No stack." Eh?
Re: "Program exited with status value:45. mi_cmd_stack_list_frames_lite: No stack." Eh?
- Subject: Re: "Program exited with status value:45. mi_cmd_stack_list_frames_lite: No stack." Eh?
- From: Jonathan del Strother <email@hidden>
- Date: Tue, 19 Jul 2005 11:13:15 +0100
On 19 Jul 2005, at 06:09, Sailesh Agrawal wrote:
Jonathan del Strother wrote:
I'm trying to debug my program. It runs for a while, then
suddenly quits. No crash log is left, and gdb doesn't catch
anything. All I get is this in the debug console:
Program exited with status value:45.mi_cmd_stack_list_frames_lite:
No stack.
It runs fine without the debugger attached. Any bright ideas?
some ideas:
1. it might be that you're throwing an exception that is never
caught. though i don't know why this would only happen in debug
mode. you can tell XCode to break on all exceptions (Debug - Stop
on C++ throw).
2. it might be something is corrupting your stack really badly. Try
debugging with guarded memory allocated.
http://developer.apple.com/technotes/tn2004/tn2124.html#SECGMALLOC
Good ideas, but no luck with them.
After copious amounts of NSLogging, I traced the problem to this line :
[[NSMovie alloc] initWithURL:url byReference:YES];
which is breaking for one specific file. Annoyingly, iTunes manages
to load the file fine, so I can't just blame the file...
Any further suggestions on preventing this from taking down my entire
program?
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden