search for: err_on_n

Displaying 1 result from an estimated 1 matches for "err_on_n".

2015 Mar 30
3
[LLVMdev] Invalid or unaligned stack
...led exception at 0x00007FFCEEEAC500 (ntdll.dll) in lua.exe: 0xC0000028: An invalid or unaligned stack was encountered during an unwind operation. This is happening when the Lua code is attempting to call longjmp(). The Lua test case that triggers this is a recursive call as shown below. function err_on_n (n) if n==0 then error(); exit(1); else err_on_n (n-1); exit(1); end end do function dummy (n) if n > 0 then assert(not pcall(err_on_n, n)) dummy(n-1) end end end dummy(10) I have a struct that is created on the stack in the JIT compiler, and this error is trigg...