lua-users home
lua-l archive

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


>>>>> "Sergey" == Sergey Zakharchenko <doublef.mobile@gmail.com> writes:

 Sergey> Hi again,
 Sergey> FWIW glibc malloc with MALLOC_CHECK_=3 fails earlier in the
 Sergey> same (fail #345) test case:

I can reproduce something that looks almost exactly like this one, so
it's not OS-dependent or glibc-malloc dependent, there must be a real
bug in Lua somewhere.

It looks to me like the issue is not with the actual failure of the
allocation (since the retry succeeds), but the fact that we're doing a
garbage collection at that precise point, which is leaving something
corrupted in a way that breaks later.

investigation ongoing...

-- 
Andrew.