Page MenuHomePhabricator

Script error: Lua error: Internal error: The interpreter has terminated with signal "11".
Closed, ResolvedPublic

Description

Author: u09090

Description:
Trying to add http://en.wikipedia.org/w/index.php?title=Module:Navbox to my wiki.

When I edit Module:Navbox and try to save the code, it returns the error:

Script error: Lua error: Internal error: The interpreter has terminated with signal "11".

Nothing is written to the error file either; only a blank file is created.

Edit:

Simple code such as:
<source lang="lua">
local p = {}

function p.hello( frame )

return "Hello, world!"

end

return p
</source>

results in the same error.

Running CentOS 6.


Version: master
Severity: normal
OS: Linux

Details

Reference
bz51333

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:55 AM
bzimport added a project: Scribunto.
bzimport set Reference to bz51333.
bzimport added a subscriber: Unknown Object (MLST).

u09090 wrote:

The Lua version in /usr/bin/lua on my server was 5.1

The binaries shipped in the extension did not seem to work for me.

Setting $wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua' fixed the issue.

That's not a fix, it's a workaround. Reopening

Change 77905 had a related patch set uploaded by Anomie:
More-compatible Linux standalone binaries

https://gerrit.wikimedia.org/r/77905

Change 77905 merged by jenkins-bot:
More-compatible Linux standalone binaries

https://gerrit.wikimedia.org/r/77905

Change 95415 had a related patch set uploaded by MarkAHershberger:
More-compatible Linux standalone binaries

https://gerrit.wikimedia.org/r/95415

Change 95415 abandoned by MarkAHershberger:
More-compatible Linux standalone binaries

https://gerrit.wikimedia.org/r/95415

No open patches to review here (backport patches got abandoned), hence resetting status to RESOLVED FIXED. Backport_to_Stable flag might be set to "-" by hexmode.