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 PM Kelly Moores <redheadkelly@thefryingpan.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 = 'luastandalone';
$wgScribuntoEngineConf['luastandalone']['luaPath'] = 'extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_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 -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/