lua-users home
lua-l archive

Invalid free in luac 5.4.4

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


When compiling multiple Lua files with luac (5.4.4) on Ubuntu I
encounter the following:
> free(): double free detected in tcache 2
> Aborted
I think this happens because of the line
> luaM_freearray(L,f->lineinfo,f->sizelineinfo);
in the combine() function of luac.c. At least, when that line is
commented, valgrind reports no errors and no unfreed memory.
-- Kurt Jung

AltStyle によって変換されたページ (->オリジナル) /