php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10339 PHP with OCI8 crashes apache
Submitted: 2001-04-15 14:48 UTC Modified: 2001-05-14 07:31 UTC
From: dave at bcdei dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.4pl1 OS: Mandrake 7.0 Linux 2.2.14-15mdks
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 - 26 = ?
Subscribe to this entry?

 
 [2001-04-15 14:48 UTC] dave at bcdei dot com
Downloaded Oracle 8.1.7 and installed the default Client configuration.
Ran ./configure --with-apxs --without-xml --with-oracle=/var/oracle --with-oci8=/var/oracle --without-mysql
Runs fine, compiles fine, installs fine.   I try to load apache, it immediately dies without a trace in the logs.

Here's the gdb backtrace:
(gdb) bt
#0  0x407800f8 in ?? ()
#1  0x400e69bf in __getpwnam_r (name=0x80cefbc "apache", resbuf=0x401490a0, buffer=0x80d6d60 "apache", buflen=1024, result=0xbfffd738)
    at ../nss/getXXbyYY_r.c:182
#2  0x400e6211 in getpwnam (name=0x80cefbc "apache") at ../nss/getXXbyYY.c:137
#3  0x8084f54 in ap_uname2id ()
#4  0x8071208 in set_user ()
#5  0x806c0bd in invoke_cmd ()
#6  0x806cae1 in ap_handle_command ()
#7  0x806cb7d in ap_srm_command_loop ()
#8  0x806d249 in ap_process_resource_config ()
#9  0x806dbac in ap_read_config ()
#10 0x8077c00 in standalone_main ()
#11 0x807853c in main ()
#12 0x4007e9ee in __libc_start_main (main=0x80781a4 <main>, argc=1, argv=0xbffffa44, init=0x804ed80 <_init>, fini=0x80ae204 <_fini>,
    rtld_fini=0x4000a570 <_dl_fini>, stack_end=0xbffffa3c) at ../sysdeps/generic/libc-start.c:90

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-14 07:31 UTC] sniper@php.net
Please check http://www.php.net/oci8 page for information
how to link Apache with phtread library.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 15:01:29 2024 UTC