Guard Malloc in Xcode 4.3.2?
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