|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-07 17:53 UTC] cole at ccdc dot cam dot ac dot uk
[2005-11-07 18:10 UTC] sniper@php.net
[2005-11-07 18:13 UTC] cole at ccdc dot cam dot ac dot uk
[2005-11-14 16:30 UTC] cole at ccdc dot cam dot ac dot uk
[2005-11-15 23:02 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
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