> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000020
[quoted text clipped - 16 lines]
> I tried "scrubbing" the string by getting its lossyCString representation and then using that but it always crashes.
> Has anyone else seen this kind of crash before?
Let me guess, you're doing something like:
NSLog(stringIWantToDisplay);
Don't do that. If your string contains % characters, NSLog will see them
as format characters and will look for more arguments. Since you didn't
pass the proper arguments, you'll explode. Instead, do this:
NSLog(@"%@", stringIWantToDisplay);
If this isn't your problem, please post some code; without it, I can't do
more than guess.
Gabriel Handford - 29 Nov 2004 16:30 GMT
>>Exception: EXC_BAD_ACCESS (0x0001)
>>Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000020
[quoted text clipped - 29 lines]
> If this isn't your problem, please post some code; without it, I can't do
> more than guess.
Yup thats it.. uh im so dumb... i always NSLog("%@", ) but for some reason on this line i didn't and my eyes couldnt see it..
Thanks!
-gabe