#19048 [Opn->Fbk]: Segmentation fault $HTTPD -DSSL
| From: | sander@php.net | Date: | Thu, 22 Aug 2002 19:28:03 +0000 |
| Subject: | #19048 [Opn->Fbk]: Segmentation fault $HTTPD -DSSL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17585@lists.php.net to get a copy of this message | ||
ID: 19048
Updated by: sander@php.net
Reported By: pescobar@ns.ulat.ac.pa
-Status: Open
+Status: Feedback
Bug Type: OpenSSL related
Operating System: Red Hat 7.3
PHP Version: 4.2.2
New Comment:
Does the segfault still occur when you remove the LoadModule line of
php4 from your httpd.conf? And what happens when you remove the ssl
loadmodule line? SSL and PHP might conflict when compiled in the wrong
order (you need to configure, compile and install Apache + mod_ssl
first, then configure, compile and install PHP).
Previous Comments:
------------------------------------------------------------------------
[2002-08-22 15:14:30] pescobar@ns.ulat.ac.pa
Excuse me
#0 0x40191fbd in main_arena () from /lib/libc.so.6
#1 0x400c352a in buffered_vfprintf () from /lib/libc.so.6
#2 0x400be6d7 in vfprintf () from /lib/libc.so.6
#3 0x400c8059 in fprintf () from /lib/libc.so.6
#4 0x405f5722 in com_perr () from /opt/sybase-11.9.2//lib/libcomn.so
#5 0x405e73ed in com_intl_verify_ctxloc ()
from /opt/sybase-11.9.2//lib/libcomn.so
#6 0x4068a4a9 in cs_ctx_alloc () from
/opt/sybase-11.9.2//lib/libcs.so
#7 0x4039bd7a in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#8 0x4039bf4e in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#9 0x402f5f53 in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#10 0x402ffd1f in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#11 0x403084a5 in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#12 0x403000e9 in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#13 0x402fd0bc in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#14 0x402fdc6e in ssl_expr_yyval () from
/usr/local/apache/libexec/libphp4.so
#15 0x08086656 in ap_init_modules ()
#16 0x0809152c in main ()
#17 0x400891c4 in __libc_start_main () from /lib/libc.so.6
------------------------------------------------------------------------
[2002-08-22 14:45:34] sander@php.net
Please enter bt at the gdb prompt and copy the output here. This isn't
a backtrace :)
------------------------------------------------------------------------
[2002-08-22 12:00:15] pescobar@ns.ulat.ac.pa
This is backtrace
Loaded symbols for /usr/local/lib/libcrypto.so.0.9.6
Reading symbols from /usr/local/lib/libssl.so.0.9.6...done.
Loaded symbols for /usr/local/lib/libssl.so.0.9.6
Reading symbols from /opt/sybase-11.9.2//lib/libinsck.so...done.
Loaded symbols for /opt/sybase-11.9.2//lib/libinsck.so
Reading symbols from /opt/sybase-11.9.2//lib/libsybtcl.so...done.
Loaded symbols for /opt/sybase-11.9.2//lib/libsybtcl.so
Reading symbols from /opt/sybase-11.9.2//lib/libintl.so...done.
Loaded symbols for /opt/sybase-11.9.2//lib/libintl.so
Reading symbols from /opt/sybase-11.9.2//lib/libcomn.so...done.
Loaded symbols for /opt/sybase-11.9.2//lib/libcomn.so
Reading symbols from /opt/sybase-11.9.2//lib/libct.so...done.
Loaded symbols for /opt/sybase-11.9.2//lib/libct.so
Reading symbols from /opt/sybase-11.9.2//lib/libcs.so...done.
Loaded symbols for /opt/sybase-11.9.2//lib/libcs.so
Reading symbols from /usr/local/pgsql/lib/libpq.so.2...done.
Loaded symbols for /usr/local/pgsql/lib/libpq.so.2
Reading symbols from /usr/local/lib/libpdf.so.1...done.
Loaded symbols for /usr/local/lib/libpdf.so.1
Reading symbols from /usr/local/lib/libiodbc.so.2...done.
Loaded symbols for /usr/local/lib/libiodbc.so.2
Reading symbols from /usr/local/lib/libldap.so.2...done.
Loaded symbols for /usr/local/lib/libldap.so.2
Reading symbols from /usr/local/lib/liblber.so.2...done.
Loaded symbols for /usr/local/lib/liblber.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/kerberos/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/kerberos/lib/libgssapi_krb5.so.2
Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done.
Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
Reading symbols from /usr/kerberos/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/kerberos/lib/libk5crypto.so.3
Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done.
Loaded symbols for /usr/kerberos/lib/libcom_err.so.3
Reading symbols from /lib/libssl.so.2...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x40191fbd in main_arena () from /lib/libc.so.6
------------------------------------------------------------------------
[2002-08-22 10:48:39] sander@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2002-08-22 10:40:07] pescobar@ns.ulat.ac.pa
./configure --with-pgsql=/usr/local/pgsql --enable-track-vars
--disable-debug -with-apxs=/usr/local/apache/bin/apxs
--enable-versioning --with-config-file-path=/usr/php4/lib
--enable-libgcc --with-imap=/usr/local/lib --enable-ftp --with-mysql
--with-kerberos --with-openssl=../openssl-0.9.6g/
--with-sybase-ct=/opt/sybase-11.9.2/ --with-pdflib=/usr/local
--with-pdfdir=../pdflib-4.0.3/bind/c --with-kerberos --with-imap-ssl
--with-ldap --enable-sockets
PHP compile good, but start apache send this message:
# /usr/local/apache/bin/apachectl startssl
/usr/local/apache/bin/apachectl: line 184: 31541 Segmentation fault
$HTTPD -DSSL
/usr/local/apache/bin/apachectl startssl: httpd could not be started
I use:
php-4.2.2
apache-1.3.26
openssl-0.9.6g
imap-2002.RC2
openldap-2.0.25
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19048&edit=1