php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43932 Apache2 segmentation fault loading php-module with /etc/group over ldap
Submitted: 2008-01-25 09:41 UTC Modified: 2008-01-26 00:55 UTC
From: ffrancavilla at poste dot it Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.2.5 OS: sparc/solaris 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ffrancavilla at poste dot it
New email:
PHP Version: OS:

 

 [2008-01-25 09:41 UTC] ffrancavilla at poste dot it
Description:
------------
apache2 return a segmentation fault loading php5 module compiled with oci8.
The system has /etc/group over ldap in nsswitch.conf, and i've not the "segmentation fault" when the nsswitch.conf has configured /etc/group over files.
The problem don't apper also when the line "LoadModule php5_module        modules/libphp5.so" in the httpd.conf is removed.

# /usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.61
Server built:   Jan 18 2008 12:43:56

# tail -1 /usr/local/apache2/logs/error_log
[Fri Jan 25 10:31:34 2008] [notice] child pid 21743 exit signal Segmentation fault (11)

# ldd /usr/local/apache2/modules/libphp5.so
        librt.so.1 =>    /lib/librt.so.1
        libresolv.so.2 =>        /lib/libresolv.so.2
        libm.so.2 =>     /lib/libm.so.2
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libz.so =>       /usr/local/lib/libz.so
        libgen.so.1 =>   /lib/libgen.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libsched.so.1 =>         /usr/lib/libsched.so.1
        libclntsh.so.9.0 =>      /usr/local/oracle/lib/libclntsh.so.9.0
        libxml2.so.2 =>  /usr/local/lib/libxml2.so.2
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libmd5.so.1 =>   /lib/libmd5.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libwtc9.so =>    /lib/libwtc9.so
        libm.so.1 =>     /lib/libm.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1

# /usr/local/bin/gdb /usr/local/apache2/bin/httpd
GNU gdb 6.6
Copyright (C) 2006 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 "sparc-sun-solaris2.10"...
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/ld.so.1"
warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /usr/lib/libsched.so.1 is .dynamic at 00000074
warning: Lowest section in /usr/lib/libsched.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074

Program received signal SIGSEGV, Segmentation fault.
0xfdb01c58 in gslufpFLog () from /usr/local/oracle/lib/libclntsh.so.9.0

#PHP 5 configure
--with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-oci8=/usr/local/oracle

#About nss_ldap...
I also tried to configure the native ldapclient solaris and nss_ldap.so from padl without any results..






Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-26 00:55 UTC] jani@php.net
That crash happens way outside of PHP -> not PHP bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 05:01:31 2024 UTC