Last modified: 2013-06-26 09:26:52 UTC
===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 5.3.3 ZEND_VERSION: 2.3.0 PHP_OS : Linux - Linux power.mew.gov.kw 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 INI actual : /usr/local/Lua/tmp-php.ini More .INIs : CWD : /usr/local/Lua Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2013-06-13 08:54:38 ===================================================================== PASS LuaSandboxFunction::construct() is private [tests/LuaSandboxFunction_construct.phpt] PASS LuaSandboxFunction::call [tests/call.phpt] PASS Exception in a PHP function called from Lua [tests/callback_exception.phpt] FAIL dump -> loadBinary -> call [tests/dump_loadBinary_call.phpt] FAIL Functions called on an invalid LuaSandbox, after emergency timeout [tests/invalid_state.phpt] PASS ipairs() and __ipairs [tests/ipairs.phpt] PASS loadString 1 [tests/loadString.phpt] PASS PHP throwing exceptions to be caught by pcall() [tests/lua_catches_php_exception.phpt] PASS pairs() and __pairs [tests/pairs.phpt] PASS pcall() catching various errors [tests/pcall.phpt] FAIL Re-entering Lua during a callback to PHP [tests/reentrant.phpt] FAIL timer pausing and unpausing [tests/timer.phpt] PASS xpcall() basic behaviour [tests/xpcall.phpt] ===================================================================== TIME END 2013-06-13 08:54:43 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 29 --------------------------------------------------------------------- Number of tests : 13 13 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 4 ( 30.8%) ( 30.8%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 9 ( 69.2%) ( 69.2%) --------------------------------------------------------------------- Time taken : 5 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- dump -> loadBinary -> call [tests/dump_loadBinary_call.phpt] Functions called on an invalid LuaSandbox, after emergency timeout [tests/invalid_state.phpt] Re-entering Lua during a callback to PHP [tests/reentrant.phpt] timer pausing and unpausing [tests/timer.phpt] =====================================================================
What are steps to reproduce this?
SteP 1 : phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Step 2 : ./configure configure.txt file attached Step 3 : make make.txt file attached Step 4 : make test maketest.txt file attached
Created attachment 12548 [details] configure.txt configure.txt file
Created attachment 12549 [details] make.txt make.txt
Created attachment 12550 [details] maketest.txt maketest.txt
any update on this.?
Tentatively moving this to Scribunto, as this is listed under http://www.mediawiki.org/wiki/Extension:Scribunto#LuaSandbox .
(In reply to comment #7) > Tentatively moving this to Scribunto, as this is listed under > http://www.mediawiki.org/wiki/Extension:Scribunto#LuaSandbox . Yeah, that's the most correct option (at least for now). There isn't a separate product/component for the luasandbox PHP extension. @Fazil: Please attach any files matching test/*.log that were created by "make test". Also, please provide the output of the following commands: pkg-config --modversion --short-errors --print-errors lua pkg-config --modversion --short-errors --print-errors lua5.1 pkg-config --modversion --short-errors --print-errors lua-5.1 pkg-config --modversion --short-errors --print-errors luajit Thanks.
Fazil: Can you answer comment 8, please?
Andre, thanks for your support. i have resolved the issue. now it is working fine.
Fazil: Would you share the solution here, so others might find it if they run into the same problem?