ID: 46568
Comment by: crrodriguez at opensuse dot org
Reported By: phpbugs at colin dot guthr dot ie
Status: Open
Bug Type: Scripting Engine problem
Operating System: * (64bit)
PHP Version: 5.2.7RC3
New Comment:
Yes, it suggest that your compiler optimized badly.. try
export CFLAGS="-O2 -fno-strict-aliasing" and rebuild. if still
crashes... try -O1..
Previous Comments:
------------------------------------------------------------------------
[2008-11-18 21:20:43] phpbugs at colin dot guthr dot ie
OK, I repeated the make test sans-debug and it seems that a couple more
tests fail under this scenario.
http://kenobi.mandriva.com/~colin/php_test_results_20081118_2054.txt
The most interesting extra failure is:
Bug #30707 (Segmentation fault on exception in method)
[Zend/tests/bug30707.phpt]
This could perhaps provide some clues?
For convenience, here is a diff of non-debug vs. debug:
http://kenobi.mandriva.com/~colin/php-make-test.diff.txt
------------------------------------------------------------------------
[2008-11-18 20:46:09] phpbugs at colin dot guthr dot ie
Just tried --enable-debug and when built this way, it does indeed work
as expected. Does this suggest anything else I can try to narrow down
the problem.
I also tried make test and did get several failures.
I uploaded the test results to
http://kenobi.mandriva.com/~colin/php_test_results_20081118_2006.txt
although none of these look particularly relevant. I will do another
build sans --enable-debug and see if any different standard tests fail.
------------------------------------------------------------------------
[2008-11-18 18:11:21] crrodriguez at opensuse dot org
Did you built 5.2.7RC3 with --enable-debug ? if not, try that, does it
crash anyway ?
------------------------------------------------------------------------
[2008-11-18 17:36:56] phpbugs at colin dot guthr dot ie
Thanks for all the feedback/help. I will have to investigate further. I
do not think my system hardware is at fault due to having confirmed on
two other machines, although both Mandriva based. This is why I
suspected the compiler.
I will try and work out more info.
------------------------------------------------------------------------
[2008-11-18 17:23:16] crrodriguez at opensuse dot org
Cannot reproduce,in opensuse 11 64 bit , GCC 4.3.1 either with or
without suhosin.
I suspect either your system or your compiler is doing something wrong.
------------------------------------------------------------------------
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
http://bugs.php.net/46568--
Edit this bug report at http://bugs.php.net/?id=46568&edit=1