• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
advanced debugging?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

advanced debugging?


  • Subject: advanced debugging?
  • From: Alex Hall <email@hidden>
  • Date: Wed, 14 Oct 2015 08:59:33 -0400

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@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: advanced debugging?
      • From: Jens Alfke <email@hidden>
    • Re: advanced debugging?
      • From: Kevin Meaney <email@hidden>
    • Re: advanced debugging?
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Question about embedding a framework
  • Next by Date: Re: advanced debugging?
  • Previous by thread: Re: Question about embedding a framework
  • Next by thread: Re: advanced debugging?
  • Index(es):
    • Date
    • Thread