#47441 [Bgs]: PHP segmentation fault on 'make test'
| From: | johannes@php.net | Date: | Mon, 16 Mar 2009 19:35:21 +0000 |
| Subject: | #47441 [Bgs]: PHP segmentation fault on 'make test' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134769@lists.php.net to get a copy of this message | ||
ID: 47441
Updated by: johannes@php.net
Reported By: jpilling at fortvale dot com
Status: Bogus
Bug Type: Compile Failure
Operating System: zLinux - SLES 10 s390x 64bit
PHP Version: 5.3.0beta1
New Comment:
Zend Optimizer is supported by Zend, not php.net
Previous Comments:
------------------------------------------------------------------------
[2009-02-23 00:16:11] jpilling at fortvale dot com
anyone??
------------------------------------------------------------------------
[2009-02-21 17:14:51] jpilling at fortvale dot com
I dont understand.....what I meant is that I want to install PHP with
the --disable-debug option, and then once its installed properly I can
add the Zend optimizer at a later date as an add on (to use the zend
optimizer PHP has to be installed using the --disable-debug option)
The backtrace i submitted was from PHP configured in the following
way:
./configure --with-apxs2=/home/apache2/bin/apxs
--with-mysql=/home/mysql
--prefix=/home/apache2/php --disable-debug
Are you saying I need to get a backtrace from PHP compiled as follows:
./configure --disable-all --disable-debug
Please advise.
regards
------------------------------------------------------------------------
[2009-02-20 13:18:56] jani@php.net
Third strike. You're supposed to disable ALL 3rd party extensions.
Especially any zend extensions.
------------------------------------------------------------------------
[2009-02-20 11:31:43] jpilling at fortvale dot com
PS: I need to compile with --disable-debug to use the Zend Optimizer.
------------------------------------------------------------------------
[2009-02-20 10:26:57] jpilling at fortvale dot com
Ok, I understand how to get the backtrace now, but the segmentation
fault on "make test" will only occur if I --disable-debug, so how can I
get a backtrace if debugging is not enabled? If I use --enable-debug php
compiles OK.
I ran GDB anyway after my compile with --disable-debug, which is
probably useless, and i got:
(gdb) run /home/php-5.3.0beta1/run-tests.php
Starting program: /home/php-5.3.0beta1/sapi/cli/php
/home/php-5.3.0beta1/run-tests.php
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 2199031317472 (LWP 9045)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2199031317472 (LWP 9045)]
0x000000008027ea22 in ?? ()
------------------------------------------------------------------------
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/47441
--
Edit this bug report at http://bugs.php.net/?id=47441&edit=1