php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2763 apache child crashed in zend_hash_internal_pointer_reset (cont. of #2691)
Submitted: 1999-11-19 13:41 UTC Modified: 2000-06-13 23:32 UTC
From: php-bug at vogtner dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: Linux 2.0.35
Private report: No CVE-ID: None
 [1999-11-19 13:41 UTC] php-bug at vogtner dot de
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 ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-22 19:39 UTC] andrei at cvs dot php dot net
Please try Beta 3 and let us know if it's still happening.
 [1999-11-27 10:59 UTC] php-bug at vogtner dot de
It still crashed 4.0B3
 [2000-02-12 17:49 UTC] andi at cvs dot php dot net
Please try the latest CVS snapshot at http://bonsai.php.net/~sas/snapshots/ or get the source tree via CVS and let us know if you still have this problem
 [2000-06-13 23:32 UTC] andrei at cvs dot php dot net
This should have been long fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 20:01:32 2024 UTC