ID: 20773 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: LDAP related Operating System: Solaris 8 PHP Version: 4.3.0RC2 New Comment:
Err.. I don't know if my posting here will matter, since it seems this bug is closed but the aforementioned segfaults seems to be present in php4-200212041430 after all. I'm not sure what's causing it, I'm only maintaining the server and others write the php code. I'll see if I can do a backtrace despite previous problems in that area. /Peder Previous Comments: ------------------------------------------------------------------------ [2002-12-04 10:53:31] [EMAIL PROTECTED] Well, I compiled the 200212041430 version and haven't been able to reproduce the error so I guess it's fixed. BTW, I wasn't able to debug httpd anyways; I followed the info about generating a non core backtrace and httpd seemed to start but I couldn't contact it. Thanx a lot, Peder ------------------------------------------------------------------------ [2002-12-03 11:25:28] [EMAIL PROTECTED] I fixed the problem in CVS but I guess the snapshot was already generated before that. Anyway, good to hear it works now. About that mysql segfault..please provide a backtrace of it. ------------------------------------------------------------------------ [2002-12-03 09:27:29] [EMAIL PROTECTED] I tried the php snapshot to compile against "Sun One Directory/iPlanet" SDK 5.08 on linux/apache This is my debug.log: CONFIGURE: './configure' '--with-apxs=/usr/sbin/apxs' '--enable-debug=no' '--prefix=/opt/php-4_snap' '--with-config-file-path=/etc/php' '--enable-shmop' '--enable-sysvshm' '--enable-versioning' '--with-jpeg-dir=/usr/local' '--with-gd' '--enable-gd-native-tt' '--disable-static' '--disable-debug' '--disable-rpath' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '-with-freetype-dir=/usr' '--with-t1lib=/usr' '--enable-track-vars' '--enable-trans-sid' '--with-mysql' '--with-ldap=/usr/local' CC: gcc CFLAGS: -O3 -march=pentium2 CPPFLAGS: -DLINUX=22 -DDEV_RANDOM=/dev/random -DEAPI -DEAPI_MM CXX: CXXFLAGS: INCLUDES: -I$(top_builddir)/Zend -I/usr/local/include -I/usr/include/freetype2 LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib LIBS: -lssldap50 -lplds4 -lplc4 -lnspr4 -lt1 -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt DLIBS: SAPI: apache PHP_RPATHS: /usr/local/lib uname -a: Linux localhost 2.4.19 #6 SMP Fri Sep 6 16:06:31 CEST 2002 i686 unknown gcc -o conftest -O3 -march=pentium2 -DLINUX=22 -DDEV_RANDOM=/dev/random -DEAPI -DEAPI_MM -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lssldap50 -lplds4 -lplc4 -lnspr4 -lt1 -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt 1>&5 /usr/local/lib/libssldap50.so: undefined reference to `SSL_ImportFD' /usr/local/lib/libssldap50.so: undefined reference to `prldap_get_session_info' /usr/local/lib/libssldap50.so: undefined reference to `SSL_OptionSetDefault' /usr/local/lib/libssldap50.so: undefined reference to `prldap_set_session_info' /usr/local/lib/libssldap50.so: undefined reference to `PK11_FindCertFromNickname' /usr/local/lib/libssldap50.so: undefined reference to `NSS_Initialize' /usr/local/lib/libssldap50.so: undefined reference to `CERT_VerifyCertName' /usr/local/lib/libssldap50.so: undefined reference to `ldap_unbind' /usr/local/lib/libssldap50.so: undefined reference to `SSL_AuthCertificateHook' /usr/local/lib/libssldap50.so: undefined reference to `ldap_set_lderrno' /usr/local/lib/libssldap50.so: undefined reference to `SSL_RevealURL /usr/local/lib/libssldap50.so: undefined reference to `CERT_VerifyCertNow' /usr/local/lib/libssldap50.so: undefined reference to `NSS_Init' /usr/local/lib/libssldap50.so: undefined reference to `prldap_get_socket_info' /usr/local/lib/libssldap50.so: undefined reference to `PK11_SetPasswordFunc' /usr/local/lib/libssldap50.so: undefined reference to `PK11_FindKeyByAnyCert' /usr/local/lib/libssldap50.so: undefined reference to `ldap_get_option' /usr/local/lib/libssldap50.so: undefined reference to `ldap_set_option' /usr/local/lib/libssldap50.so: undefined reference to `PORT_SetError' /usr/local/lib/libssldap50.so: undefined reference to `PK11_ConfigurePKCS11' /usr/local/lib/libssldap50.so: undefined reference to `SSL_GetClientAuthDataHook' /usr/local/lib/libssldap50.so: undefined reference to `SSL_OptionSet' /usr/local/lib/libssldap50.so: undefined reference to `prldap_install_routines' /usr/local/lib/libssldap50.so: undefined reference to `CERT_DestroyCertificate' /usr/local/lib/libssldap50.so: undefined reference to `NSS_SetDomesticPolicy' /usr/local/lib/libssldap50.so: undefined reference to `prldap_set_socket_info' /usr/local/lib/libssldap50.so: undefined reference to `SECKEY_DestroyPrivateKey' /usr/local/lib/libssldap50.so: undefined reference to `SSL_PeerCertificate' /usr/local/lib/libssldap50.so: undefined reference to `SSL_ResetHandshake' /usr/local/lib/libssldap50.so: undefined reference to `ldap_init' /usr/local/lib/libssldap50.so: undefined reference to `CERT_GetDefaultCertDB' /usr/local/lib/libssldap50.so: undefined reference to `SSL_SetURL' I had to fix this for php4-200212031030 to please configure: --- configure.org Tue Dec 3 11:30:09 2002 +++ configure Tue Dec 3 15:48:49 2002 @@ -42264,7 +42264,7 @@ case ssldap50 in c|c_r|pthread*) ;; *) - LIBS="-lssldap50 $LIBS" + LIBS=" -lldap50 -lprldap50 -lnss3 -lssl3 -lssldap50 $LIBS" ;; esac After fixing that it compiles and runs. Sometimes when I login against mysql I get a browser error and a segfault (11) in the httpd log though. /Peder ------------------------------------------------------------------------ [2002-12-03 03:49:48] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Make sure the ext/ldap/config.m4 has revision 1.27. If not, then you need to wait for new snapshot to be generated.. ------------------------------------------------------------------------ [2002-12-03 02:39:34] [EMAIL PROTECTED] updated summary ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20773 -- Edit this bug report at http://bugs.php.net/?id=20773&edit=1