-----Original Message-----
From: Jason Simpkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 1:08 PM
To: Palm Developer Forum
Subject: Re: Chunk Over Locked over on launch, Update


Yes, I miss typed, 10 times.   I have gone over my code a billion (yes
1,000,000,000) times and every call to a MemHandleLock, has a
MemHandleUnlock.  Every call to MemPtrLock has a MemPrtFree.  Also the
program can run days, without any memory problems.   I have narrowed it down
to a FrmOpenForm call though.  So my guess now, is that something internal
to that function is not working properly.

On another note, Why does a call to DmResetRecordState cause a Bus error in
POSER and device?

Any ideas Palm Inc.?

Thanks,
Jason

PS: I have read Neil Rhodes Book cover to cover.


----- Original Message -----
From: "Roger Chaplin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 6:49 PM
Subject: Re: Chunk Over Locked over on launch, Update


> "Jason Simpkins" <[EMAIL PROTECTED]> wrote:
>
> > I've been able to duplicate the problem by starting and stopping the
> > application about 10 tens.
> > This seems to be the magic number.   If the Palm device is Reset, then
the
> > problem goes away.
> > I am really stomped here, am I fighting a CWR5 bug?  Somebody has to
have
> > some idea whats going on.
>
> Do you mean 10 times, or 10 tens of times (i.e. 100)? Would it perhaps
> be 15 times instead of 10?
>
> When I've had that problem, it has been due to using MemHandleLock
> without a subsequent MemHandleUnlock. A memory handle has a 4-bit lock
> counter; this allows for nested lock/unlock calls on the same handle.
> If you lock a handle 15 more times than you unlock it, you overflow the
> counter and that chuck over locked error occurs.
>
> --

> Roger Chaplin
> <[EMAIL PROTECTED]>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to