lua-users home
lua-l archive

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


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 ()


On Tue, Jun 30, 2020 at 2:39 AM Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
Lua 5.4.0 has been frozen and is now the current version of Lua.

Lua 5.4.0 is available at
        http://www.lua.org/ftp/lua-5.4.0.tar.gz

The checksums are
        MD5     dbf155764e5d433fc55ae80ea7060b60  -
        SHA1    8cdbffa8a214a23d190d7c45f38c19518ae62e89  -

The reference manual is available at
        http://www.lua.org/manual/5.4/

For installation and building instructions, see
        http://www.lua.org/manual/5.4/readme.html

The complete source code of Lua 5.4.0 is available for browsing at
        http://www.lua.org/source/5.4/

We thank everyone for their feedback on Lua 5.4.

All feedback welcome. Thanks.
--lhf


--
-- actboy168