|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-01-21 15:46 UTC] dylan dot egan at optusnet dot com dot au
Description:
------------
Trying to set a value in a loaded xml file, it returns a seg fault in the log. So I ran gdb.
Reproduce code:
---------------
$s = simplexml_load_file('security.xml'); // $s->security[2]->id = 20
$s->security[2]->id = 21;
Expected result:
----------------
It should set that value to 21 from 20.
Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1077749632 (LWP 29325)]
zend_assign_obj_handler (execute_data=0xbfffd170, op_array=0x40832c04)
at /usr/local/src/php5-200401211830/Zend/zend_execute.c:64
64 z->refcount--;
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 03:00:02 2025 UTC |
#0 zend_assign_obj_handler (execute_data=0xbfffd170, op_array=0x4083253c) at /usr/local/src/php5-200401211830/Zend/zend_execute.c:64 #1 0x40619e64 in execute (op_array=0x4083253c) at /usr/local/src/php5-200401211830/Zend/zend_execute.c:1264 #2 0x405fc76e in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php5-200401211830/Zend/zend.c:1051 #3 0x405c5cce in php_execute_script (primary_file=0xbffff410) at /usr/local/src/php5-200401211830/main/main.c:1642 #4 0x40624da3 in php_handler (r=0x81bd670) at /usr/local/src/php5-200401211830/sapi/apache2handler/sapi_apache2.c:531 #5 0x08068700 in ap_invoke_handler ()