Received: (qmail 12620 invoked by uid 2012); 21 Jan 1999 09:57:44 -0000 Message-Id: <19990121095744.12619.qmail@hyperreal.org> Date: 21 Jan 1999 09:57:44 -0000 From: Jens-Uwe Walther Reply-To: jewa@force.de To: apbugs@hyperreal.org Subject: Apache 1.3.4 and mod_ssl-2.1.7-1.3.4 doesn't work with DSO support X-Send-Pr-Version: 3.2 >Number: 3732 >Category: os-solaris >Synopsis: Apache 1.3.4 and mod_ssl-2.1.7-1.3.4 doesn't work with DSO support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: analyzed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jan 21 03:10:01 PST 1999 >Last-Modified: Thu Apr 22 04:10:00 PDT 1999 >Originator: jewa@force.de >Organization: >Release: 1.3.4 >Environment: SunOS hotzenplotz 5.6 Generic sun4m sparc sun4m hotzenplotz:jewa> showrev -p Patch: 105562-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWnisu Patch: 105401-16 Obsoletes: 105524-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWnisu Patch: 105633-06 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwcft, SUNWxwslb Patch: 105743-01 Obsoletes: Requires: Incompatibles: Packages: SUNWfns Patch: 104468-10 Obsoletes: Requires: Incompatibles: Packages: SUNWsadmc, SUNWsadmo, SUNWsacb, SUNWsaco, SUNWsadmm, SUNWsadma, SUNWsadmb, SUNWsacd, SUNWsadmp >Description: /var/httpd/error_log: httpd: [Thu Jan 21 09:30:30 1999] [notice] child pid 1501 exit signal Segmentation Fault (11) when calling anuy URL on a SSL-Server >How-To-Repeat: hotzenplotz:jewa> gcc -v Reading specs from /opt/gnu_5.6/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs gcc version 2.8.1 I use SSLeay-0.9.0b compiled for "solaris-sparc-gcc" with "-fPIC" mod_ssl ------- hotzenplotz:jewa> cd mod_ssl-2.1.7-1.3.4 hotzenplotz:jewa> ./configure --with-apache=../apache_1.3.4 apache_1.3.4 ------------ hotzenplotz:jewa> setenv SSL_BASE /opt/ssl hotzenplotz:jewa> ./configure --prefix=/opt/apache --sysconfdir=/etc/httpd --runtimedir=/var/httpd \ --logfiledir=/var/httpd --enable-rule=SHARED_CORE --enable-module=most --enable-shared=max \ --enable-module=ssl --enable-shared=ssl >Fix: Compiling without DSO support works. >Audit-Trail: From: "Ralf S. Engelschall" To: apbugs@apache.org Cc: Subject: Re: os-solaris/3732: Apache 1.3.4 and mod_ssl-2.1.7-1.3.4 doesn't work with DSO support Date: Thu, 28 Jan 1999 10:37:28 +0100 In article <19990121095744.12619.qmail@hyperreal.org> you wrote: >>Number: 3732 >>Category: os-solaris >>Synopsis: Apache 1.3.4 and mod_ssl-2.1.7-1.3.4 doesn't work with DSO support >>Confidential: no >>Severity: non-critical >>Priority: medium >>Responsible: apache >>State: open >>Class: sw-bug >>Submitter-Id: apache >>Arrival-Date: Thu Jan 21 03:10:01 PST 1999 >>Last-Modified: >>Originator: jewa@force.de >>Organization: > apache >>Release: 1.3.4 >>Environment: > SunOS hotzenplotz 5.6 Generic sun4m sparc sun4m > hotzenplotz:jewa> showrev -p > Patch: 105562-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWnisu > Patch: 105401-16 Obsoletes: 105524-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWnisu > Patch: 105633-06 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwcft, SUNWxwslb > Patch: 105743-01 Obsoletes: Requires: Incompatibles: Packages: SUNWfns > Patch: 104468-10 Obsoletes: Requires: Incompatibles: Packages: SUNWsadmc, SUNWsadmo, SUNWsacb, SUNWsaco, SUNWsadmm, SUNWsadma, SUNWsadmb, SUNWsacd, SUNWsadmp >>Description: > /var/httpd/error_log: > httpd: [Thu Jan 21 09:30:30 1999] [notice] child pid 1501 exit signal Segmentation Fault (11) > when calling anuy URL on a SSL-Server >>How-To-Repeat: > hotzenplotz:jewa> gcc -v > Reading specs from /opt/gnu_5.6/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs > gcc version 2.8.1 > I use SSLeay-0.9.0b compiled for "solaris-sparc-gcc" with "-fPIC" > mod_ssl > ------- > hotzenplotz:jewa> cd mod_ssl-2.1.7-1.3.4 > hotzenplotz:jewa> ./configure --with-apache=../apache_1.3.4 > apache_1.3.4 > ------------ > hotzenplotz:jewa> setenv SSL_BASE /opt/ssl > hotzenplotz:jewa> ./configure --prefix=/opt/apache --sysconfdir=/etc/httpd --runtimedir=/var/httpd \ > --logfiledir=/var/httpd --enable-rule=SHARED_CORE --enable-module=most --enable-shared=max \ > --enable-module=ssl --enable-shared=ssl >>Fix: > Compiling without DSO support works. Yes, I've already traced the problem down to the fact that the dynamic linker under Solaris behaves strange (the relocation of symbols seems to go bad) when DSOs are loaded/unloaded and then reloaded as Apache does it. I'll investigate more when time permits it. Ralf S. Engelschall rse@engelschall.com www.engelschall.com State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Tue Apr 20 21:02:59 PDT 1999 State-Changed-Why: ralf, how's it going? From: "Ralf S. Engelschall" To: apbugs@apache.org Cc: Subject: Re: os-solaris/3732: Apache 1.3.4 and mod_ssl-2.1.7-1.3.4 doesn't work with DSO support Date: Thu, 22 Apr 1999 12:55:42 +0200 In article <19990121095744.12619.qmail@hyperreal.org> you wrote: >>Synopsis: Apache 1.3.4 and mod_ssl-2.1.7-1.3.4 doesn't work with DSO support > httpd: [Thu Jan 21 09:30:30 1999] [notice] child pid 1501 exit signal Segmentation Fault (11) > gcc version 2.8.1 > I use SSLeay-0.9.0b compiled for "solaris-sparc-gcc" with "-fPIC" > hotzenplotz:jewa> cd mod_ssl-2.1.7-1.3.4 > hotzenplotz:jewa> ./configure --with-apache=../apache_1.3.4 > hotzenplotz:jewa> setenv SSL_BASE /opt/ssl > hotzenplotz:jewa> ./configure --prefix=/opt/apache --sysconfdir=/etc/httpd --runtimedir=/var/httpd \ > --logfiledir=/var/httpd --enable-rule=SHARED_CORE --enable-module=most --enable-shared=max \ > --enable-module=ssl --enable-shared=ssl > Compiling without DSO support works. A lot of DSO-related problems were already fixed between 2.1 and 2.2.8 (the current mod_ssl version). Please try again with the trio Apache 1.3.6 + mod_ssl 2.2.8 + OpenSSL 0.9.2b. It worked fine with DSO on my Solaris 2.6 box... Ralf S. Engelschall rse@engelschall.com www.engelschall.com >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]