httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34264] New: - Broken mod_ssl/mod_cgid under Solaris 10 (gcc 64-bit) using MPM=worker
Date Fri, 01 Apr 2005 17:13:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34264

           Summary: Broken mod_ssl/mod_cgid under Solaris 10 (gcc 64-bit)
                    using MPM=worker
           Product: Apache httpd-2.0
           Version: 2.0.53
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: lovan@lifesci.ucsb.edu
                CC: lovan@lifesci.ucsb.edu


I have compiled 2.0.53 under Solaris 10 using the following configuration:

CFLAGS="-m64 -mcpu=v9" LDFLAGS="-m64 -mcpu=v9" ./configure
--enable-layout=Lifesci --disable-ipv6 --enable-so --enable-mods-shared=most
--with-mpm=worker --with-ssl=/opt/apps64/openssl --enable-nonportable-atomics

This compiled a 64-bit binary without displaying errors.  However, after
startup, the CGI gateway seems broken.  I get 500 errors about 80% of the time
when I try to run anything via CGI.  The error log contains the following for
each failed request:

[Thu Mar 31 17:36:16 2005] [error] [client 128.111.226.63] (32)Broken pipe:
write to cgi daemon process
[Thu Mar 31 17:36:16 2005] [error] [client 128.111.226.63] Premature end of
script headers: printenv
[Thu Mar 31 17:36:16 2005] [error] [client 128.111.226.63] File does not exist:
/home/www-ssl/html/favicon.ico
[Thu Mar 31 17:36:16 2005] [notice] child pid 10380 exit signal Segmentation
fault (11)
[Thu Mar 31 17:36:16 2005] [error] cgid daemon process died, restarting

Debugging provided the following observations:
  1)  If I unload mod_ssl, then the CGI gateway works properly.
  2)  Compiling without --enable-nonportable-atomics does not solve the problem
  3)  Compiling with mod_ssl statically built (not a DSO) does not solve the
problem.
  4)  The following configuration does work (prefork MPM):
      > CFLAGS="-m64 -mcpu=v9" LDFLAGS="-m64 -mcpu=v9" ./configure
      > --enable-layout=Lifesci --disable-ipv6 --enable-so --enable-ssl
      > --enable-rewrite --enable-info --enable-headers
      > --enable-mods-shared="auth_dbm dav dav_fs vhost_alias imap 
      > speling expires usertrack unique-id asis vhost-alias include"
      > --with-ssl=/opt/apps64/openssl

Here is some addition information regarding the build environment:
> # gcc -v
> Reading specs from
> /opt/apps/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.10/3.4.3/specsConfigured with: 
> ../gcc-3.4.3/configure --prefix=/opt/apps/gcc-3.4.3 --mandir=/opt/man 
> --infodir=/opt/info --with-as=/usr/sfw/bin/gas --with-gnu-as 
> --with-ld=/usr/ccs/bin/ld --disable-nls --disable-static --with-cpu=sparcv9 
> --disable-libgcjThread model: posix
> gcc version 3.4.3

> # uname -a
> SunOS hw-develop.lscf.ucsb.edu. 5.10 Generic sun4u sparc SUNW,Ultra-60

> # /opt/apps64/openssl/bin/openssl version
> OpenSSL 0.9.7f 22 Mar 2005

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message