|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-08-10 00:54 UTC] zizka at seznam dot cz
Description: ------------ PHP crashes when manipulating with SimpleXML object. See the code in the testcase. I think it does not concern stack overflow as there is no (obvious) recursion. Reproduce code: --------------- http://ondra.zizka.cz/projekty/bugs/bug_SimpleXML_crash-testcase.php.txt Expected result: ---------------- Either a node should be added, or PHP should throw some exception or warning. Actual result: -------------- Apache thread crashes (Win32 reports illegal operation). Application Failure Apache.exe 2.0.55.0 in php5ts.dll 5.1.4.4 at offset 001ec55b PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
While this isn't my bug (and so I can't reopen it), and I can't view the original test case, I still believe I'm experiencing the same crash. I'm using PHP 5.2.1, Apache 2.0.54 and Windows XP. A somewhat similar platform to the original reporter. I am able to consistently reproduce the bug with the following test case: <?php $item = new SimpleXMLElement('<something />'); $item->attribute = 'something'; $item->otherAttribute = $item->attribute; ?>