Re: Scribunto Lua version not correct?

Brooke Vibber <[email protected]> Mon, 21 Jul 2025 12:24:21 -0700
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <CA+30r1TYZoLh=QTz6ELU8TZkySxw86=mmuOi2A9bMLiL9K53mg@mail.gmail.com>
--===============0605358995223618256==
Content-Type: multipart/alternative; boundary="000000000000e92b35063a756cb6"

--000000000000e92b35063a756cb6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Note that Scribunto requires Lua 5.1.5 *or higher*; the bundled 5.3.4
should work, unless it's not suitable for your system or is taking up too
much memory and is crashing for some reason (as implied by the signal 11
you're reporting).

This can sometimes happen if you're on an armhf or aarch64/arm64 Linux
system that runs x86_64 binaries through an emulator; currently no arm
Linux binaries are bundled with the extension and you may have to obtain a
build yourself if it's not preinstalled on your system.

-- brooke

On Sun, Jul 20, 2025 at 1:31=E2=80=AFPM Kelly Moores <redheadkelly@thefryin=
gpan.net>
wrote:

> I'm trying to resolve an error:
> Lua error: Internal error: The interpreter has terminated with signal
> "11".
>
> I've chased everything down and the only thing I can find is that
> Scribunto seems to include 5.3.4, not 5.1.5, which is required.
>
> When I run the lua command in the lua5_1_5_linux_64_generic directory
> that is included with the Scribunto extension, I get:
>
> 'Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio'
>
> So, 5.3.4, right? Not 5.1.5, like it should be?
>
> If I look at Special:Version, it does not show Lua under 'Installed
> software', even though I have in LocalSettings.php:
>
> $wgScribuntoDefaultEngine =3D 'luastandalone';
> $wgScribuntoEngineConf['luastandalone']['luaPath'] =3D
> 'extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_li=
nux_64_generic/lua';
>
> My hosting provider says: if Scribunto had bundled a precompiled Lua
> 5.1.5 binary that is compatible with the server's architecture, it could
> potentially work on shared hosting, provided that the executable is
> self-contained and doesn't require system-level installation.
>
> But it doesn't appear that Scribunto has bundled a precompiled Lua 5.1.5
> binary. I don't have permissions needed to compile and/or install a
> different version. My host provides Lua, but it is also not the correct
> version. I need the 5.1.5 executable that should've been provided in the
> lua5_1_5_linux_64_generic directory.
>
> I've gone back through the oldest versions of Scribunto that I still
> have on my laptop and none of them included 5.1.5. for Linux 64.
> _______________________________________________
> MediaWiki-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.o=
rg/

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

<div dir=3D"ltr">Note that Scribunto requires Lua 5.1.5 *or higher*; the bu=
ndled 5.3.4 should work, unless it&#39;s not suitable for your system or is=
 taking up too much memory and is crashing for some reason (as implied by t=
he signal 11 you&#39;re reporting).<div><br></div><div>This can sometimes h=
appen if you&#39;re on an armhf or aarch64/arm64 Linux system that runs x86=
_64 binaries through an emulator; currently no arm Linux binaries are bundl=
ed with the extension and you may have to obtain a build yourself if it&#39=
;s not preinstalled on your system.<br><div><br></div><div>-- brooke</div><=
/div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D=
"ltr" class=3D"gmail_attr">On Sun, Jul 20, 2025 at 1:31=E2=80=AFPM Kelly Mo=
ores &lt;<a href=3D"mailto:[email protected]">redheadkelly@thef=
ryingpan.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div style=3D"font-size:10pt;font-family:Verdana,Geneva,sans-se=
rif">
<p>I&#39;m trying to resolve an error:<br>Lua error: Internal error: The in=
terpreter has terminated with signal<br>&quot;11&quot;.</p>
<p>I&#39;ve chased everything down and the only thing I can find is that<br=
>Scribunto seems to include 5.3.4, not 5.1.5, which is required.</p>
<p>When I run the lua command in the lua5_1_5_linux_64_generic directory<br=
>that is included with the Scribunto extension, I get:</p>
<p>&#39;Lua 5.3.4 =C2=A0Copyright (C) 1994-2017 Lua.org, PUC-Rio&#39;</p>
<p>So, 5.3.4, right? Not 5.1.5, like it should be?</p>
<p>If I look at Special:Version, it does not show Lua under &#39;Installed<=
br>software&#39;, even though I have in LocalSettings.php:</p>
<p>$wgScribuntoDefaultEngine =3D &#39;luastandalone&#39;;<br>$wgScribuntoEn=
gineConf[&#39;luastandalone&#39;][&#39;luaPath&#39;] =3D &#39;extensions/Sc=
ribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/l=
ua&#39;;</p>
<p>My hosting provider says: if Scribunto had bundled a precompiled Lua<br>=
5.1.5 binary that is compatible with the server&#39;s architecture, it coul=
d<br>potentially work on shared hosting, provided that the executable is<br=
>self-contained and doesn&#39;t require system-level installation.</p>
<p>But it doesn&#39;t appear that Scribunto has bundled a precompiled Lua 5=
.1.5<br>binary. I don&#39;t have permissions needed to compile and/or insta=
ll a<br>different version. My host provides Lua, but it is also not the cor=
rect<br>version. I need the 5.1.5 executable that should&#39;ve been provid=
ed in the<br>lua5_1_5_linux_64_generic directory.</p>
<p>I&#39;ve gone back through the oldest versions of Scribunto that I still=
<br>have on my laptop and none of them included 5.1.5. for Linux 64.</p>

</div>
_______________________________________________<br>
MediaWiki-l mailing list -- <a href=3D"mailto:[email protected]=
rg" target=3D"_blank">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
ikimedia.org" target=3D"_blank">[email protected]</a><b=
r>
<a href=3D"https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wi=
kimedia.org/" rel=3D"noreferrer" target=3D"_blank">https://lists.wikimedia.=
org/postorius/lists/mediawiki-l.lists.wikimedia.org/</a></blockquote></div>

--000000000000e92b35063a756cb6--

--===============0605358995223618256==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
--===============0605358995223618256==--