[LLVMdev] Invalid or unaligned stack

Dibyendu Majumdar mobile at majumdar.org.uk
Thu Apr 2 16:50:20 PDT 2015


On 1 April 2015 at 20:28, Dibyendu Majumdar <mobile at majumdar.org.uk> wrote:
> On 1 April 2015 at 17:06, Reid Kleckner <rnk at google.com> wrote:
>> This isn't enough info to solve the problem. Pasting the LLVM IR or C code
>> that calls setjmp and a stack trace of the crash might help figure it out,
>> though.
>
> Yes I am working on isolating the issue. There is all the Lua
> infrastructure - don't know if I can eliminate that ...
>

Looks like the error reported by MSVC was incorrect - the actual issue
was caused by a part of Lua (the debug API) that I had not fully
tested in the JITed environment. Thanks to help from Address Sanitizer
I was able to find the real issue and have applied fixes.

Thanks and Regards
Dibyendu



More information about the llvm-dev mailing list