php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11266 segmentation fault
Submitted: 2001-06-04 09:12 UTC Modified: 2001-06-18 20:33 UTC
From: david at sky dot net dot cn Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5 OS: redhat 7.1 kernel 2.4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david at sky dot net dot cn
New email:
PHP Version: OS:

 

 [2001-06-04 09:12 UTC] david at sky dot net dot cn
config like this: 
./configur --with-mysql --with-apache=../apache_1.3.19
and run some query and other stuff. 

result in apache child segmentation fault (11) .

backtrace.

(gdb) bt
#0  0x080e55ad in zend_hash_index_find (ht=0x822609c, h=1, pData=0xbfffcd70) at zend_hash.c:929
#1  0x0810e262 in zend_fetch_dimension_address_inner (ht=0x822609c, op2=0x822ab10, Ts=0xbfffce00, type=0) at ./zend_execute.c:553
#2  0x08105dc3 in zend_fetch_dimension_address (result=0x822aaf0, op1=0x822ab00, op2=0x822ab10, Ts=0xbfffce00, type=0)
    at ./zend_execute.c:671
#3  0x08107ab9 in execute (op_array=0x821fdb4) at ./zend_execute.c:1161
#4  0x080e1d06 in zend_execute_scripts (type=8, file_count=3) at zend.c:743
#5  0x0807dd77 in php_execute_script (primary_file=0xbffff700) at main.c:1209
#6  0x080ed7f6 in apache_php_module_main (r=0x820ee74, display_source_mode=0) at sapi_apache.c:89
#7  0x0807b937 in send_php (r=0x820ee74, display_source_mode=0, filename=0x0) at mod_php4.c:521
#8  0x0807b95e in send_parsed_php (r=0x820ee74) at mod_php4.c:532
#9  0x08113667 in ap_invoke_handler () at eval.c:41
#10 0x08127453 in process_request_internal () at eval.c:41
#11 0x0812787b in ap_internal_redirect () at eval.c:41
#12 0x080740f0 in handle_dir () at eval.c:41
#13 0x08113667 in ap_invoke_handler () at eval.c:41
#14 0x08127453 in process_request_internal () at eval.c:41
#15 0x081274b4 in ap_process_request () at eval.c:41
#16 0x0811e905 in child_main () at eval.c:41
#17 0x0811eb73 in make_child () at eval.c:41
#18 0x0811eef0 in perform_idle_server_maintenance () at eval.c:41
#19 0x0811f469 in standalone_main () at eval.c:41
#20 0x0811fa9f in main () at eval.c:41
#21 0x400c7177 in __libc_start_main (main=0x811f700 <main>, argc=1, ubp_av=0xbffffb1c, init=0x8062be4 <_init>, 
    fini=0x814f440 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffb0c) at ../sysdeps/generic/libc-start.c:129
(gdb) 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-04 22:46 UTC] sniper@php.net
Could you please try these solutions:

1. Get fresh sources of both Apache and PHP and 
do the install steps again. But this time use the
path to the external mysql: --with-mysql=/path

2. If the first one didn't work, try the 4.0.6 release
candidate 2 from here:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

--Jani

 [2001-06-18 20:33 UTC] sniper@php.net
If you still get this segfault with either
latest CVS or RC, reopen with a short script that
can be used to reproduce this.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 23:01:27 2025 UTC