Crash loading with luajit on OS X

Report crashes, strange behaviour, or apparent bugs
Post Reply
ahundt
Posts: 112
Joined: 29 Jan 2015, 04:21

Crash loading with luajit on OS X

Post by ahundt » 31 Mar 2016, 05:25

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.

coppelia
Site Admin
Posts: 6736
Joined: 14 Dec 2012, 00:25

Re: Crash loading with luajit on OS X

Post by coppelia » 31 Mar 2016, 10:37

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

ahundt
Posts: 112
Joined: 29 Jan 2015, 04:21

Re: Crash loading with luajit on OS X

Post by ahundt » 16 Apr 2016, 00:46

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

Post Reply