-
-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Hi Joe,
I've got "Fatal error: Cannot call overloaded function for non-object in UopzTest.php on line 10" when run this script https://gist.github.com/antonvolkov/86626df547bc4395d837 using command like "phpunit --repeat=10 UopzTest.php", valgrind log is below
==30651== Invalid read of size 8
==30651== at 0x635F6F: ZEND_SEND_VAL_SPEC_CONST_HANDLER (zend_vm_execute.h:2499)
==30651== by 0x67B197: execute_ex (zend_vm_execute.h:363)
==30651== by 0x5EEFBB: zend_call_function (zend_execute_API.c:939)
==30651== by 0x4D67B8: zim_reflection_method_invokeArgs (php_reflection.c:3015)
==30651== by 0x681288: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==30651== by 0x67B197: execute_ex (zend_vm_execute.h:363)
==30651== by 0x5FC251: zend_execute_scripts (zend.c:1449)
==30651== by 0x597548: php_execute_script (main.c:2573)
==30651== by 0x6B0214: do_cli (php_cli.c:994)
==30651== by 0x6B09D4: main (php_cli.c:1380)
==30651== Address 0xcdb82f0 is 48 bytes inside a block of size 248 free'd
==30651== at 0x4C2970C: free (vg_replace_malloc.c:468)
==30651== by 0x61FC80: free (zend_signal.c:101)
==30651== by 0x60D518: zend_hash_del_key_or_index (zend_hash.c:535)
==30651== by 0xD5751C2: zif_uopz_delete (uopz.c:1329)
==30651== by 0x681288: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==30651== by 0x67B197: execute_ex (zend_vm_execute.h:363)
==30651== by 0x5EEFBB: zend_call_function (zend_execute_API.c:939)
==30651== by 0x4D67B8: zim_reflection_method_invokeArgs (php_reflection.c:3015)
==30651== by 0x681288: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==30651== by 0x67B197: execute_ex (zend_vm_execute.h:363)
==30651== by 0x5FC251: zend_execute_scripts (zend.c:1449)
==30651== by 0x597548: php_execute_script (main.c:2573)
==30651== by 0x6B0214: do_cli (php_cli.c:994)
==30651== by 0x6B09D4: main (php_cli.c:1380)
I've got "seagfault (core dumped)" when run this script https://gist.github.com/antonvolkov/b1ac2e4faad546d7278d with the same command "phpunit --repeat=10 UopzTest2.php"
By the way could you please clarify are you planning to make Uopz works with php7?
Thank you in advance
Activity
anton-povarov commentedon Jul 16, 2015
@krakjoe Hey. Just wondering if this project is still being maintained and is php7 support planned. thanks.
kornrunner commentedon Mar 17, 2016
I can't reproduce this with current master branch
krakjoe commentedon Apr 9, 2016
No longer a problem.