php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12118 Apache crashes without error after some time of running
Submitted: 2001-07-12 18:25 UTC Modified: 2001-08-20 12:07 UTC
From: wim at godden dot net Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.6 OS: RedHat 6.2 - Kernel 2.4.1
Private report: No CVE-ID: None
 [2001-07-12 18:25 UTC] wim at godden dot net
Apache starts fine, error_log giving no errors at all. After a while, it suddenly isn't running anymore, with still nothing in error_log.

When compiling php with --enable-debug and then starting with gdb, I get :


/usr/local/apache/bin>gdb httpd
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Cannot access memory at address 0x19
(gdb) bt
#0  _dl_debug_state () at dl-debug.c:56
#1  0x4000ac7b in _dl_catch_error (errstring=0xbfffd760, operate=0x40182970 <dl_open_worker>, args=0xbfffd764) at dl-error.c:141
#2  0x40182d1d in _dl_open (file=0x8213358 "/usr/local/apache/libexec/libphp4.so", mode=258, caller=0xbfffd760) at dl-open.c:232
#3  0x400a03d3 in dlopen_doit (a=0xbfffd874) at dlopen.c:41
#4  0x4000ac7b in _dl_catch_error (errstring=0x400a2080, operate=0x400a03a8 <dlopen_doit>, args=0xbfffd874) at dl-error.c:141
#5  0x400a08b9 in _dlerror_run (operate=0x400a03a8 <dlopen_doit>, args=0xbfffd874) at dlerror.c:125
#6  0x400a0393 in __dlopen_check (file=0x8213358 "/usr/local/apache/libexec/libphp4.so", mode=258) at dlopen.c:53
#7  0x80be811 in ap_os_dso_load () at lstat.c:45
#8  0x8086d38 in load_module () at lstat.c:45
#9  0x80a2e4e in invoke_cmd () at lstat.c:45
#10 0x80a3793 in ap_handle_command () at lstat.c:45
#11 0x80a3829 in ap_srm_command_loop () at lstat.c:45
#12 0x80a3e80 in ap_process_resource_config () at lstat.c:45
#13 0x80a4762 in ap_read_config () at lstat.c:45
#14 0x80ae3a1 in standalone_main () at lstat.c:45
#15 0x80aec23 in main () at lstat.c:45
#16 0x400bc9cb in __libc_start_main (main=0x80ae8cc <main>, argc=2, argv=0xbffffadc, init=0x8065e20 <_init>, 
    fini=0x815491c <_fini>, rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffffad4) at ../sysdeps/generic/libc-start.c:92
(gdb) 


Could this be the cause ???

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 18:02 UTC] sniper@php.net
What was the configure line used to configure PHP?

 [2001-08-20 12:07 UTC] sniper@php.net
No feedback. And looks like the crash doesn't even
happen in PHP..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC