luajit2.0.0 — Segmentation fault: 11
问题 I use a simple example from http://lua-users.org/wiki/SimpleLuaApiExample to make a test. The sample can be statically linked with libluajit.a with a success, but this error message occurs when you run it: Segmentation fault: 11 I use LuaJIT-2.0.0 released at 2012-11-08. My OS is Mac OSX Lion 10.7.5. $ uname -a Darwin macmatoMacBook-Pro.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 The test steps: compile luajit-2.0.0 $ cd