php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6731 Apache crashes with PHP/Oracle module enabled
Submitted: 2000-09-13 23:48 UTC Modified: 2000-09-14 02:55 UTC
From: mike dot johnson at isunnetworks dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.2 OS: Red Hat Linux 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mike dot johnson at isunnetworks dot com
New email:
PHP Version: OS:

 

 [2000-09-13 23:48 UTC] mike dot johnson at isunnetworks dot com
PHP compiled with following arguments:
./configure \
        --target=%{_target_platform} \
        --prefix=%{_prefix} \
        --with-config-file-path=%{_sysconfdir} \
        --disable-debug \
        --enable-pic \
        --enable-inline-optimization \
        $* \
        --with-exec-dir=%{_bindir} \
        --with-regex=system \
        --with-jpeg-dir=%{_prefix} \
        --with-png \
        --with-db2 \
        --with-gd \
        --with-oci8 \
        --with-zlib \
        --with-gdbm \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-safe-mode \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars \
        --enable-yp \
        --enable-ftp \
        --with-xml

ORACLE_HOME is defined.
Oracle version is 8.1.6
Apache version is 1.3.12

When I start apache with php enabled, it crashes:
[mike@io mike]$ httpd -t
Syntax OK
Segmentation fault

gdb:
(gdb) r -t
Starting program: /usr/sbin/httpd -t
Syntax OK
Cannot access memory at address 0x40b17bb4
(gdb) where
#0  0x4000bd99 in _dl_debug_state () at dl-debug.c:56
#1  0x401b60c6 in _dl_close (map=0x80b4fc8) at dl-close.c:195
#2  0xaff0d in ?? ()
#3  0xaff0d in ?? ()
#4  0xaff0d in ?? ()
#5  0xaff0d in ?? ()
#6  0xaff0d in ?? ()
#7  0xaff0d in ?? ()
#8  0xaff0d in ?? ()
#9  0xaff0d in ?? ()
#10 0xaff0d in ?? ()
#11 0xaff0d in ?? ()
#12 0xaff0d in ?? ()
#13 0xaff0d in ?? ()
#14 0xaff0d in ?? ()


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-14 02:55 UTC] mike dot johnson at isunnetworks dot com
Okay, it works now.

The fix:

From: Thies Arntzen <thies@digicol.de>

    please relink your apache adding -lpthread to the LDFLAGS.

    the problem here is that a executable thats *not* linked
    agains -lpthread cannot load a shared library that is liked
    against -lpthread. (libphp4.so - linked against -lclntsh
    linked against -lpthread).

    this is a glibc-2.1 bug that supposed to be fixed in 2.2.

        plz verify and close the bug-report!

    tc


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