Edit report at https://bugs.php.net/bug.php?id=60825&edit=1
ID: 60825
Updated by: laruence@php.net
Reported by: php at wallbash dot com
Summary: Segfault when running symfony 2 tests
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: Ubuntu 10.04.3 LTS
PHP Version: 5.4.0RC6
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
seems the same issue exists in 5.3 too, previous fix only fixed the bug in 5.4
Previous Comments:
------------------------------------------------------------------------
[2012-05-22 14:05:51] php at wallbash dot com
Dear pajoye@php.net,
Sorry for answering so late. I focused my attention on other projects still now
and did not check if the issue was solved using an higher production version. It
seems the issue still exists with current stable version 5.3.13. I get the same
segmentation fault when testing a project using Doctrine ORM. However, the fault
location seems to elsewhere. See below.
$ php --version
PHP 5.3.13 (cli) (built: May 8 2012 15:39:23)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
$ gdb --args php /usr/local/bin/phpunit test
GNU gdb (GDB) CentOS (7.0.1-42.el5.centos)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/php...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/php /usr/local/bin/phpunit test
[Thread debugging using libthread_db enabled]
PHPUnit 3.6.10 by Sebastian Bergmann.
.......................
Program received signal SIGSEGV, Segmentation fault.
0x0000000000652700 in ?? ()
(gdb) bt
#0 0x0000000000652700 in ?? ()
#1 0x00002aaab147ae4c in ?? () from /usr/lib64/php/modules/pdo.so
#2 0x0000000000692bcd in ?? ()
#3 0x000000000065876b in execute ()
#4 0x0000000000627043 in zend_call_function ()
#5 0x000000000064830f in zend_call_method ()
#6 0x00000000006507e8 in zend_objects_destroy_object ()
#7 0x000000000064ea3c in gc_collect_cycles ()
#8 0x000000000064f00e in gc_zval_possible_root ()
#9 0x00000000006b51ed in ?? ()
#10 0x000000000065876b in execute ()
#11 0x0000000000627043 in zend_call_function ()
#12 0x0000000000535fbe in ?? ()
#13 0x0000000000659669 in ?? ()
#14 0x000000000065876b in execute ()
#15 0x0000000000631ba5 in zend_execute_scripts ()
#16 0x00000000005e1328 in php_execute_script ()
#17 0x00000000006bbdf0 in ?? ()
#18 0x00002aaaab7cb994 in __libc_start_main () from /lib64/libc.so.6
#19 0x0000000000422509 in _start ()
------------------------------------------------------------------------
[2012-04-18 09:46:28] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cf54cc736bc27f18b9a27ed882ad87b1d2e7a2b3
Log: Fixed bug #60825 (Segfault when running symfony 2 tests)
------------------------------------------------------------------------
[2012-04-18 09:46:25] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a222954a45df7af796e3c890075010bf0213773b
Log: Re-fixed bug #60825 (Segfault when running symfony 2 tests)
------------------------------------------------------------------------
[2012-04-18 09:46:24] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=498d9aea7f1ac60ccefd0de5e5d854c27d603900
Log: Fixed bug #60825 (Segfault when running symfony 2 tests)
------------------------------------------------------------------------
[2012-03-15 10:26:16] pajoye@php.net
@maxime dot marais at gmail dot com
Please try yourself using the snapshots. But as far as I can see the fix has been
applied to 5.3, so it should work with the snaps.
------------------------------------------------------------------------
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=60825--
Edit this bug report at https://bugs.php.net/bug.php?id=60825&edit=1