the call from C sigsetjmp messed up rbp, now sigsetjmp is also written in assembly. I did not test the 32 bit code, just ported the tested 64 bit version over :D