Hi,
I used to get this error when the number of locks
and unlocks (for example, locking the lib globals)
don't match. Assuming the "example shared library"
structure, you would be locking and unlocking
library globals in each lib call.
Hope this helps...
--- Alan Pinstein <[EMAIL PROTECTED]> wrote:
> Ok, I'm running the EXACT same prc on a real PIIIx
> and on POSE with the
> IIIx Debug ROM. My program uses a shared library,
> calling SysLibLoad() on
> launch and SysLibRemove() on quit. It works
> perfectly, returning no error
> on either device. BUT, on the real device, the 15th
> time I run the app it
> crashes with a chunk overlocked in SysLibLoad().
> Makes perfect sense. But
> why the heck isn't SysLibRemove() unlocking the code
> resource chunk? I have
> looked at the sources and don't see anything too
> fishy, unless the Shared
> Lib table is getting corrupted somehow.
>
> I'd appreciate any hints. BTW - the program is
> Launch 'Em. This error is
> occuring in a bug-fox release that I am compiling
> with CW MAc R/5. This
> part of the code was not changed. I have tested on a
> PV and it doesn't
> crash, either.
>
> I am lost on this one.
>
> Thanks,
>
> Alan Pinstein
> Synergy Solutions, Inc.
> http://www.synsolutions.com
> 1-800-210-5293
>
>
>
>
===
Ion Popescu
[EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com