I found out that exception handling does not work when -fno-rtti flag is on. This shouldn't be the case, i think. Application compiled with -fno-rtti crashes instantly when it leaves the stackframe of the catch clause. Janne - Janne Kontkanen SurRender R&D Hybrid Holding Ltd.