Boost logo

Boost Users :

Subject: Re: [Boost-users] [Context] Building 32-bit Context?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-09-21 13:40:41


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net