php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6686 Apache SIGTERM's on startup
Submitted: 2000-09-12 14:28 UTC Modified: 2000-09-13 00:18 UTC
From: matt at linuxworx dot com dot au Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.2 OS: RH6.2
Private report: No CVE-ID: None
 [2000-09-12 14:28 UTC] matt at linuxworx dot com dot au
Apache craps its pants on startup, heres the info :

rh6.2;apache 1.3.12;php 4.0.2


./configure  --with-apxs=/www/bin/apxs --enable-track-vars --with-gd --with-mysql=/usr --with-jpeg-dir=/usr --with-pdflib=/usr/local --with-zlib-dir --with-png-dir --with-tiff-dir --disable-debug --with-ttf=/usr/lib


bash# 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: /www/bin/httpd -X
Cannot access memory at address 0x40404b14
(gdb) bt
#0  0x4000af21 in _dl_debug_state () at dl-debug.c:56
#1  0x40148156 in _dl_close (map=0x80b8af0) at dl-close.c:195
#2  0x40066430 in dlclose_doit (handle=0x80b8af0) at dlclose.c:26
#3  0x4000ac3b in _dl_catch_error (errstring=0x40068080, operate=0x40066418 <dlclose_doit>, args=0x80b8af0)
    at dl-error.c:141
#4  0x400668b9 in _dlerror_run (operate=0x40066418 <dlclose_doit>, args=0x80b8af0) at dlerror.c:125
#5  0x400663fe in dlclose (handle=0x80b8af0) at dlclose.c:32
#6  0x806f950 in ap_os_dso_unload ()
#7  0x804f270 in unload_module ()
#8  0x805101e in run_cleanups ()
#9  0x804f84d in ap_clear_pool ()
#10 0x805f923 in standalone_main ()
#11 0x80601c3 in main ()
#12 0x400819cb in __libc_start_main (main=0x805fe7c <main>, argc=2, argv=0xbffffbd4, init=0x804e864 <_init>, 
    fini=0x809419c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffbcc) at ../sysdeps/generic/libc-start.c:92

error_log:

[Tue Sep 12 17:14:28 2000] [notice] Apache/1.3.12 (Unix) PHP/4.0.0 configured -- resuming normal operations
[Tue Sep 12 17:14:34 2000] [notice] caught SIGTERM, shutting down

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-13 00:18 UTC] rasmus@php.net
You need a version of the mysql client libs that are not linked against pthreads.  Either compile from source, or rebuild from the source rpm without the switch that enables the threaded client libs.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 15:01:27 2019 UTC