#30780 [NEW]: new tidyNode segfaults

From: Date: Sun, 14 Nov 2004 13:10:47 +0000
Subject: #30780 [NEW]: new tidyNode segfaults
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69037@lists.php.net to get a copy of this message
From: nlopess@php.net Operating system: all PHP version: 5CVS-2004-11-14 (dev) PHP Bug Type: Unknown/Other Function Bug description: new tidyNode segfaults Description: ------------ PHP segfaults with supplied code; Reproduce code: --------------- <? new tidyNode; ?> Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. tidy_object_free_storage (object=0x83da2cc) at /cvs/php-src/ext/tidy/tidy.c:500 500 intern->ptdoc->ref_count--; (gdb) bt #0 tidy_object_free_storage (object=0x83da2cc) at /cvs/php-src/ext/tidy/tidy.c:500 #1 0x0820755d in zend_objects_store_del_ref (zobject=0x1) at /cvs/php-src/Zend/zend_objects_API.c:159 #2 0x081f21e0 in _zval_dtor_func (zvalue=0x83e4b0c) at /cvs/php-src/Zend/zend_variables.c:52 #3 0x081e8de0 in _zval_ptr_dtor (zval_ptr=0x833fabc) at zend_variables.h:35 #4 0x082129ec in zend_do_fcall_common_helper_SPEC (execute_data=0xbfffd560) at zend_vm_execute.h:241 #5 0x08212539 in execute (op_array=0x83e516c) at zend_vm_execute.h:58 #6 0x081f3d0a in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /cvs/php-src/Zend/zend.c:1053 #7 0x081bcaef in php_execute_script (primary_file=0xbffff940) at /cvs/php-src/main/main.c:1634 #8 0x0826d5b0 in main (argc=2, argv=0xbffff9d4) at /cvs/php-src/sapi/cli/php_cli.c:943 -- Edit bug report at http://bugs.php.net/?id=30780&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30780&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30780&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30780&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30780&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30780&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30780&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30780&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30780&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30780&r=support Expected behavior: http://bugs.php.net/fix.php?id=30780&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30780&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30780&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30780&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30780&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30780&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30780&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30780&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30780&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30780&r=mysqlcfg

« previous php.bugs (#69037) next »