From:             tyler at homeworkers dot org
Operating system: Redhat 7.2 2.4.9-31
PHP version:      4.3.2
PHP Bug Type:     Apache related
Bug description:  Apache dies silently on startup

Description:
------------
The symptoms are identical to bug #5895.

The web server silently dies when starting.  Disabling php allows the web
server to start, re-enabling php then allows the web server to be
restarted once after which it will run correctly.  Any further restarts
cause the server to die silently again.  No errors are recorded in the
error logs.

PHP Compiled with:
./configure --build=i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --mandir=/usr/share/man
--infodir=/usr/share/info --prefix=/usr --with-config-file-path=/etc
--enable-debug --disable-rpath --enable-inline-optimization --with-bz2
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-gd --with-gettext
--with-gmp --with-iconv --with-jpeg-dir=/usr --with-mm --with-openssl
--with-png --with-regex=system --with-ttf --with-expat-dir=/usr
--with-zlib --with-layout=GNU --enable-bcmath --enable-ftp
--enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp
--enable-wddx --without-oci8 --with-imap-ssl --with-kerberos=/usr/kerberos
--with-mysql --with-apxs=/usr/sbin/apxs --with-curl


Actual result:
--------------
In GDB I get the following error:
_dl_lookup_versioned_symbol (undef_name=0x4043639f "xdr_ypdelete_args",
    undef_map=0x8097f08, ref=0xbfffd1bc, symbol_scope=0x80980a4,
    version=0x814aa70, type_class=0, explicit=0) at do-lookup.h:67
67      do-lookup.h: No such file or directory.
        in do-lookup.h

With the following backtrace:
#0  _dl_lookup_versioned_symbol (undef_name=0x4043639f
"xdr_ypdelete_args",
    undef_map=0x8097f08, ref=0xbfffd1bc, symbol_scope=0x80980a4,
    version=0x814aa70, type_class=0, explicit=0) at do-lookup.h:67
#1  0x4000b9ec in _dl_relocate_object () at
../sysdeps/i386/dl-machine.h:348
#2  0x40276d19 in dl_open_worker (a=0xbfffd450) at dl-open.c:294
#3  0x4000d7c3 in _dl_catch_error (objname=0xbfffd448,
errstring=0xbfffd44c,
    operate=0x40276850 <dl_open_worker>, args=0xbfffd450) at
dl-error.c:152
#4  0x40276e6e in _dl_open (
    file=0x809d2b8 "/etc/httpd/modules/mod_auth_mysql.so",
mode=-2147483390,
    caller=0x806ead4) at dl-open.c:407
#5  0x4015a375 in dlopen_doit (a=0xbfffd5c0) at dlopen.c:39
#6  0x4000d7c3 in _dl_catch_error (objname=0x8093da8,
errstring=0x8093dac,
    operate=0x4015a340 <dlopen_doit>, args=0xbfffd5c0) at dl-error.c:152
#7  0x4015a6fb in _dlerror_run (operate=0x4015a340 <dlopen_doit>,
    args=0xbfffd5c0) at dlerror.c:130
#8  0x4015a326 in __dlopen_check (
    file=0x809d2b8 "/etc/httpd/modules/mod_auth_mysql.so", mode=258)
    at dlopen.c:53
#9  0x0806ead4 in ap_os_dso_load ()
#10 0x0805020c in load_module ()
#11 0x080552a4 in invoke_cmd ()
#12 0x08055a72 in ap_handle_command ()
#13 0x08055ade in ap_srm_command_loop ()
#14 0x08056288 in ap_process_resource_config ()
#15 0x08056a6d in ap_read_config ()
#16 0x080603e0 in standalone_main ()
#17 0x08060de3 in main ()
#18 0x40179647 in __libc_start_main (main=0x8060950 <main>, argc=3,
    ubp_av=0xbffff904, init=0x804f414 <_init>, fini=0x8075830 <_fini>,
    rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff8fc)
    at ../sysdeps/generic/libc-start.c:129

Recompiling without -enable-yp had no effect.

-- 
Edit bug report at http://bugs.php.net/?id=24361&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24361&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24361&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24361&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24361&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24361&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24361&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24361&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24361&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24361&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24361&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24361&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24361&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24361&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24361&r=gnused

Reply via email to