>>>>> "孙世龙" == 孙世龙 sunshilong <sunshilong369@gmail.com> writes: 孙世龙> Hi, Sean Conner, Adrian,Roberto 孙世龙> I see. I agree with you. 孙世龙> Realloc(3) can fail when shrinking the block. 孙世龙> It seems that Lua has made such an assumption. In 5.3, yes. I pointed out this bug on this very mailing list in November 2017 and it has not been fixed in 5.3, only in 5.4. -- Andrew.