Hello list,
I have a Mac app which was going well until I tried to add a web view. It was 
giving me a lot of trouble, so I've left it out for the moment. However, after 
I tried to remove it, my app stopped working. My debug console shows this 
error, which happens after the main view controller's viewDidLoad method runs:

Cinnamon(1775,0x10086b000) malloc: *** mach_vm_map(size=72018011619328) failed 
(error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

I'm not sure how to fix this. There's nothing in my debug navigator at all, and 
no file seems to be showing any errors.

I'm not asking for help with this specific error; rather, how do I diagnose and 
fix it, and others like it that happen in future, on my own? I can set a 
breakpoint, but what does it mean to do so in malloc_error_break? How might I 
go about finding some kind of stack trace? Would zombies help here, and how do 
I set them up (all instructions I find are for Xcode 4.x)? Are there any other 
tools in Xcode for debugging I should look into?

I can use the errors that show up next to a source code file, and I can use the 
debug navigator. That, combined with the debug console, is usually enough, but 
sometimes--like now--heavier artillery seems to be required. Any ideas or 
resources would be great. Thanks.

--
Have a great day,
Alex Hall
[email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to