php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5369 Core dump with mod_perl and php enabled
Submitted: 2000-07-05 00:47 UTC Modified: 2000-08-18 21:36 UTC
From: mike at ftl dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.1pl2 OS: RedHat 6.2/2.2.16
Private report: No CVE-ID: None
 [2000-07-05 00:47 UTC] mike at ftl dot com
Running Apache 1.3.12 with mod_perl 1.24 and php 4.0.1pl2. I get a core dump. Here is the back trace.

(gdb) bt
#0  0xffffffff in ?? ()
#1  0x401332eb in __getpwnam_r (name=0x80bf0f4 "nobody", resbuf=0x40194240, buffer=0x80bd7f8 "nobody", buflen=1024, 
    result=0xbfffd8ac) at ../nss/getXXbyYY_r.c:182
#2  0x40132ba0 in getpwnam (name=0x80bf0f4 "nobody") at ../nss/getXXbyYY.c:123
#3  0x806be7e in ap_uname2id ()
#4  0x805944e in set_user ()
#5  0x80549fa in invoke_cmd ()
#6  0x8055393 in ap_handle_command ()
#7  0x8055427 in ap_srm_command_loop ()
#8  0x8055830 in ap_process_resource_config ()
#9  0x80560f2 in ap_read_config ()
#10 0x805f951 in standalone_main ()
#11 0x80601c3 in main ()
#12 0x400ba9cb in __libc_start_main (main=0x805fe7c <main>, argc=1, argv=0xbffffac4, init=0x804e870 <_init>, 
    fini=0x809419c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffabc) at ../sysdeps/generic/libc-start.c:92

 If I comment out mod_perl it works fine. If I comment out php it works fine. Mod_perl and Php run fine if I drop back to v4.0.0 of php. 

 These are both DSO modules.

 - Mike

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-12 20:22 UTC] sterling at cvs dot php dot net
Compile with your custom MySQL sources/Libs instead of PHP's bundled-in libraries.
 [2000-07-17 18:43 UTC] mike at ftl dot com
I have compiled with my MySQL source here is my configure line...

./configure --with-pgsql=/usr --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs --enable-ftp --disable-debug --with-gd --enable-track-vars

 Still bombs out :(
 [2000-07-27 21:06 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version from CVS or snaps.php.net.
 [2000-08-18 21:36 UTC] sniper@php.net
No feedback from user. And not enough info.
Reopen if problem still persists with a snapshot from http://snaps.php.net/ (or CVS)

And please tell when does it segfault? When starting apache or running a script?

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC