the fact that free causes crashes imply you wrote outside the area you
allocated. fix that
----
Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Mar 6, 2009 at 6:29 AM, Darren <[email protected]> wrote:
> Hello,
> am trying to allocate a simple small chunk (2048 bytes)on the dynamic heap 
> using these two calls.
> The application is a 'DAcc' desk accessory, primarily for use on a TX (NAND?) 
> and a TG50.
>
> Keeps resetting ???? sometimes when the desk accessory is initially invoked, 
> sometimes when the desk accesory is going through 'cleanup' (MemHandleFree, 
> MemPtrFree, etc.), sometimes after two or three invocations.
>
> The malloc is for a simple list, that remains in memory during the lifetime 
> of the application.
>
> Have had some luck with FtrPtrNew, but am still getting resets if the 
> allocation is freed using FtrPtrFree.
>
> Have trawled through some of the posts here, and now a possible explanation 
> is that the nand nvfs, is the issue.
>
>
> The questions are.
> Is it possible to use Memory Manager (dynamic heap) or Data Manager(storage 
> heap) calls to allocate a small, preferably locked chunk, on a TX?
> If so then how please ?
>
> many thanks and much regards
>
> Darren
>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe, 
> please see http://www.access-company.com/developers/forums/
>

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to