#38406 [Com]: PHP crashes when manipulating with SimpleXML object

From: Date: Tue, 20 Feb 2007 12:22:06 +0000
Subject: #38406 [Com]: PHP crashes when manipulating with SimpleXML object
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109164@lists.php.net to get a copy of this message
ID: 38406 Comment by: dominics at gmail dot com Reported By: zizka at seznam dot cz Status: No Feedback Bug Type: SimpleXML related Operating System: Windows XP PHP Version: 5.1.4 New Comment: I forgot to mention the specific error: Unhandled exception at 0x008eafcb in Apache.exe: 0xC0000005: Access violation reading location 0x00000002. Previous Comments: ------------------------------------------------------------------------ [2007-02-20 12:18:58] dominics at gmail dot com 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; ?> ------------------------------------------------------------------------ [2006-08-18 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-08-10 16:27:38] tony2001@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2006-08-10 16:08:13] nik at betline dot ru Without changes. Same error exists. ------------------------------------------------------------------------ [2006-08-10 07:50:07] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38406 -- Edit this bug report at http://bugs.php.net/?id=38406&edit=1

« previous php.bugs (#109164) next »