Bug #70249 [Com]: Segmentation fault while running PHPUnit tests on phpBB 3.2-dev
| From: | sam at rmcreative dot ru | Date: | Tue, 10 Nov 2015 16:17:17 +0000 |
| Subject: | Bug #70249 [Com]: Segmentation fault while running PHPUnit tests on phpBB 3.2-dev | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197156@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70249&edit=1
ID: 70249
Comment by: sam at rmcreative dot ru
Reported by: rxu at mail dot ru
Summary: Segmentation fault while running PHPUnit tests on
phpBB 3.2-dev
Status: Feedback
Type: Bug
Package: Date/time related
Operating System: Ubuntu Linux v.15.04 64 bit
PHP Version: 7.0.0-dev
Block user comment: N
Private report: N
New Comment:
https://3v4l.org/KC8d3
Previous Comments:
------------------------------------------------------------------------
[2015-11-10 12:56:28] rasmus@php.net
Please use a recent build and try again
------------------------------------------------------------------------
[2015-11-10 11:16:10] sam at rmcreative dot ru
Getting alike segfault on PHP 7.0.1-dev (cli) (built: Oct 28 2015 22:42:44) ( ZTS ): https://travis-ci.org/yiisoft/yii2/jobs/90281296#L591
------------------------------------------------------------------------
[2015-08-22 06:24:23] rxu at mail dot ru
PHP 7.0.0-dev (cli) (built: Aug 21 2015 19:09:31) yields the same error.
------------------------------------------------------------------------
[2015-08-21 14:25:53] rxu at mail dot ru
Regrettably I was unable to download the latest trunk as the URL is unavailable.
Upgraded the package to the latest available nightly from the packages repo
(http://repos.zend.com/zend-server/early-access/php7/repos/ubuntu/)
PHP 7.0.0-dev (cli) (built: Aug 20 2015 19:09:48)
Error now:
Program received signal SIGSEGV, Segmentation fault.
zend_mm_alloc_small (size=<optimized out>, bin_num=0, heap=0x7fffece00040) at
/usr/local/src/php/Zend/zend_alloc.c:1280
1280 /usr/local/src/php/Zend/zend_alloc.c: No such file or directory.
(gdb) bt
#0 zend_mm_alloc_small (size=<optimized out>, bin_num=0, heap=0x7fffece00040) at
/usr/local/src/php/Zend/zend_alloc.c:1280
#1 zend_mm_alloc_heap (size=<optimized out>, heap=0x7fffece00040) at
/usr/local/src/php/Zend/zend_alloc.c:1347
#2 zend_mm_realloc_heap (heap=0x7fffece00040, ptr=0x7fffe7cea980, size=<optimized out>,
copy_size=8) at /usr/local/src/php/Zend/zend_alloc.c:1610
#3 0x000000000081c6b4 in pass_two (op_array=0x7fffe98120b0) at
/usr/local/src/php/Zend/zend_opcode.c:588
#4 0x00000000008158a1 in zend_compile_func_decl (result=result@entry=0x0,
ast=ast@entry=0x7fffe65e02e8) at /usr/local/src/php/Zend/zend_compile.c:4891
#5 0x00000000008139ea in zend_compile_stmt (ast=0x7fffe65e02e8) at
/usr/local/src/php/Zend/zend_compile.c:7044
#6 0x0000000000814247 in zend_compile_stmt_list (ast=ast@entry=0x7fffe65e0078) at
/usr/local/src/php/Zend/zend_compile.c:4342
#7 0x000000000081386e in zend_compile_stmt (ast=ast@entry=0x7fffe65e0078) at
/usr/local/src/php/Zend/zend_compile.c:6988
#8 0x000000000081457d in zend_compile_class_decl (ast=ast@entry=0x7fffe65e06e8) at
/usr/local/src/php/Zend/zend_compile.c:5287
#9 0x0000000000813988 in zend_compile_stmt (ast=ast@entry=0x7fffe65e06e8) at
/usr/local/src/php/Zend/zend_compile.c:7056
#10 0x0000000000815b9a in zend_compile_top_stmt (ast=0x7fffe65e06e8) at
/usr/local/src/php/Zend/zend_compile.c:6962
#11 0x0000000000815bdf in zend_compile_top_stmt (ast=0x7fffe65e0018) at
/usr/local/src/php/Zend/zend_compile.c:6957
#12 0x00000000007f1746 in compile_file (file_handle=<optimized out>, type=<optimized
out>) at Zend/zend_language_scanner.l:607
#13 0x00000000006aba30 in phar_compile_file (file_handle=<optimized out>, type=<optimized
out>) at /usr/local/src/php/ext/phar/phar.c:3311
#14 0x00000000007f1845 in compile_filename (type=2, filename=filename@entry=0x7fffece17cc0) at
Zend/zend_language_scanner.l:647
#15 0x00000000008aa047 in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER () at
/usr/local/src/php/Zend/zend_vm_execute.h:29042
#16 0x0000000000862acb in execute_ex (ex=<optimized out>) at
/usr/local/src/php/Zend/zend_vm_execute.h:406
#17 0x0000000000818eb8 in zend_call_function (fci=fci@entry=0x7fffffffa790,
fci_cache=0x7fffece6bb60, fci_cache@entry=0x7fffffffa760) at
/usr/local/src/php/Zend/zend_execute_API.c:852
#18 0x0000000000842f44 in zend_call_method (object=0x7fffecee1458, obj_ce=<optimized out>,
fn_proxy=0x7fffecee1450, function_name=0x7fffecefd8d8
"composer\\autoload\\classloader::loadclass\001",
function_name_len=<optimized out>, retval_ptr=retval_ptr@entry=0x0,
param_count=param_count@entry=1, arg1=0x7fffece17ba0, arg2=arg2@entry=0x0) at
/usr/local/src/php/Zend/zend_interfaces.c:104
#19 0x0000000000714fb0 in zif_spl_autoload_call (execute_data=<optimized out>,
return_value=<optimized out>) at /usr/local/src/php/ext/spl/php_spl.c:425
#20 0x0000000000818f5a in zend_call_function (fci=fci@entry=0x7fffffffa9e0,
fci_cache=fci_cache@entry=0x7fffffffa9b0) at /usr/local/src/php/Zend/zend_execute_API.c:871
#21 0x0000000000819602 in zend_lookup_class_ex (name=name@entry=0x7fffecec6320, key=0x7fffec2184c0,
use_autoload=use_autoload@entry=1) at /usr/local/src/php/Zend/zend_execute_API.c:1034
#22 0x0000000000819f78 in zend_fetch_class_by_name (class_name=0x7fffecec6320, key=<optimized
out>, fetch_type=fetch_type@entry=512) at /usr/local/src/php/Zend/zend_execute_API.c:1381
#23 0x00000000008ab224 in ZEND_NEW_SPEC_CONST_HANDLER () at
/usr/local/src/php/Zend/zend_vm_execute.h:3345
#24 0x0000000000862acb in execute_ex (ex=<optimized out>) at
/usr/local/src/php/Zend/zend_vm_execute.h:406
#25 0x0000000000818eb8 in zend_call_function (fci=fci@entry=0x7fffffffac60,
fci_cache=0x7fffecffa860, fci_cache@entry=0x7fffffffac30) at
/usr/local/src/php/Zend/zend_execute_API.c:852
#26 0x00000000006c6ca0 in zim_reflection_method_invokeArgs (execute_data=<optimized out>,
return_value=0x7fffece171a0) at /usr/local/src/php/ext/reflection/php_reflection.c:3365
#27 0x00000000008a0c4b in ZEND_DO_FCALL_SPEC_HANDLER () at
/usr/local/src/php/Zend/zend_vm_execute.h:835
#28 0x0000000000862acb in execute_ex (ex=<optimized out>) at
/usr/local/src/php/Zend/zend_vm_execute.h:406
#29 0x00000000008ae17f in zend_execute (op_array=op_array@entry=0x7fffece80000,
return_value=return_value@entry=0x0) at /usr/local/src/php/Zend/zend_vm_execute.h:450
#30 0x0000000000826bfe in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0,
file_count=file_count@entry=3) at /usr/local/src/php/Zend/zend.c:1404
#31 0x00000000007ca018 in php_execute_script (primary_file=primary_file@entry=0x7fffffffd1f0) at
/usr/local/src/php/main/main.c:2475
#32 0x00000000008afd53 in do_cli (argc=3, argv=0x11bd1c0) at
/usr/local/src/php/sapi/cli/php_cli.c:971
#33 0x000000000044c0e0 in main (argc=3, argv=0x11bd1c0) at
/usr/local/src/php/sapi/cli/php_cli.c:1338
------------------------------------------------------------------------
[2015-08-21 10:56:37] laruence@php.net
Please try using this snapshot:
http://snaps.php.net/php-trunk-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70249
--
Edit this bug report at https://bugs.php.net/bug.php?id=70249&edit=1