Ok. Got the response on another list. The name "table" in the test case is causing problem.
The test case needs to be updated to not use keyword "table" as a name for table. Abhishek Dikshit
From: luajit [mailto:luajit-bounces@lists.linaro.org] On Behalf Of Dikshit, Abhishek Sent: Friday, August 26, 2016 2:53 PM To: luajit@lists.linaro.org Subject: VM error while trying to dump emitted machine code in tnew.lua
Hi All I am getting following error when I try to dump the machine code for test/tnew.lua
$ ./luajit -jon -jdump=m ../test/tnew.lua ---- TRACE 1 start tnew.lua:1 ---- TRACE 1 mcode 316 VM handler failed: ./jit/dis_arm.lua:439: attempt to call upvalue 'concat' (a nil value)
$ ./luajit -jon -jdump=m ../test/tnew.lua ---- TRACE 1 start tnew.lua:1 ---- TRACE 1 mcode 384 VM handler failed: ./jit/dis_arm64.lua:755: attempt to call upvalue 'concat' (a nil value)
The error is seen on ARM64 and ARM32 but not on x64. I am having tough time to debug the asm_tbar function for failure of test_tnew. Any suggestion is welcome.
Abhishek Dikshit