Solved (I think): Re: Memory Browser Displays "A A A A"
Solved (I think): Re: Memory Browser Displays "A A A A"
- Subject: Solved (I think): Re: Memory Browser Displays "A A A A"
- From: Rush Manbert <email@hidden>
- Date: Wed, 03 Aug 2005 17:39:02 -0700
David Catmull wrote:
On Aug 3, 2005, at 1:13 PM, Rush Manbert <email@hidden> wrote:
The browser shows its
normal display for the first 8 bytes of the memory range, but the rest
of the display is showing "A A A A" where it normally displays the hex
contents of the memory.
I've seen that happen too. I believe it continued until I restarted
XCode.
I was debugging a memory problem that crashed in pthread_mutex_init. I
was using Guard Malloc, and did not realize what it was doing. My
problem was that operator new malloced less memory than was required
(this will be the subject of a separate post), so when the pthread init
code tried to read past the end of the malloced buffer it failed. (Thank
you Apple for the very clever Guard Malloc code!) As near as I can tell,
the "A A A A" indicates that the memory locations being displayed are in
an invalid page.
- Rush
_______________________________________________
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