php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7328 apache httpd crash
Submitted: 2000-10-19 02:31 UTC Modified: 2000-11-29 06:16 UTC
From: steinm@php.net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (19/10/2000) OS: Linux 2.2.14
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: steinm@php.net
New email:
PHP Version: OS:

 

 [2000-10-19 02:31 UTC] steinm@php.net
httpd crashes all the time. I did a make clean in php and apache.
Here is a bt.

  Uwe

(gdb) run -X -f /usr/local/apache/conf/httpd.conf
Starting program: /local_libc5/apache-1.3b5/bin/./httpd -X -f /usr/local/apache/conf/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
0x402d3037 in chunk_alloc (ar_ptr=0x4036ad00, nb=48) at malloc.c:2802
2802    malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x402d3037 in chunk_alloc (ar_ptr=0x4036ad00, nb=48) at malloc.c:2802
#1  0x402d2764 in __libc_malloc (bytes=42) at malloc.c:2634
#2  0x81005c5 in zend_hash_add_or_update (ht=0x83e8360, arKey=0x827d60f "strtok", 
    nKeyLength=7, pData=0xbfffb298, nDataSize=84, pDest=0x0, flag=2)
    at zend_hash.c:291
#3  0x80fe195 in zend_register_functions (functions=0x831c5b4, function_table=0x0, 
    type=1) at zend_API.c:740
#4  0x80fe33a in zend_register_module (module=0x831d780) at zend_API.c:792
#5  0x80fe0cf in zend_startup_module (module=0x831d780) at zend_API.c:703
#6  0x805e21f in php_startup_extensions (ptr=0x831a1a4, count=15) at main.c:736
#7  0x805ed95 in php_startup_internal_extensions () at internal_functions.c:77
#8  0x805e48b in php_module_startup (sf=0x83168e0) at main.c:885
#9  0x805c0f6 in php_apache_startup (sapi_module=0x83168e0) at mod_php4.c:261
#10 0x805c79c in php_apache_value_handler_ex (cmd=0xbffff734, conf=0x83cae30, 
    arg1=0x83a539c "upload_max_filesize", arg2=0x83a53b4 "6000000", mode=2)
    at mod_php4.c:602
#11 0x805c8ed in php_apache_value_handler (cmd=0xbffff734, conf=0x83cae30, 
    arg1=0x83a539c "upload_max_filesize", arg2=0x83a53b4 "6000000") at mod_php4.c:628
#12 0x816fb6e in invoke_cmd ()
#13 0x8170531 in ap_handle_command ()
#14 0x81705cf in ap_srm_command_loop ()
#15 0x8173b50 in dirsection ()
#16 0x816f9cc in invoke_cmd ()
#17 0x8170531 in ap_handle_command ()
#18 0x81705cf in ap_srm_command_loop ()
#19 0x8170a24 in ap_process_resource_config ()
#20 0x81713de in ap_read_config ()
#21 0x817b590 in standalone_main ()
#22 0x817bedc in main ()
#23 0x4028f213 in __libc_start_main (main=0x817bb24 <main>, argc=4, argv=0xbffff8a4, 
    init=0x804dd80 <_init>, fini=0x8270210 <_fini>, rtld_fini=0x4000ac30 <_dl_fini>, 
    stack_end=0xbffff89c) at ../sysdeps/generic/libc-start.c:90

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-19 19:21 UTC] sniper@php.net
You're really using apache 1.3b5? Isn't that quite old since the newest
version is 1.3.14? Anyway, does this crash happen with some script?
At startup ? What is the configure line you use? 

--Jani
 [2000-10-22 15:03 UTC] sniper@php.net
User feedback:
-----------
> You're really using apache 1.3b5? Isn't that quite old since the newest
No it's 1.3.12

It crash right after I started httpd, without a single http request.

./configure --with-apache=/software/src/apache_1.3.12 \
            --with-hyperwave=yes \
            --with-hyperwave=yes \
            --with-pdflib=/usr/local/pdflib \
            --with-pcre-regex=no \
            --with-zlib \
            --with-tiff-dir=/usr/X11R6 \
            --with-pgsql=/usr/local/pgsql \
            --with-mysql=/usr/local/mysql \
            --with-gd=/usr/local \
            --with-ttf \
            --with-t1lib \
            --with-fdftk=/usr/local/Fdftk-3.0 \
            --with-xml=/usr/local \
            --with-imap=/usr/local/imap \
            --with-regex=php \
            --with-dom=/usr/local/libxml \
            --with-swf=/usr/local \
            --with-phpbuch

--------

Did it work before updating? 

--Jani
 [2000-11-29 06:16 UTC] stas@php.net
No feedback
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 05 04:01:35 2025 UTC