semantic error: unable to find member 'ptr32' for struct MRef
Opened this issue · 2 comments
My Environment: Centos 7, openresty-1.15.8.1
[root@localhost workspace]# uname -a
Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost workspace]# lj-lua-stacks.sxx --arg time=10 --skip-badvars -x 18767
Found exact match for libluajit: /home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0
semantic error: while processing function luajit_G
semantic error: unable to find member 'ptr32' for struct MRef (alternatives: ptr64): operator '->' at stapxx-cyF6xeHE/luajit.stp:162:103
source: return @cast(L, "lua_State", "/home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->glref->ptr32
^
semantic error: unable to find member 'ptr32' for struct MRef (alternatives: ptr64): operator '->' at :162:103
source: return @cast(L, "lua_State", "/home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->glref->ptr32
^
semantic error: unable to find member 'ptr32' for struct MRef (alternatives: ptr64): operator '->' at :162:103
source: return @cast(L, "lua_State", "/home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->glref->ptr32
^
these tools need to be updated since the latest openresty(1.15.8.1) has enabled GC64 by default.
patches welcome :)
@samuelyao314 Potential fix in #48