Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory debuggers for MacOS 10.3.9



On 10/27/05, D. Walsh <email@hidden> wrote:
>
> On Oct 27, 2005, at 04:01 , Jonas Maebe wrote:
>
> >
> > On 27 Oct 2005, at 00:00, Mark Wagner wrote:
> >
> >
> >>  I don't happen to have access to 10.4, so are there any
> >> memory debuggers that work on 10.3.9?
> >>
> >
> > You could try electric fence, it's similar to GuardMalloc:
> >    http://perens.com/FreeSoftware/ElectricFence/
> >
> > I've never tried it under OS X, but don't see why it wouldn't work.
> >
> >
> > Jonas
>
> I looked at this before, it doesn't build in Mac OSX unless you
> comment out line 33 of page.c but then it still failed so digging
> deeper into the source I determined that it required a switch.

Thanks.  I found the memory bug that's been plaguing me for some time:
CodeWarrior/CFM does not provide a "uint" type, so our code defines it
in a header file as being 16 bits.  GCC/Mach-O *does* provide it, so
our header file doesn't -- but it's now 32 bits.  Needless to say,
this causes problems when trying to load 16 bits of data from a binary
file.

Thanks,
Mark Wagner
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Memory debuggers for MacOS 10.3.9 (From: Mark Wagner <email@hidden>)
 >Re: Memory debuggers for MacOS 10.3.9 (From: Jonas Maebe <email@hidden>)
 >Re: Memory debuggers for MacOS 10.3.9 (From: "D. Walsh" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.