ID:               35088
 Updated by:       [EMAIL PROTECTED]
 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:      5.0.5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




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

[2005-11-03 17:38:22] cole at ccdc dot cam dot ac dot uk

Some more relevant info that I forgot in the initial report - the link
stage of make reported many duplicate symbols in building the apache
library. Most were dom module related. I suspect this is the root
cause, but fixing the issue is not obvious?

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

[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