ID: 8850 Updated by: andi Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash PHP Version: 4.0 Latest CVS (23/01/2001) Assigned To: Comments: Please try 4.0.5 (due out tomorrow) or the latest CVS and open a new bug report if this still happens Previous Comments: --------------------------------------------------------------------------- [2001-01-23 02:40:06] [EMAIL PROTECTED] I got a report that phpMyAdmin crashed Caudium sometimes. After fetching the latest version (as reported by freshmeat), unpacking it and testing it I did indeed get a crash. However it's not specific to Caudium since the CGI version crashes as well. I used latest CVS (10 minutes old) and the CGI version for the backtraces. Let me know if anything more than the below is needed. Program received signal SIGSEGV, Segmentation fault. 0x80d006c in zend_hash_index_update_or_next_insert (ht=0x0, h=1, pData=0xbfffb998, nDataSize=4, pDest=0x0, flag=1) at ../../../Zend/zend_hash.c:396 396 nIndex = h % ht->nTableSize; (gdb) bt #0 0x80d006c in zend_hash_index_update_or_next_insert (ht=0x0, h=1, pData=0xbfffb998, nDataSize=4, pDest=0x0, flag=1) at ../../../Zend/zend_hash.c:396 #1 0x80ce7e1 in add_index_bool (arg=0x819a654, index=1, b=0) at ../../../Zend/zend_API.c:337 #2 0x80a17f1 in php_ereg (ht=3, return_value=0x819a22c, this_ptr=0x0, return_value_used=1, icase=1) at /home/neotron/src/php4/ext/standard/reg.c:250 #3 0x80a18a1 in php_if_eregi (ht=3, return_value=0x819a22c, this_ptr=0x0, return_value_used=1) at /home/neotron/src/php4/ext/standard/reg.c:279 #4 0x80f5fff in execute (op_array=0x816a60c) at ../../../Zend/zend_execute.c:1493 #5 0x80cd5eb in zend_execute_scripts (type=8, file_count=3) at ../../../Zend/zend.c:743 #6 0x805f0cb in php_execute_script (primary_file=0xbffff858) at /home/neotron/src/php4/main/main.c:1166 #7 0x805d65c in main (argc=2, argv=0xbffff8d4) at /home/neotron/src/php4/sapi/cgi/cgi_main.c:736 #8 0x400b4cae in __libc_start_main () from /lib/libc.so.6 (gdb) p h $3 = 1 (gdb) p ht $4 = (HashTable *) 0x0 (gdb) up #1 0x80ce7e1 in add_index_bool (arg=0x819a654, index=1, b=0) at ../../../Zend/zend_API.c:337 337 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *),NULL); (gdb) p arg $5 = (zval *) 0x819a654 *(gdb) p *arg $6 = {value = {lval = 0, dval = 0, str = {val = 0x0, len = 0}, ht = 0x0, obj = {ce = 0x0, properties = 0x0}}, type = 6 ' -- 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]