MallocDebug "Unable to read malloc information from..."
MallocDebug "Unable to read malloc information from..."
- Subject: MallocDebug "Unable to read malloc information from..."
- From: email@hidden
- Date: Thu, 06 Sep 2007 18:43:28 -0700 (PDT)
Environment: Xcode 2.4.1
Code: ANSI C -- Project: Command-Line C as a Utility
I would like to observe malloc using the MallocDebug Performance Tool.
So I launch it within my project (no need to browse).
What I got was the alert:
"Unable to read malloc information from /Users/Ric/workarea/C_workspace/test/build/Debug/test".
The console said:
Sep 6 18:26:57 RicMac crashdump[630]: crash report written to: /Users/Ric/Library/Logs/CrashReporter/test.crash.log
The crash log has the following info:
Host Name: RicMac
Date/Time: 2007-09-06 18:26:57.412 -0700
OS Version: 10.4.10 (Build 8R2218)
Report Version: 4
Command: test
Path: /Users/Ric/workarea/C_workspace/test/build/Debug/test
Parent: MallocDebug [626]
Version: ??? (???)
PID: 629
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000003
Thread 0 Crashed:
0 libSystem.B.dylib 0x90002725 getenv + 78
1 libMallocDebug.A.dylib 0x9ab60b9d MDmalloc + 67
2 test 0x00098ef6 myFunction + 32 (main.c:14)
3 test 0x00098f6b main + 65 (main.c:35)
4 test 0x00001e5a start + 258
5 test 0x00001d81 start + 41
..
So I created a NEW project, using just the template that says "Hello World".
The following is what the console said (notice no crash log):
Sep 6 18:31:54 RicMac mdimportserver[633]: /Users/Ric/workarea/C_workspace/whatis
Sep 6 18:31:54 RicMac mdimportserver[633]: Unable to open whatis Database
Sep 6 18:31:54 RicMac mdimportserver[633]: Man page not found in whatis database. Falling back
-----
Again, I got the same mallocdebug error alert. This time without the crash log.
What am I missing, how can I fix this?
Ric.
_______________________________________________
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