ID: 15191 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Solaris 8 PHP Version: 4.1.1 New Comment:
Interesting, I removed the ldap support, and I nolonger get a segmentation fault, apache httpd just exits.... ?????? Previous Comments: ------------------------------------------------------------------------ [2002-01-24 09:47:08] [EMAIL PROTECTED] Sorry about the double post, had some problems with this web site. Here's a backtrace with at least some symbols..... (gdb) run Starting program: /opt/apache/sbin/httpd Program received signal SIGSEGV, Segmentation fault. 0xfea73394 in _t0init () from /lib/libthread.so.1 (gdb) bt #0 0xfea73394 in _t0init () from /lib/libthread.so.1 #1 0xfea7c0c8 in _init () from /lib/libthread.so.1 #2 0xff3ba8dc in ?? () #3 0xff3c29e0 in ?? () #4 0xff3b28b8 in ?? () #5 0x166080 in _PROCEDURE_LINKAGE_TABLE_ () #6 0x8d084 in ap_os_dso_error () #7 0x51e70 in load_module () #8 0x75480 in invoke_cmd () #9 0x75d40 in ap_handle_command () #10 0x75d84 in ap_srm_command_loop () #11 0x762c8 in ap_process_resource_config () #12 0x76a58 in ap_read_config () #13 0x7f8b0 in main () (gdb) ------------------------------------------------------------------------ [2002-01-24 09:30:49] [EMAIL PROTECTED] Starting program: /opt/apache/sbin/httpd (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0xfea73394 in _t0init () from /lib/libthread.so.1 (gdb) bt #0 0xfea73394 in _t0init () from /lib/libthread.so.1 #1 0xfea7c0c8 in _init () from /lib/libthread.so.1 #2 0xff3ba8dc in ?? () #3 0xff3c29e0 in ?? () #4 0xff3b28b8 in ?? () #5 0x166080 in ?? () #6 0x8d084 in ?? () #7 0x51e70 in ?? () #8 0x75480 in ?? () #9 0x75d40 in ?? () #10 0x75d84 in ?? () #11 0x762c8 in ?? () #12 0x76a58 in ?? () #13 0x7f8b0 in ?? () ------------------------------------------------------------------------ [2002-01-24 09:29:58] [EMAIL PROTECTED] Starting program: /opt/apache/sbin/httpd (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0xfea73394 in _t0init () from /lib/libthread.so.1 (gdb) bt #0 0xfea73394 in _t0init () from /lib/libthread.so.1 #1 0xfea7c0c8 in _init () from /lib/libthread.so.1 #2 0xff3ba8dc in ?? () #3 0xff3c29e0 in ?? () #4 0xff3b28b8 in ?? () #5 0x166080 in ?? () #6 0x8d084 in ?? () #7 0x51e70 in ?? () #8 0x75480 in ?? () #9 0x75d40 in ?? () #10 0x75d84 in ?? () #11 0x762c8 in ?? () #12 0x76a58 in ?? () #13 0x7f8b0 in ?? () ------------------------------------------------------------------------ [2002-01-23 19:47:43] [EMAIL PROTECTED] Please read instruction before you submit bug report :) If httpd segfaults, attach backtrace. ------------------------------------------------------------------------ [2002-01-23 18:20:36] [EMAIL PROTECTED] # apachectl startssl Segmentation Fault /opt/apache/sbin/apachectl startssl: httpd could not be started Environment and configure line.... CFLAGS=-O2 EXTRA_LIBS="-lc-client -lmcal -lsocket" unset LD_LIBRARY_PATH export CFLAGS EXTRA_LIBS ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-apxs=/opt/apache/sbin/apxs --enable-track-vars --enable-calendar --with-gdbm --enable-filepro --enable-dbase --enable-ftp --with-imap --with-java=/usr/java1.1 --with-ldap=/usr/src/openldap-1.2.9 --with-ibm-db2=/opt/IBMdb2/V7.1 --enable-trans-sid --with-mysql --enable-sysvshm --enable-sysvsem --with-mcal=/usr --with-ming --with-openssl --with-gd --with-pdflib --with-jpeg-dir=/opt/sfw --with-png-dir=/opt/sfw --with-zlib Library versions: gdbm 2.x c-client (imap) 4.7b java 1.1.8 openldap 1.2.9 IBM db2 7.1 mcal 0.6 mcaldrivers 0.8 ming 0.1.1 openssl 0.95 gd 2.0.1 pdf 4.0.0 jpeg 6.x png 2.x zlib 1.x PHP 406 build successfully on the same machine with the same configure line, and the same environment except I add -lldap -llber to EXTRA_LIBS for 4.0.6, I took those out on 4.1.1 because it caused duplicate symbols to be defined, and php would not compile. After I took those out, php 4.1.1 compiled, but it caused a segmentation fault when I tried to start the web server. PHP 4.0.6 works fine. Any ideas? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15191&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]