Topic on Project:Support desk

Error with Scribunto/Lua

12
86.155.95.154 (talkcontribs)

Unable to Scribunto/Lua working on our wiki. Getting the following error:

Fatal error: Call to undefined function pcntl_wifsignaled() in/home/jackdl5/public_html/jurassicoutpost.com/encyclopedia/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 645Fatal error: Call to undefined function

Permissions for the Engine binaries are all set correctly and both Scribunto and Lua show as being installed on Special:Version.

Any thoughts?

Ciencia Al Poder (talkcontribs)
86.155.95.154 (talkcontribs)

Because we're on a shared server our host is telling us it's not possible to get this set up, is there another work around?

TheDJ (talkcontribs)

The alternative to luastandalone is luasandbox, but that requires even more influence on the php server I believe.

TheDJ (talkcontribs)
86.155.95.154 (talkcontribs)

Would using an older version pre-May 2015 help combat this issue for now?

TheDJ (talkcontribs)

Apparently this is a known issue logged as phab:T128048. It links to a proposed patch, that has not fully been tested yet, that might workaround this.

86.155.95.154 (talkcontribs)

Believe it or not that actually worked! Pages are loading again, but I'm getting this error now:

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

Next step?

MarkAHershberger (talkcontribs)

I'm glad it worked for you.

Re: Signal 11:

Signal 11, or officially know as "segmentation fault", means that the program accessed a memory location that was not assigned. That's usually a bug in the program.

I'm going to guess that the wrong lua binary is being used. Hmm... Do you have shell access to the machine? Can you run "uname -a" and paste the result here?

Alternatively, if you can create a phpinfo page and copy-paste the result, that may help.

86.155.95.154 (talkcontribs)
86.155.95.154 (talkcontribs)
MarkAHershberger (talkcontribs)

jurassicoutpost.com doesn't resolve for me.

Reply to "Error with Scribunto/Lua"