lua-capnproto icon indicating copy to clipboard operation
lua-capnproto copied to clipboard

segmentation fault in benchmark.lua

Open stuta opened this issue 4 years ago • 1 comments

OSX latest LuaJIT 2.1.0-beta3

luajit benchmark.lua
Benchmarking 	1000000 times.
cjson encode	 Elapsed: 	1.818497s
capnp encode	 Elapsed: 	0.104733s
cjson decode	 Elapsed: 	2.268937s
[1]    52312 segmentation fault  luajit benchmark.lua

stuta avatar May 22 '20 15:05 stuta

I'm experiencing the same issue on Linux 5.3.5. (tested with LuaJIT 2.1.0-beta3 and LuaJIT master branch)

luajit benchmark.lua

Benchmarking 	1000000 times.
cjson encode	 Elapsed: 	4.262157s
capnp encode	 Elapsed: 	0.053436s
cjson decode	 Elapsed: 	4.290664s
Segmentation fault (core dumped)

@calio Can you please help?

satrobit avatar Sep 19 '20 09:09 satrobit