[PHP-DEV] Bug #12251 Updated: Error with zend_hash.c after writing a file
ID: 12251 Updated by: lobbin Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Scripting Engine problem Operating System: PHP Version: 4.0CVS-2001-07-19 New Comment: No feedback. Closing. Previous Comments: [2001-12-12 07:05:08] [EMAIL PROTECTED] Could you try with 4.1.0? If there is problem, try it on snapshot. Please provide short complete script next time. [2001-07-19 08:46:40] [EMAIL PROTECTED] Fatal error: ht=001262d4 is already destroyed in zend_hash.c:852 in Unknown on line 0 Fatal error: ht=00123ebc is already destroyed in zend_hash.c:519 in Unknown on line 0 Fatal error: ht=00123ebc is already destroyed in zend_hash.c:519 in Unknown on line 0 Fatal error: ht=00123ebc is already destroyed in zend_hash.c:519 in Unknown on line 0 This error appears after writing in a TXT file. But I don't think that the script I've written can be the source of this bug. function finsert($Nom_script,$tableau,$texte,$i){ static $fp, $k; $tableau[$i] .= $texte.\n; $fp = @fopen ($Nom_script, w); if (!$fp) return FALSE; for ($k=0;$kcount($tableau);$k ++ ) fwrite ($fp,$tableau[$k]); fclose ($fp); return TRUE; } A french developper Xavier Edit this bug report at http://bugs.php.net/?id=12251edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12251 Updated: Error with zend_hash.c after writing a file
ID: 12251 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating System: PHP Version: 4.0CVS-2001-07-19 New Comment: Could you try with 4.1.0? If there is problem, try it on snapshot. Please provide short complete script next time. Previous Comments: [2001-07-19 08:46:40] [EMAIL PROTECTED] Fatal error: ht=001262d4 is already destroyed in zend_hash.c:852 in Unknown on line 0 Fatal error: ht=00123ebc is already destroyed in zend_hash.c:519 in Unknown on line 0 Fatal error: ht=00123ebc is already destroyed in zend_hash.c:519 in Unknown on line 0 Fatal error: ht=00123ebc is already destroyed in zend_hash.c:519 in Unknown on line 0 This error appears after writing in a TXT file. But I don't think that the script I've written can be the source of this bug. function finsert($Nom_script,$tableau,$texte,$i){ static $fp, $k; $tableau[$i] .= $texte.\n; $fp = @fopen ($Nom_script, w); if (!$fp) return FALSE; for ($k=0;$kcount($tableau);$k ++ ) fwrite ($fp,$tableau[$k]); fclose ($fp); return TRUE; } A french developper Xavier Edit this bug report at http://bugs.php.net/?id=12251edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]