ID:               27000
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dylan dot egan at optusnet dot com dot au
-Status:           Open
+Status:           Feedback
 Bug Type:         XML related
 Operating System: Linux
 PHP Version:      5CVS-2004-01-21 (dev)
 New Comment:

Can you please also add the output from "bt" from the GDB command line?
(That will generate the backtrace)


Previous Comments:
------------------------------------------------------------------------

[2004-01-21 15:46:09] 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--;


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27000&edit=1

Reply via email to