• 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
Guard Malloc in Xcode 4.3.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guard Malloc in Xcode 4.3.2?


  • Subject: Guard Malloc in Xcode 4.3.2?
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 10 Apr 2012 17:39:07 -0600

I searched around but surprisingly didn't see anyone else having this problem. I'm trying to debug a stack smasher that is happening somewhere, so I tried turning on Guard Malloc, but it's not working. I'm getting this in the debugger log just before dyld gives up on running the executable:

---
warning: Couldn't get real path for inserted library /usr/lib/libgmalloc.dylib

warning: Couldn't get real path for inserted library /usr/lib/libgmalloc.dylib

[Switching to process 11789 thread 0x0]
dyld: could not load inserted library: /usr/lib/libgmalloc.dylib
---

Sure enough, there is nothing installed at that path. I thought Xcode had the library in its application bundle now. How do I get this feature to work in Xcode 4.3.2? I have the command line tools installed.

I already tried searching the Xcode bundle for 'libgmalloc.dylib', and found two, but they were the stub libraries that are in the SDKs, which of course contains no actual code and won't work.

Nick Zitzmann
<http://www.chronosnet.com/>


 _______________________________________________
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: Guard Malloc in Xcode 4.3.2?
      • From: Sean McBride <email@hidden>
  • Prev by Date: Re: All of a sudden, Xcode doesn't run my unit tests
  • Next by Date: Re: Guard Malloc in Xcode 4.3.2?
  • Previous by thread: Re: All of a sudden, Xcode doesn't run my unit tests
  • Next by thread: Re: Guard Malloc in Xcode 4.3.2?
  • Index(es):
    • Date
    • Thread