ID:               38107
 User updated by:  lynette at umn dot edu
 Reported By:      lynette at umn dot edu
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache related
 Operating System: Solaris 9
 PHP Version:      5.1.4
 New Comment:

Compiled without curl; still segfaults on start. Compiled without
either curl or mysql; it runs.

Of course my application requires mysql... what next?


Previous Comments:
------------------------------------------------------------------------

[2006-07-14 21:44:56] [EMAIL PROTECTED]

What if you try to configure PHP without MySQL and/or cURL ?

------------------------------------------------------------------------

[2006-07-14 21:35:02] lynette at umn dot edu

Description:
------------
Apache segfaults on startup. 
All libraries except ssl were compiled with gcc 3.4.2. ssl was compiled
with forte 6 (solaris + gcc != shared lib)

php compiled as follows:
#! /bin/sh
#
# Created by configure
                                                                       
        
CC='gcc' \
'./configure' \
'--with-apache=/home/src/apache/apache_1.3.36/sparc-2.9-php' \
'--prefix=/usr/local/apache' \
'--with-mysql=/usr/local/mysql' \
'--with-gd=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/local' \
'--with-xpm-dir=/usr/local' \
'--with-freetype-dir=/usr/local' \
'--with-libxml-dir=/usr/local' \
'--with-zlib-dir=/usr/local' \
'--enable-calendar' \
'--enable-trans-sid' \
'--enable-session' \
'--enable-sockets' \
'--enable-wddx' \
'--enable-inline-optimization' \
'--enable-bcmath' \
'--enable-ftp' \
'--with-curl' \
"$@"


apache 1.3.36 was compiled as follows:
CC="gcc" \
SSL_BASE="/usr" \
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--disable-rule=EXPAT" \
"--enable-module=ssl" \
"--activate-module=src/modules/php5/libphp5.a" \
"--enable-module=php5" \
"--enable-module=proxy" \
"--enable-module=headers" \
"--enable-module=rewrite" \
"$@"



Reproduce code:
---------------
No php code involved.

Expected result:
----------------
apache should run

Actual result:
--------------
Apache segfaults:
/usr/local/apache/bin/apachectl startssl

Segmentation Fault - core dumped
/usr/local/apache/bin/apachectl startssl: httpd could not be started

Core was generated by `/usr/local/apache/bin/httpd -DSSL'.
Program terminated with signal 11, Segmentation fault.
#0  0xfeafe9c4 in BN_num_bits () from /usr/lib/libcrypto.so.0.9.8
(gdb) bt
#0  0xfeafe9c4 in BN_num_bits () from /usr/lib/libcrypto.so.0.9.8
#1  0xfeb58518 in bn_i2c () from /usr/lib/libcrypto.so.0.9.8
#2  0xfeb626f0 in asn1_ex_i2c () from /usr/lib/libcrypto.so.0.9.8
#3  0xfeb61b44 in ASN1_item_ex_i2d () from /usr/lib/libcrypto.so.0.9.8
#4  0xfeb62404 in asn1_template_ex_i2d () from
/usr/lib/libcrypto.so.0.9.8
#5  0xfeb61fb8 in ASN1_item_ex_i2d () from /usr/lib/libcrypto.so.0.9.8
#6  0xfeb61a6c in ASN1_item_i2d () from /usr/lib/libcrypto.so.0.9.8
#7  0x002e1850 in ssl_init_TmpKeysHandle ()
#8  0x002e1348 in ssl_init_Module ()
#9  0x0030a8f0 in ap_init_modules ()
#10 0x0031cb24 in main ()
(gdb)

While these appear to point at ssl, compilation without php yields a
normally running apache.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38107&edit=1

Reply via email to