I have a crash in arch linux.
# gcc --version
gcc (GCC) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# ./lua -e "tostring(1.0)"
Segmentation fault (core dumped)
This is stacktrace.
#0 0x00007fffff517a61 in __vsnprintf_internal () from /usr/lib/libc.so.6
#1 0x00007fffff4f0ae6 in snprintf () from /usr/lib/libc.so.6
#2 0x0000000008012110 in tostringbuff.part.0.isra ()
#3 0x00000000080121a4 in addnum2buff ()
#4 0x0000000008012ac6 in luaO_pushvfstring ()
#5 0x0000000008009f41 in lua_pushfstring ()
#6 0x00000000080207c1 in luaL_tolstring ()
#7 0x0000000008024a1d in luaB_tostring ()
#8 0x000000000800dc85 in luaD_call ()
#9 0x000000000801b5b8 in luaV_execute ()
#10 0x000000000800dde7 in luaD_callnoyield ()
#11 0x000000000800d08b in luaD_rawrunprotected ()
#12 0x000000000800e15e in luaD_pcall ()
#13 0x000000000800ad5a in lua_pcallk ()
#14 0x000000000800787f in docall ()
#15 0x0000000008007ef4 in dostring ()
#16 0x0000000008008322 in pmain ()
#17 0x000000000800dc85 in luaD_call ()
#18 0x000000000800dde7 in luaD_callnoyield ()
#19 0x000000000800d08b in luaD_rawrunprotected ()
#20 0x000000000800e15e in luaD_pcall ()
#21 0x000000000800ad5a in lua_pcallk ()
#22 0x000000000800763b in main ()