PHP 4.0 Bug #2763: apache child crashed in zend_hash_internal_pointer_reset (cont. of #2691)
| From: | php-bug at vogtner dot de | Date: | Fri, 19 Nov 1999 12:41:09 +0000 |
| Subject: | PHP 4.0 Bug #2763: apache child crashed in zend_hash_internal_pointer_reset (cont. of #2691) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12761@lists.php.net to get a copy of this message | ||
From: php-bug@vogtner.de
Operating system: Linux 2.0.35
PHP version: 4.0 Beta 2
PHP Bug Type: Reproduceable crash
Bug description: apache child crashed in zend_hash_internal_pointer_reset (cont. of #2691)
cf. Bug id #2691
recompiled everything from scratch. Here is the dump:
configure options of apache:
./configure \
--prefix=/usr/local/apache \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--activate-module=src/modules/zmod/libzmod.a \
--enable-suexec \
--suexec-caller=http \
--suexec-docroot=/mnt/newdocs \
--enable-module=php4 >> $THIS/.log 2>&1
configure options of PHP:
./configure \
--with-apache=$THIS/$APACHE \
--with-mysql$MYSQL \
--enable-memory-limits=yes \
--without-pcre-regex \
--enable-debug=yes
Compiles with --enable-debug yields:
Program received signal SIGSEGV, Segmentation fault.
0x80de393 in zend_hash_internal_pointer_reset (ht=0x81b9c65) at
zend_hash.c:992
992 ht->pInternalPointer = ht->pListHead;
(gdb) where
#0 0x80de393 in zend_hash_internal_pointer_reset (ht=0x81b9c65)
at zend_hash.c:992
#1 0x80bbf80 in php_print_info (flag=-1) at info.c:212
#2 0x80bcab9 in php3_phpinfo (ht=0, return_value=0xbffff680,
list=0x8204c1c,
plist=0x8204c48, this_ptr=0x0) at info.c:439
#3 0x80e3ae7 in execute (op_array=0x825f328) at zend_execute.c:1407
#4 0x80a23a2 in php_execute_script (primary_file=0xbffff83c) at
main.c:1138
#5 0x80a2433 in apache_php_module_main (r=0x82478a4, fd=22,
display_source_mode=0) at main.c:1180
#6 0x80a08fa in send_php ()
#7 0x80a094a in send_parsed_php ()
#8 0x80ea4f9 in ap_invoke_handler ()
#9 0x80feadf in process_request_internal ()
#10 0x80feb4a in ap_process_request ()
#11 0x80f5d96 in child_main ()
#12 0x80f6038 in make_child ()
#13 0x80f63c8 in perform_idle_server_maintenance ()
#14 0x80f691c in standalone_main ()
#15 0x80f6f6c in main ()
#16 0x807019e in _start ()