#30780 [Opn->Csd]: new tidyNode segfaults

From: Date: Sun, 14 Nov 2004 13:40:03 +0000
Subject: #30780 [Opn->Csd]: new tidyNode segfaults
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69038@lists.php.net to get a copy of this message
ID: 30780 Updated by: tony2001@php.net Reported By: nlopess@php.net -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: all PHP Version: 5CVS-2004-11-14 (dev) 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: ------------------------------------------------------------------------ [2004-11-14 14:10:36] nlopess@php.net 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 this bug report at http://bugs.php.net/?id=30780&edit=1

« previous php.bugs (#69038) next »