ID:               45761
 Updated by:       [EMAIL PROTECTED]
 Reported By:      a dot sanders at manchester dot ac dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 9
 PHP Version:      5.2CVS-2008-08-11


Previous Comments:
------------------------------------------------------------------------

[2008-08-14 17:56:42] [EMAIL PROTECTED]

It's something you're doing very wrong or is pretty messed up on your
system. Try testing on other Solaris machine. I'm done with this, it
works fine for me on several different Linux machines.

------------------------------------------------------------------------

[2008-08-14 07:17:37] a dot sanders at manchester dot ac dot uk

That directory does contain the sources.

------------------------------------------------------------------------

[2008-08-13 19:12:24] [EMAIL PROTECTED]

Does this directory contain the sources of PHP or not:
/home/copacw/php5.2-200808110110830/ 

If not, point that to the sources then..or where ever the hell the
tests are you run when you do 'make test'..

------------------------------------------------------------------------

[2008-08-13 14:26:08] a dot sanders at manchester dot ac dot uk

I don't think we're quite there yet. I copied and pasted your
suggested command line and got the following:

carew copacw/php5.2-200808110830 $ USE_ZEND_ALLOC=0 \
> TEST_PHP_EXECUTABLE=/home/copacw/php5.2-200808110830/sapi/cli/php \
> gdb --arg /home/copacw/php5.2-200808110830/sapi/cli/php -n \
> run-tests.php -n /home/copacw/php5.2-200808110110830/
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "sparc-sun-solaris2.9"...
(gdb) run
Starting program: /home/copacw/php5.2-200808110830/sapi/cli/php -n
run-tests.php -n /home/copacw/php5.2-200808110110830/
bogus test name /home/copacw/php5.2-200808110110830/

Program exited normally.
(gdb) 

(My apologies for being too dumb to sort this out myself.)

------------------------------------------------------------------------

[2008-08-13 14:20:22] [EMAIL PROTECTED]

Almost there. :) You tried to execute the php binary as a script, leave
that sapi/cli/php out of the last path, it's supposed to be the s.c.
top_srcdir. This should be correct for you:

# USE_ZEND_ALLOC=0 \
TEST_PHP_EXECUTABLE=/home/copacw/php5.2-200808110830/sapi/cli/php \
gdb --arg /home/copacw/php5.2-200808110830/sapi/cli/php -n \
run-tests.php -n /home/copacw/php5.2-200808110110830/

(gdb) run
<possible segfault>
(gdb) bt

Start copying the output of "bt" command from the line after the "run"
command which has the line with the crash info.

------------------------------------------------------------------------

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/45761

-- 
Edit this bug report at http://bugs.php.net/?id=45761&edit=1

Reply via email to