Ok… fixed by changing line 60 of appli.c from
DECLARE_CALL_STACK( 1024 );
to
DECLARE_CALL_STACK( 2048 );