Dear All,

I have a palm application, developed using CW7 and Palm OS SDK4, works fine
on many devices until Palm OS 5.

On the real device (Tungsten and Zire), I am getting the fatal alert as
"Emul68KCommons.c, Line:562 Odd address" whenever I start the application
and do something with it.



Now I moved on to CW9 and freshly built using SDK5. When debug the
application I can see simulator crashing and the debug log shows following
message



i:\src\core\emul68k\src\emul68kcommon.c, Line:559, Odd address
i:\src\core\emul68k\src\emul68kcommon.c, Line:2027, Invalid ptr: 4A40584F



The behavior is exactly same in most of the versions of simulator.



When I try to step through the code using debugger, I found that everything
happens while executing statement "ErrTry" but not all "ErrTry"s crashing
the simulator.



To my surprise, if I takeout ErrTry/ErrCatch/ErrEndCatch from the function
where error occurs, the application works fine. Of course until one more
problematic ErrTry is encountered.



This problem is driving me crazy.

Hopefully someone from this forum enlightens me on this issue otherwise I
have to remove ErrTry and Catch from my application entirely, which is
mammoth task itself.



Thanks and Regards,

Ven.



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

Reply via email to