Edit report at https://bugs.php.net/bug.php?id=63191&edit=1
ID: 63191
Comment by: sadhooklay at gmail dot com
Reported by: sh at isecure dot cz
Summary: SIGSEGV (phpunit)
Status: No Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: Freebsd 9 & Ubuntu 12.04
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Description:
------------
Crash with Phalcon 2.0.1 & phpunit use. Can't localize root cause of problem.
System params:
-------------
lsb_release --all
LSB
Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
php --version
PHP 5.5.9-1ubuntu4.9 (cli) (built: Apr 17 2015 11:44:57)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
Actual result:
--------------
gdb --args /usr/bin/php /usr/local/bin/codecept run unit --coverage
(gdb) r
Starting program: /usr/bin/php /usr/local/bin/codecept run unit --coverage
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd6d1f700 (LWP 16541)]
[Thread 0x7fffd6d1f700 (LWP 16541) exited]
Codeception PHP Testing Framework v2.0.13
Powered by PHPUnit 4.6.6 by Sebastian Bergmann and contributors.
Unit Tests (5)
----------------------------------------------------------------------------------------------------
Trying to test should have the ability
(Notify\Tests\Unit\ClientTest::testShouldHaveTheAbilityToModifyClient)...
Program received signal SIGSEGV, Segmentation fault.
0x0000000000710098 in zend_std_object_get_class ()
(gdb) bt full
#0 0x0000000000710098 in zend_std_object_get_class ()
No symbol table info available.
#1 0x000000000073086b in ?? ()
No symbol table info available.
#2 0x0000000000717898 in execute_ex ()
No symbol table info available.
#3 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#4 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f9d088) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x258b0d8
edata = <optimized out>
dummy = 0xebd0e8 <executor_globals+360>
fse = 0x25da670
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 679586
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#5 0x00000000006dfd41 in zend_call_function ()
No symbol table info available.
#6 0x0000000000704ce5 in zend_call_method ()
No symbol table info available.
#7 0x000000000070fc02 in zend_objects_destroy_object ()
No symbol table info available.
#8 0x000000000070c87a in gc_collect_cycles ()
No symbol table info available.
#9 0x000000000070ce14 in gc_zval_possible_root ()
No symbol table info available.
#10 0x000000000075e049 in ?? ()
No symbol table info available.
#11 0x0000000000717898 in execute_ex ()
No symbol table info available.
#12 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#13 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f9ccd0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x2115108
edata = <optimized out>
dummy = 0x0
fse = 0x1a72f60
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 660742
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#14 0x000000000079e1b0 in ?? ()
No symbol table info available.
#15 0x0000000000717898 in execute_ex ()
No symbol table info available.
#16 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#17 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f9c450) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x27ff460
edata = <optimized out>
dummy = 0x26c8fc0
fse = 0x256b810
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 660739
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#18 0x000000000079e1b0 in ?? ()
No symbol table info available.
#19 0x0000000000717898 in execute_ex ()
No symbol table info available.
#20 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#21 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f9c1b0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x19ea1c8
edata = <optimized out>
dummy = 0x267d6e8
fse = 0x25e9470
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 660038
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#22 0x000000000079e1b0 in ?? ()
No symbol table info available.
#23 0x0000000000717898 in execute_ex ()
No symbol table info available.
#24 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#25 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f9a650) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x19e7e68
edata = <optimized out>
dummy = 0x17
fse = 0x25e0590
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 624498
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#26 0x000000000079e1b0 in ?? ()
No symbol table info available.
#27 0x0000000000717898 in execute_ex ()
No symbol table info available.
#28 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#29 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f9a320) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x19db118
edata = <optimized out>
dummy = 0x6
fse = 0x1a73100
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 604945
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#30 0x000000000079e1b0 in ?? ()
No symbol table info available.
#31 0x0000000000717898 in execute_ex ()
No symbol table info available.
#32 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#33 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f99ad0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x19d9fe0
edata = <optimized out>
dummy = 0x4
fse = 0x25e6590
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 603857
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#34 0x000000000079e1b0 in ?? ()
No symbol table info available.
#35 0x0000000000717898 in execute_ex ()
No symbol table info available.
#36 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#37 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f996d0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x192ec20
edata = <optimized out>
dummy = 0x3
fse = 0x1a7b2d0
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 602674
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#38 0x000000000079e1b0 in ?? ()
No symbol table info available.
#39 0x0000000000717898 in execute_ex ()
No symbol table info available.
#40 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#41 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f97c50) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x205c710
edata = <optimized out>
dummy = 0x3
fse = 0x149a0b0
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 602666
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#42 0x000000000079e1b0 in ?? ()
No symbol table info available.
#43 0x0000000000717898 in execute_ex ()
No symbol table info available.
#44 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#45 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f967e0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x1e474f8
edata = <optimized out>
dummy = 0x3
fse = 0x18e0890
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 602534
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#46 0x000000000079e1b0 in ?? ()
No symbol table info available.
#47 0x0000000000717898 in execute_ex ()
No symbol table info available.
#48 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#49 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f95830) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x1b9c6d8
edata = <optimized out>
dummy = 0xd
fse = 0x1a7b620
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 602479
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#50 0x000000000079e1b0 in ?? ()
No symbol table info available.
#51 0x0000000000717898 in execute_ex ()
No symbol table info available.
#52 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#53 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f94f20) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x1e2df30
edata = <optimized out>
dummy = 0x3
fse = 0x1a71fb0
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 316755
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#54 0x000000000079e1b0 in ?? ()
No symbol table info available.
#55 0x0000000000717898 in execute_ex ()
No symbol table info available.
#56 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#57 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f94b80) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7fffd64d6140
edata = <optimized out>
dummy = 0x8
fse = 0x1256cf0
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 310737
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#58 0x000000000079e1b0 in ?? ()
No symbol table info available.
#59 0x0000000000717898 in execute_ex ()
No symbol table info available.
#60 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#61 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f94840) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7fffd64d6038
edata = <optimized out>
dummy = 0x3
fse = 0x1925ec0
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 310154
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#62 0x000000000079e1b0 in ?? ()
No symbol table info available.
#63 0x0000000000717898 in execute_ex ()
No symbol table info available.
#64 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#65 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f94310) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x1684040
edata = <optimized out>
dummy = 0x7fffffff9958
fse = 0x18e0000
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 310150
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#66 0x000000000079e1b0 in ?? ()
No symbol table info available.
#67 0x0000000000717898 in execute_ex ()
No symbol table info available.
#68 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#69 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f93ff8) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x1683a30
edata = <optimized out>
dummy = 0x7
fse = 0x124f390
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 3418
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#70 0x000000000079e1b0 in ?? ()
No symbol table info available.
#71 0x0000000000717898 in execute_ex ()
No symbol table info available.
#72 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#73 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f928c0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x16923b0
edata = <optimized out>
dummy = 0x3
fse = 0x1252160
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 3136
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#74 0x000000000079e1b0 in ?? ()
No symbol table info available.
#75 0x0000000000717898 in execute_ex ()
No symbol table info available.
#76 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#77 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f92238) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7fffd64836b0
edata = <optimized out>
dummy = 0xc
fse = 0x1251950
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 3131
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#78 0x000000000079e1b0 in ?? ()
No symbol table info available.
#79 0x0000000000717898 in execute_ex ()
No symbol table info available.
#80 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#81 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f91968) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7fffd645e3a8
edata = <optimized out>
dummy = 0x5
fse = 0x1251a70
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 3100
le = <optimized out>
eval_id = <optimized out>
clear = 0
return_val = 0x0
#82 0x000000000079e1b0 in ?? ()
No symbol table info available.
#83 0x0000000000717898 in execute_ex ()
No symbol table info available.
#84 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#85 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f912d0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7fffd645e150
edata = <optimized out>
dummy = 0x3
fse = 0x1251220
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 2733
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#86 0x000000000079e1b0 in ?? ()
No symbol table info available.
#87 0x0000000000717898 in execute_ex ()
No symbol table info available.
#88 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#89 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f90d20) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7ffff7dff6e8
edata = <optimized out>
dummy = 0xebd608 <compiler_globals+392>
fse = 0x1616af0
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 76
le = <optimized out>
eval_id = <optimized out>
clear = 1
return_val = 0x0
#90 0x000000000079d66f in ?? ()
No symbol table info available.
#91 0x0000000000717898 in execute_ex ()
No symbol table info available.
#92 0x00000000006dda09 in dtrace_execute_ex ()
No symbol table info available.
#93 0x00007ffff4e68a7c in xdebug_execute_ex (execute_data=0x7ffff7f900c0) at
/build/buildd/xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
op_array = 0x7ffff7fc66c0
edata = <optimized out>
dummy = 0xebd608 <compiler_globals+392>
fse = 0x1610930
xfse = <optimized out>
magic_cookie = <optimized out>
do_return = 0
function_nr = 0
le = <optimized out>
eval_id = <optimized out>
clear = 1
---Type <return> to continue, or q <return> to quit---
return_val = 0x0
#94 0x00000000006ef490 in zend_execute_scripts ()
No symbol table info available.
#95 0x000000000068f375 in php_execute_script ()
No symbol table info available.
#96 0x000000000079fb3e in ?? ()
No symbol table info available.
#97 0x0000000000461e10 in main ()
No symbol table info available.
Previous Comments:
------------------------------------------------------------------------
[2013-02-18 00:36:02] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2012-10-20 14:06:24] dispyfree at googlemail dot com
As you could have read above, the PHP versions are all patched with suhosin. I tried the newest PHP
from php.net; it didn't work on Ubuntu so I can assume it won't on Debian too.
A downgrade of PHPUnit to 3.7.1 solves the problem for me. However I don't think that's
what you'd be satisfied with ;D
Regards,
------------------------------------------------------------------------
[2012-10-20 12:06:42] pajoye@php.net
Does it happen with an unpatched PHP? Aka without Suhosin.
Please try using the latest PHP release available from our download page.
------------------------------------------------------------------------
[2012-10-20 12:01:25] dispyfree at googlemail dot com
Because this bug tracking system is poorly written, I had to paste my post (my post became
classified as spam every time):
http://pastebin.com/xYqteb7c
------------------------------------------------------------------------
[2012-10-20 04:37:24] laruence@php.net
$ uname -a
Linux laptop.laruence.com 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
------------------------------------------------------------------------
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=63191
--
Edit this bug report at https://bugs.php.net/bug.php?id=63191&edit=1