#43932 [Opn->Bgs]: Apache2 segmentation fault loading php-module with /etc/group over ldap

From: Date: Sat, 26 Jan 2008 00:55:20 +0000
Subject: #43932 [Opn->Bgs]: Apache2 segmentation fault loading php-module with /etc/group over ldap
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121552@lists.php.net to get a copy of this message
ID: 43932 Updated by: jani@php.net Reported By: ffrancavilla at poste dot it -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: sparc/solaris 10 PHP Version: 5.2.5 New Comment: That crash happens way outside of PHP -> not PHP bug. Previous Comments: ------------------------------------------------------------------------ [2008-01-25 09:41:22] 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.. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43932&edit=1

« previous php.bugs (#121552) next »