Jump to content

Topic on Project:Support desk

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

7
RakelBara (talkcontribs)

MediaWiki 1.21.2 PHP 5.3.13 (cgi-fcgi) MySQL 5.1.68-cll

Website: http://aett.is/mediawiki/

I'm trying to get Infoboxes to work on my site, but after installing Scribunto, I get the above mentioned error. I have added $wgScribuntoEngineConf['luastandalone']['errorFile'] = "$IP/extensions/Scribunto/lua-debug.log"; to my LocalSettings.php file and it showed up empty.

I have also added $wgShowExceptionDetails = true; to my LocalSettings.php file and the resulting errors shown on the Template: Infobox page is as follows:

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

  1. 0 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(449): ScribuntoEngineBase->newException('scribunto-luast...', Array)
  2. 1 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(324): Scribunto_LuaStandaloneInterpreter->checkStatus()
  3. 2 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(287): Scribunto_LuaStandaloneInterpreter->receiveMessage()
  4. 3 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(213): Scribunto_LuaStandaloneInterpreter->dispatch(Array)
  5. 4 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(114): Scribunto_LuaStandaloneInterpreter->registerLibrary('mw_interface', Array)
  6. 5 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(89): Scribunto_LuaEngine->registerInterface('mw.lua', Array, Array)
  7. 6 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  8. 7 /home/aett/public_html/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(26): Scribunto_LuaStandaloneEngine->load()
  9. 8 /home/aett/public_html/mediawiki/extensions/Scribunto/common/Hooks.php(173): Scribunto_LuaStandaloneEngine->getLimitReport()
  10. 9 [internal function]: ScribuntoHooks::reportLimits(Object(Parser), 'NewPP limit rep...')
  11. 10 /home/aett/public_html/mediawiki/includes/Hooks.php(255): call_user_func_array('ScribuntoHooks:...', Array)
  12. 11 /home/aett/public_html/mediawiki/includes/GlobalFunctions.php(3883): Hooks::run('ParserLimitRepo...', Array)
  13. 12 /home/aett/public_html/mediawiki/includes/parser/Parser.php(503): wfRunHooks('ParserLimitRepo...', Array)
  14. 13 /home/aett/public_html/mediawiki/includes/content/WikitextContent.php(299): Parser->parse('{{infobox?| bod...', Object(Title), Object(ParserOptions), true, true, 122)
  15. 14 /home/aett/public_html/mediawiki/includes/WikiPage.php(3402): WikitextContent->getParserOutput(Object(Title), 122, Object(ParserOptions))
  16. 15 /home/aett/public_html/mediawiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
  17. 16 /home/aett/public_html/mediawiki/includes/Article.php(707): PoolCounterWork->execute()
  18. 17 /home/aett/public_html/mediawiki/includes/actions/ViewAction.php(44): Article->view()
  19. 18 /home/aett/public_html/mediawiki/includes/Wiki.php(439): ViewAction->show()
  20. 19 /home/aett/public_html/mediawiki/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
  21. 20 /home/aett/public_html/mediawiki/includes/Wiki.php(565): MediaWiki->performRequest()
  22. 21 /home/aett/public_html/mediawiki/includes/Wiki.php(458): MediaWiki->main()
  23. 22 /home/aett/public_html/mediawiki/index.php(59): MediaWiki->run()

I have tried giving /mediawiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua a 755 permission, even gave the whole binaries folder 755 permission without any change.

I could really use some help! Thanks!

MarkAHershberger (talkcontribs)

What happens if you invoke the lua binary from the command line?

MarkAHershberger (talkcontribs)

Looks like it is working now. yay?

37.128.215.197 (talkcontribs)
MarkAHershberger (talkcontribs)

When I checked before, it was showing the error on the front page. A few minutes later, it wasn't showing the error any more. I assumed it had been fixed.

You can run the lua binary from the command line by navigating to the proper directory (I'm on 64bit linux, so mine is extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic) and then executing lua. For example:

 $ cd wiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic
 $ ./lua -h
 usage: ./lua [options] [script [args]].
 Available options are:
   -e stat  execute string 'stat'
   -l name  require library 'name'
   -i       enter interactive mode after executing 'script'
   -v       show version information
   --       stop handling options
   -        execute stdin and stop handling options
 $ ./lua -e 'print "hi"'
 hi
 $

If that works, it may be that the wrong lua binary is being selected.

37.128.215.197 (talkcontribs)

Sorry if I sound stupid, how exactly do I do that? I have access to my site via FTP, it is not located on my computer.

MarkAHershberger (talkcontribs)

It isn't stupid, but I thought you had ssh access to your site. In your case, you should contact support for your hosting and tell them the that the lua binary you need for Scribunto is segfaulting.

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