Congratulations on the neat evolution of one of the neatest computational tools out there!
> On 29 Jun 2020, at 23:26, Thijs Schreijer <[hidden email]> wrote:
>> On 29 Jun 2020, at 20:39, Luiz Henrique de Figueiredo <[hidden email]> wrote:
>> Lua 5.4.0 has been frozen and is now the current version of Lua.
> Congrats on the new release!
On Tue, Jun 30, 2020 at 3:20 AM Luiz Henrique de Figueiredo
<[hidden email]> wrote:
> > Is this release identical to RC6?
> Yes. Freezing means promoting the last rc to final. The same tarball,
> just renamed.
[Notice not included in the above original message: The U.S. National
Security Agency neither confirms nor denies that it intercepted this
In reply to this post by Luiz Henrique de Figueiredo
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.
#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 <[hidden email]> wrote:
Lua 5.4.0 has been frozen and is now the current version of Lua.
On Wed Jul 1 04:03:56 2020, Eretnek Hippi =?UTF-8?b?TWVzc2nDoXM=?= <[hidden email]> wrote:
> hi there! :)
hi there, too!
> does `env LC_ALL=C ./lua -e "tostring(1.0)"` work?
I am able to reproduce the crash.
Also on archlinux.
I also thought it might be a locale issue.
I localized my system to de_DE where decimals are seperated by semicolon (1,1 instead of 1.1)
So I already tested LC_ALL="C" which unfortunately also crashes:
> The download page still has: "All versions are available for download. The current version is Lua 5.3 and its current release is Lua 5.4.0."
> "current release" was updated
> "current version" was not
> See https://www.lua.org/download.html
On Wed, Jul 1, 2020 at 7:51 AM Pierre Chapuis <[hidden email]> wrote:
> It honestly looks like a GCC bug. Building with any optimization level
> other than the default of O2 (I tried with O0, O1, O3 and Os) prevents
> the crash.
I built GCC 10.1.0 from source on Debian 10. I can reproduce the
problem now. Looking at the 10.1.0 release notes I saw that the
compiler implements more aggressive automatic inlining. I rebuilt the
Lua interpreter with the "-fno-inline" flag and the crash went away.
It's a workaround, but you may want to run the test suite, who knows
what other problems are lurking in a Lua interpreter built with gcc
There are downsides to living on the bleeding edge, gcc 10.1.0 was
released on May 7. I have never used Arch Linux, if possible I'd
suggest rolling back the compiler to gcc 8 or 9.
I'll build the tip of the release/gcc-10 branch. That'll take a good
while on my slow machine. Perhaps this issue has been fixed, there are
lots of bug fix commits in that branch post 10.1.