On 21/7/25 06:31, Kelly Moores 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.
That doesn't explain "signal 11", i.e. a segfault. More likely the Lua
binary we're bundling is incompatible with your libc.
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?
I checked, and we're definitely distributing a 5.1.5 binary.
Note that on Linux, unlike on Windows, the current directory is not
searched by default, so
$ cd lua5_1_5_linux_64_generic
$ lua
Will execute the system lua, not the lua from that directory.
If I look at Special:Version, it does not show Lua under 'Installed
software', even though I have in LocalSettings.php:
That's expected if it's segfaulting.
$wgScribuntoDefaultEngine = 'luastandalone';
$wgScribuntoEngineConf['luastandalone']['luaPath'] =
'extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua';
It's probably not the problem, but you should use a fully qualified
path, e.g.
$wgScribuntoEngineConf['luastandalone']['luaPath'] =
"$IP/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua";
-- Tim Starling
_______________________________________________
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/