Re: Increasing your app's stack size
Re: Increasing your app's stack size
- Subject: Re: Increasing your app's stack size
- From: Jack Repenning <email@hidden>
- Date: Wed, 19 Sep 2007 14:51:42 -0700
On Sep 19, 2007, at 2:21 PM, Mark Thomas wrote:
But looking at this technote it should possible ? - but at the
minute this
is a hunch, it there a way to tell from a crash log it's this issue.
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x93235834
CFURLCopyAbsoluteURL + 80
..
...
175 com.bt.220v 0x00007cb0 start + 56
That's consistent with a stack overflow; for example, the program
below crashes with GDP reporting EXC_BAD_ACCESS (after 262071
frames ... don't single-step this at home, kids! ;-). But you only
show 175 frames, which is really not very many. My program has
really tiny frames, of course, and yours might conceivably have
frames fat enough to exhaust available space so quickly, but it seems
quite unlikely.
Do you have any info about this URL that's being CopyAbsoluted? Is
it something you provided? Maybe it's malformed.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#include <stdio.h>
void something(int frame) {
something(frame+1);
}
int main (int argc, const char * argv[]) {
// insert code here...
printf("Hello, World!\n");
something(0);
return 0;
}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning
_______________________________________________
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