When using msgpack with luvit (version 2.18.1) an segfault occur. It seems that was happening with encoded floats, it means that when decoding floats value, a segfault happen when quitting luvit repl (and from script too).
Valgrind shown a free error within luajit (some address out of bound)
So, to correct that, I added the string length as a third argument to "ffi.copy" which avoid this behavior.
When using msgpack with luvit (version 2.18.1) an segfault occur. It seems that was happening with encoded floats, it means that when decoding floats value, a segfault happen when quitting luvit repl (and from script too). Valgrind shown a free error within luajit (some address out of bound)
So, to correct that, I added the string length as a third argument to "ffi.copy" which avoid this behavior.