I'm porting a Symbian C++ application to S60 3rd edition and it works just fine on the emulator. Yet I'm having puzzling problems while running on Nokia 3250 or N91.
I'm getting KERN-EXEC 27 whenever it leaves. If nothing is on the clean-up stack between the leave and the TRAP where the execution should resume then it just panics KERN-EXEC 27. If something was on the clean-up stack, destructors get called as one would expects then it panics KERN-EXEC 27. In other words it never resumes the execution from the latest TRAP in the call-stack instead it just panics with KERN-EXEC 27.
So my application is broken since as Symbian application do I don't want to terminate my program upon the first leave but rather trap and handle the error.
Now KERN-EXEC 27 is described as : This panic is raised when an executive call is made with an invalid call number. which does not tell me much.
I'm using the GCCE compiler. I'll keep trying to find the cause of that problem. Do you think it could help to use RVCT compiler and ARMV5?