ID: 38406 Updated by: [EMAIL PROTECTED] Reported By: zizka at seznam dot cz -Status: Assigned +Status: Closed Bug Type: SimpleXML related Operating System: Windows XP PHP Version: 5.1.4 Assigned To: helly New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-02-20 12:48:09] [EMAIL PROTECTED] Marcus, please review this patch: http://tony2001.phpclub.net/dev/tmp/bug38406.diff ------------------------------------------------------------------------ [2007-02-20 12:29:48] dominics at gmail dot com I've just confirmed that this bug works on Linux (Debian Etch) too. Using Apache 2.2.3 and PHP 5.2, and the test case above, the apache process segfaults: [Wed Feb 21 01:26:50 2007] [notice] child pid 3758 exit signal Segmentation fault (11) [Wed Feb 21 01:26:51 2007] [notice] child pid 3938 exit signal Segmentation fault (11) ------------------------------------------------------------------------ [2007-02-20 12:22:05] dominics at gmail dot com I forgot to mention the specific error: Unhandled exception at 0x008eafcb in Apache.exe: 0xC0000005: Access violation reading location 0x00000002. ------------------------------------------------------------------------ [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". ------------------------------------------------------------------------ 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
