Valerio Schiavoni
2014-07-25 13:47:47 UTC
Hello,
I think there's a memory leak somewhere in 2.1, which does not exhibit in 2.0.3.
To reproduce the bug:
git clone https://github.com/vschiavoni/all-distance.git
cd all-distance
luajit all-distance.lua
This is a 22-lines single-file Lua program: it imports a big table
from 3 other lua files (also in the repository) and it iterates over
the entries.
On my machine (Mac OSX 10.9), LuaJIT 2.1 (freshly cloned) crashes more
or less around the the time the program prints '651' (thought slight
variations might occur).
LuaJIT 2.0.3 works just fine.
Is this a known problem ? Am I missing something ?
Thanks,
Valerio
I think there's a memory leak somewhere in 2.1, which does not exhibit in 2.0.3.
To reproduce the bug:
git clone https://github.com/vschiavoni/all-distance.git
cd all-distance
luajit all-distance.lua
This is a 22-lines single-file Lua program: it imports a big table
from 3 other lua files (also in the repository) and it iterates over
the entries.
On my machine (Mac OSX 10.9), LuaJIT 2.1 (freshly cloned) crashes more
or less around the the time the program prints '651' (thought slight
variations might occur).
LuaJIT 2.0.3 works just fine.
Is this a known problem ? Am I missing something ?
Thanks,
Valerio