Hello!

I use the gcc and PRC tools for writing my application.
To place some functions to another segment I use the
__attribute__ ((section "secname")) feature of the gcc
with linker script and so on. Everything works fine if
the application is executed from RAM but if I move the
application to flash memory then it crashes with the
error message "MemoryMgr.c, Line:2059, Not a handle"
when I close the application.
No crashes during execution only when I switch to
another app. The problem has definitely something to do
with the multisegmenting because if I only use one
segment then everything works fine. Even if I do not
move any function in the second segment but use the
whole stuff which is neccessary for a multisegment apps.
then it crashes.

So what can I do to avoid this problem?


-- 
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