php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28092 apace2 crash when stop
Submitted: 2004-04-21 15:55 UTC Modified: 2004-04-23 21:06 UTC
From: xuefer at 21cn dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.6 OS: linux
Private report: No CVE-ID: None
 [2004-04-21 15:55 UTC] xuefer at 21cn dot com
Description:
------------
apache2
version 4.3.5 did't crash(at least this way)

Reproducible steps:
1. edit http.conf, CoreDumpDirectory /test/coredump/
2. /test/bin/apachectl start
3. /test/bin/apachectl stop
4. ls /test/coredump
got "core" file

Core was generated by `/test/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.

#0  0x40740a90 in ?? ()
(gdb) bt
#0  0x40740a90 in ?? ()
#1  0x08099a78 in main ()
#2  0x401be657 in __libc_start_main (main=0x80997c0 <main>, argc=3, 
    ubp_av=0xbffffaf4, init=0x806296c <_init>, fini=0x80ba030 <_fini>, 
    rtld_fini=0x4100dc54 <_dl_fini>, stack_end=0xbffffaec)
    at ../sysdeps/generic/libc-start.c:129
(gdb) q



config.nice:
#! /bin/sh
#
# Created by configure

'./configure' \
'--prefix=/test' \
'--with-mysql=/usr/local/mysql' \
'--with-apxs2=/test/bin/apxs' \
'--with-zlib' \
'--with-ttf' \
'--with-jpeg-dir=/usr' \
'--with-png-dir=/usr' \
'--with-gd' \
'--with-dom=/usr/local/' \
'--with-openssl' \
'--with-posix' \
'--with-iconv' \
'--enable-sockets' \
'--enable-inline-optimization' \
'--enable-mbregex' \
'--enable-bcmath' \
'--enable-pcntl' \
"$@"



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-22 01:57 UTC] iliaa@php.net
What version of Apache 2 server are you using? 
 [2004-04-22 04:02 UTC] xuefer at 21cn dot com
Apache/2.0.48 (Unix) mod_ssl/2.0.48

without loading php module will not crash


CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -funroll-loops -pipe"; export CFLAGS
"./configure" \
"--with-layout=Apache" \
"--prefix=/test" \
"--with-mpm=prefork" \
"--enable-so" \
"--enable-modules=rewrite headers expires vhost_alias info rewrite ssl" \
"$@"
 [2004-04-23 20:17 UTC] xuefer at 21cn dot com
this bug is bogus
it seems a problem of mmcache. no crash when i removed mmcahce ext
sorry for disturbing u
 [2004-04-23 21:06 UTC] magnus@php.net
Bogus then.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC