Page 1 of 1

Crash loading with luajit on OS X

Posted: 31 Mar 2016, 05:25
by ahundt
I've tried setting up luajit, building the v_repLua libraries and linking them to luajit as installed by

http://brew.sh/

brew install luajit


I'm using cmake to link and that seems to work fine, then when I run I get a crash in the dylib function that makes the call to lua to load things up.

Re: Crash loading with luajit on OS X

Posted: 31 Mar 2016, 10:37
by coppelia
Hello,

yes, we have the same problem on MacOSX, and still don't know where it comes from unfortunately.

What the library is doing, it is simply forwarding the calls either to Lua or Lua JIT. If you make the library link to Lua, then it works fine.
The library is a simple wrapper, so I can't think of what is going wrong, except maybe in the Lua JIT part..

Cheers

Re: Crash loading with luajit on OS X

Posted: 16 Apr 2016, 00:46
by ahundt
Perhaps luajit has an issue tracker where this could be reported? That looks to be the case!

http://luajit.org/list.html

seems reporting issues is encouraged: http://luajit.org/status.html