Alex Wilson
2014-08-05 13:32:49 UTC
I'm trying to use LuaJIT to run some code on Solaris, and it's consistently crashing with a SIGSEGV.
It's built in 64-bit mode, which seems to be a bit touch and go sometimes, but...
http://hastebin.com/eratovebiw.txt
is the output from -jdump, followed by the output from mdb when it crashes (with SIGSEGV)
http://hastebin.com/egaromudom.lua
is the code it was generating a trace from
It seems to generate a movl into 0xfffffffffefde4a0, which is a pretty wild-looking pointer, way above any of the mapped regions in memory. It's right at the beginning of the trace, too -- so would it be lining up with the beginning of the IR too? So that movl is being generated from the FLOAD on func.env?
Any ideas why this might be happening?
Thanks!
It's built in 64-bit mode, which seems to be a bit touch and go sometimes, but...
http://hastebin.com/eratovebiw.txt
is the output from -jdump, followed by the output from mdb when it crashes (with SIGSEGV)
http://hastebin.com/egaromudom.lua
is the code it was generating a trace from
It seems to generate a movl into 0xfffffffffefde4a0, which is a pretty wild-looking pointer, way above any of the mapped regions in memory. It's right at the beginning of the trace, too -- so would it be lining up with the beginning of the IR too? So that movl is being generated from the FLOAD on func.env?
Any ideas why this might be happening?
Thanks!