ID:               35088
 Updated by:       [EMAIL PROTECTED]
-Summary:          Compile failure with php_spl.c
 Reported By:      cole at ccdc dot cam dot ac dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         DOM XML related
 Operating System: IRIX 6.5.18m
 PHP Version:      5CVS-2005-11-03
 Assigned To:      helly
 New Comment:

Since the compile failures are now gone, does the original issue you
reported still exist with that snapshot?
(the pear issue is reported elsewhere by other people, you can get rid
of that error with --without-pear configure option)



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

[2005-11-07 14:56:49] cole at ccdc dot cam dot ac dot uk

The snapshot builds to completion now - The mips-pro compiler is quite
fussy, and throws out quite a lot of warnings when compiling the
snapshot. Would it be of interest to you to see them all?

Let me know if you'd find this helpful and I'll send it all in.

Having compiled this snapshot, I no longer get messages about 'Output
line too long'


make install still fails however:

Warning: PEAR_Installer_Role::factory(PEAR/Installer/Role/Php.php):
failed to open stream: No such file or directory in
phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 80

Fatal error: PEAR_Installer_Role::factory(): Failed opening required
'PEAR/Installer/Role/Php.php'
(include_path='.:/local/cole/php5-200511071130/lib/php') in
phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 80
*** Error code 255 (bu21)
*** Error code 1 (bu21)

my configure line was

./configure --with-apxs2=/local/cole/apache2/bin/apxs
--prefix=/local/cole/php5-200511071130

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

[2005-11-03 17:34:04] cole at ccdc dot cam dot ac dot uk

Description:
------------
php child process core dumps while trying to execute
DOMDocument->loadXML() from within apache2

 

 

Reproduce code:
---------------
$doc = new DOMDocument();
$doc->formatOutput = true;
$doc->preserveWhiteSpace = false;

// Calling loadXML here causes the core dump
$doc->loadXML( "<hello></hello>");




Expected result:
----------------
Not to core dump!

Actual result:
--------------
It crashes.

Other possibly relevant things: The compilation of php and apache used
the native mips-pro compiler (rather than gcc).

Here's some data about the system, and the php shared object

We configured with 

./configure --with-apxs2=/local/cole/apache2/bin/apxs
--prefix=/local/cole/php-5.0.5

>From the server log
[Thu Nov 03 16:16:08 2005] [notice] child pid 1749448 exit signal
Segmentation fault (11), possible coredump in
/home/cole/not-backed-up/relibase_clean_build/relibase_irix_build/relibase

>From ldd:

ldd libphp5.so
        libm.so  =>      /usr/lib32/libm.so     
        libz.so  =>      /usr/lib32/libz.so     
        libxml2.so.3 =>         /usr/lib32/internal/libxml2.so.3      

        libc.so.1  =>    /usr/lib32/libc.so.1 




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


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

Reply via email to