#34320 [NEW]: Segfault with DomDocument

From: Date: Wed, 31 Aug 2005 17:13:50 +0000
Subject: #34320 [NEW]: Segfault with DomDocument
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84256@lists.php.net to get a copy of this message
From: php at owenpshaw dot net Operating system: Linux PHP version: 5.1.0RC1 PHP Bug Type: Reproducible crash Bug description: Segfault with DomDocument Description: ------------ As near as I can tell, a DomDocument object causes a crash when it is unset. I cannot duplicate the crash with any other kind of object. Reproduce code: --------------- 1) $d = DomDocument::load('test.xml'); 2) $d = DomDocument::load('test.xml'); var_dump($d); 3) $d = DomDocument::load('test.xml'); $d = DomDocument::load('test.xml'); var_dump($d); Expected result: ---------------- 1) (nothing) 2) object(DOMDocument)#1 (0) { } 3) object(DOMDocument)#2 (0) { } Actual result: -------------- 1) Segmentation fault 2) object(DOMDocument)#1 (0) { } Segmentation fault 3) Segmentation fault -- Edit bug report at http://bugs.php.net/?id=34320&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34320&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34320&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34320&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34320&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34320&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34320&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34320&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34320&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34320&r=support Expected behavior: http://bugs.php.net/fix.php?id=34320&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34320&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34320&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34320&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34320&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34320&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34320&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34320&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34320&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34320&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34320&r=mysqlcfg

« previous php.bugs (#84256) next »