21 Sep
2012
21 Sep
'12
5:40 p.m.
Am 21.09.2012 18:20, schrieb Nat Linden:
exit.cpp does link successfully with this new library, but its runtime behavior is unchanged:
main: call start_fcontext( & fcm, fc1, 0) f1: entered f1: call jump_fcontext( fc1, fc2, 0) f2: entered f2: call jump_fcontext( fc2, fc1, 0) f1: return
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x00000000 0x9afb9820 in misaligned_stack_error_ () (gdb) where #0 0x9afb9820 in misaligned_stack_error_ () #1 0xac435d70 in std::wclog () 'exit' has returned from f1() and should now jumped to label 'finish' (in make_fcontext()) in order to call exit(0). seams that the stack pointer isn't valid - hard to fix without debugging. Unfortunately I've no Mac OS X :/
Oliver