Re: Subject: [ANN] Lua 5.5.1 (rc1) now available

Christophe Delord <[email protected]> Wed, 15 Jul 2026 23:38:14 +0200
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------gcCZ83sZsAIe7vbK0LLHUhHU
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: quoted-printable

Le 15/07/2026 =C3=A0 22:53, Luiz Henrique de Figueiredo a =C3=A9crit=C2=A0:
> Lua 5.5.1 (rc1) is now available for testing at
> https://www.lua.org/work/lua-5.5.1-rc1.tar.gz
>
> All feedback welcome. Thanks.
> --lhf

Hello,

Lua 5.5.1-rc1 passes all LuaX tests but there are some undefined=20
behaviours detected by UBSan.


E.g.:


make MYCFLAGS=3D"-fsanitize=3Daddress -fsanitize=3Dundefined"=20
MYLDFLAGS=3D"-fsanitize=3Daddress -fsanitize=3Dundefined"
src/lua -v

produces:


lua-5.5.1/src/lstate.c:352:14: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 be be be be be be be be=C2=A0 08 08 01 00 be be be=
 be=C2=A0 be be=20
be be be be be be=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lstate.c:201:3: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be be be=
 be=C2=A0 90 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
Lua 5.5.1=C2=A0 Copyright (C) 1994-2026 Lua.org, PUC-Rio
lua-5.5.1/src/lgc.c:443:3: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:140:29: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:168:30: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:367:7: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:737:48: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 20 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:1148:20: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 24 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:1149:9: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 24 01 00 be be be=
 be=C2=A0 c0 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
lua-5.5.1/src/lgc.c:1536:3: runtime error: member access within=20
misaligned address 0x7d51507e0608 for type 'union GCUnion', which=20
requires 16 byte alignment
0x7d51507e0608: note: pointer points here
 =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 04 01 00 be be be=
 be=C2=A0 90 00=20
7e 50 11 7d 00 00=C2=A0 80 00 7e 50
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^


Regards,

Christophe.

--=20
You received this message because you are subscribed to the Google Groups "=
lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/e448d=
85d-aa3a-4d1d-a3ab-9867ed1adb6b%40cdelord.fr.

--------------gcCZ83sZsAIe7vbK0LLHUhHU
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
    <div class=3D"moz-cite-prefix">Le 15/07/2026 =C3=A0 22:53, Luiz Henriqu=
e de
      Figueiredo a =C3=A9crit=C2=A0:<br>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:[email protected]">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8">
      Lua 5.5.1 (rc1) is now available for testing at<br>
      <span style=3D"white-space: pre;">	</span><a class=3D"moz-txt-link-fr=
eetext" href=3D"https://www.lua.org/work/lua-5.5.1-rc1.tar.gz">https://www.=
lua.org/work/lua-5.5.1-rc1.tar.gz</a><br>
      <br>
      All feedback welcome. Thanks.<br>
      --lhf</blockquote>
    <p>Hello,</p>
    <p>Lua 5.5.1-rc1 passes all LuaX tests but there are some undefined
      behaviours detected by UBSan.</p>
    <p><br>
    </p>
    <p>E.g.:</p>
    <p><br>
      make MYCFLAGS=3D"-fsanitize=3Daddress -fsanitize=3Dundefined"
      MYLDFLAGS=3D"-fsanitize=3Daddress -fsanitize=3Dundefined"<br>
      src/lua -v<br>
      <br>
    </p>
    <p>produces:</p>
    <p><br>
    </p>
    <p>lua-5.5.1/src/lstate.c:352:14: runtime error: member access
      within misaligned address 0x7d51507e0608 for type 'union GCUnion',
      which requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 be be be be be be be be=C2=A0 08 08 01 00 be =
be be be=C2=A0 be
      be be be be be be be=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lstate.c:201:3: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be =
be be be=C2=A0 90
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      Lua 5.5.1=C2=A0 Copyright (C) 1994-2026 Lua.org, PUC-Rio<br>
      lua-5.5.1/src/lgc.c:443:3: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:140:29: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:168:30: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:367:7: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 08 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:737:48: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 20 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:1148:20: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 24 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:1149:9: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 24 01 00 be =
be be be=C2=A0 c0
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0<br>
      lua-5.5.1/src/lgc.c:1536:3: runtime error: member access within
      misaligned address 0x7d51507e0608 for type 'union GCUnion', which
      requires 16 byte alignment<br>
      0x7d51507e0608: note: pointer points here<br>
      =C2=A0be be be be=C2=A0 00 00 00 00 00 00 00 00=C2=A0 08 04 01 00 be =
be be be=C2=A0 90
      00 7e 50 11 7d 00 00=C2=A0 80 00 7e 50<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=C2=A0</p>
    <p><br>
    </p>
    <p>Regards,</p>
    <p>Christophe.</p>
    <p><br>
    </p>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;lua-l&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">lua-l+unsubsc=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
lua-l/e448d85d-aa3a-4d1d-a3ab-9867ed1adb6b%40cdelord.fr?utm_medium=3Demail&=
utm_source=3Dfooter">https://groups.google.com/d/msgid/lua-l/e448d85d-aa3a-=
4d1d-a3ab-9867ed1adb6b%40cdelord.fr</a>.<br />

--------------gcCZ83sZsAIe7vbK0LLHUhHU--