ID: 47441
User updated by: jpilling at fortvale dot com
Reported By: jpilling at fortvale dot com
Status: Open
Bug Type: Compile Failure
Operating System: zLinux - SLES 10 s390x 64bit
PHP Version: 5.3.0beta1
New Comment:
I tried the following to generate the backtrace (i'm not 100% sure if
I'm doing the right thing, sorry ):
TEST_PHP_EXECUTABLE=/home/php-5.3.0beta1/sapi/cli/php gdb
Once GDB starts to run I enter:
run /home/php-5.3.0beta1/run-tests.php
The output is:
Starting program: /home/php-5.2.8/run-tests.php
No executable file specified.
Use the "file" or "exec-file" command.
Previous Comments:
------------------------------------------------------------------------
[2009-02-19 22:51:54] jpilling at fortvale dot com
Sorry, I don't know which is a PHP fault or which is an Apache fault.
I don't know how to create a backtrace. I read the instructions but i'm
struggling to understand. It mentions a script that causes the
crash....is that the run-tests.php script?
Do I need to run the home/php5.3.0beta1/sapi/cli/php executable using
gdb, and run the test script to get a backtrace?
If thats correct, I get the error that /home/php5.3.0beta1/sapi/cli/php
is not an executable when trying to run it with gdb.
Any ideas?
Sorry for my inexperience.
------------------------------------------------------------------------
[2009-02-19 21:44:22] jani@php.net
Oh, and we still don't have the backtrace of the bug you originally
reported..
------------------------------------------------------------------------
[2009-02-19 21:43:53] jani@php.net
I didn't say the ORIGINAL issue wasn't a PHP bug. Please don't post
irrelevant stuff or multiple bugs in one report.
------------------------------------------------------------------------
[2009-02-19 15:35:16] jpilling at fortvale dot com
The bottom line is that if I try to compile PHP as an apache module OR
as Fast-CGI - the "make test" fails with a segmentation fault unless
--enable-debug is present in my configure line, and -liconv and -glibc
are present in the EXTRA_LIBS part of my makefile.
I've been testing this for months now. So how is this NOT a PHP bug?
------------------------------------------------------------------------
[2009-02-19 15:26:05] jani@php.net
Since you're compiling a handler, and that crash happens inside
Apache's filter stuff, how is this PHP bug..? And why are you posting a
crash in apache here when this bug report was originally about make test
failing?
------------------------------------------------------------------------
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