viruscamp / luadec

Lua Decompiler for lua 5.1 , 5.2 and 5.3
1.14k stars 343 forks source link

Segfault on lua5.3 #82

Open Martmists-GH opened 2 years ago

Martmists-GH commented 2 years ago
...
cannot find blockend > 5 , pc = 4, f->sizecode = 5
cannot find blockend > 5 , pc = 4, f->sizecode = 5
cannot find blockend > 18 , pc = 17, f->sizecode = 18
-- Decompiled using luadec 2.2 rev: 895d923 for Lua 5.3 from https://github.com/viruscamp/luadec
-- Command line: /opt/files/event/gameover.blua 

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7de3515 in __strlen_avx2 () from /usr/lib/libc.so.6
(gdb) i s
#0  0x00007ffff7de3515 in __strlen_avx2 () from /usr/lib/libc.so.6
#1  0x0000555555564416 in StringBuffer_add ()
#2  0x000055555555da0d in listUpvalues ()
#3  0x000055555555e78a in ProcessCode ()
#4  0x0000555555561ead in luaU_decompile ()
#5  0x00005555555578c3 in main ()