#27000 [NEW]: Seg Fault when trying to set a value

From: Date: Wed, 21 Jan 2004 20:46:10 +0000
Subject: #27000 [NEW]: Seg Fault when trying to set a value
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-53727@lists.php.net to get a copy of this message
From: dylan dot egan at optusnet dot com dot au Operating system: Linux PHP version: 5CVS-2004-01-21 (dev) PHP Bug Type: XML related Bug description: Seg Fault when trying to set a value 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 bug report at http://bugs.php.net/?id=27000&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27000&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27000&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27000&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27000&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27000&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27000&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27000&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27000&r=support Expected behavior: http://bugs.php.net/fix.php?id=27000&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27000&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27000&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27000&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27000&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27000&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27000&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27000&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27000&r=float

« previous php.bugs (#53727) next »