httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Randall <li...@ipsware.com>
Subject [users@httpd] SegFaults when using Apache 1.3.28
Date Thu, 07 Aug 2003 06:30:56 GMT
Hi all

I'm having problems with a fresh compilation of Apache 1.3.28. I
compiled it with mod_ssl 2.8.15 and mod_perl 1.28. The build procedure
follows:

########################################################################

# ./configure --enable-rule=SHARED_CORE --enable-shared=access --enable-shared=asis \
 --enable-shared=auth_db --enable-shared=autoindex --enable-shared=define \
 --enable-shared=env --enable-shared=headers --enable-shared=info \
 --enable-shared=log_referer --enable-shared=rewrite --enable-shared=speling \
 --enable-shared=unique_id --enable-shared=vhost_alias --enable-shared=actions \
 --enable-shared=auth --enable-shared=auth_dbm --enable-shared=cern_meta \
 --enable-shared=digest --enable-shared=imap --enable-shared=log_agent \
 --enable-shared=mime --enable-shared=negotiation --enable-shared=setenvif \
 --enable-shared=userdir --enable-shared=alias --enable-shared=auth_anon \
 --enable-shared=auth_digest --enable-shared=cgi --enable-shared=dir \
 --enable-shared=expires --enable-shared=include --enable-shared=log_config \
 --enable-shared=mime_magic --enable-shared=proxy --enable-shared=status \
 --enable-shared=usertrack --activate-module=src/modules/perl/libperl.a \
 --prefix=/usr/local/apache --enable-shared=perl --enable-module=ssl

Configuring for Apache, Version 1.3.28
 + using installation path layout: Apache (config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.8.15
      + SSL interface build type: OBJ
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Built-in SDBM
      + SSL library path: [SYSTEM]
      + SSL library version: OpenSSL 0.9.7a Feb 19 2003
      + SSL library type: installed package (system-wide)
    o perl_module uses ConfigStart/End
      + mod_perl build type: DSO
      + setting up mod_perl build environment
      + id: mod_perl/1.28
      + id: Perl/v5.8.0 (linux) [/usr/bin/perl]
      + adjusting Apache build environment

** Error: Cannot build mod_include with Perl support (USE_PERL_SSI) **
** when mod_perl is compiled as DSO because of cross-module calls.  **
** Ignoring PERL_SSI flag now.                                      **

 + enabling Extended API (EAPI)
 + using system Expat
 + enabling generation of Apache core as DSO
 + using -ldl for vendor DSO support
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/ssl
Creating Makefile in src/modules/perl

########################################################################

'make' runs with no errors, as does 'make install'. I've installed
mod_ssl and mod_perl as per instructions in the mod_ssl INSTALL file.

Apache starts fine, however whenever I try and access a page (using
the default configuration), I get in the error log:

########################################################################

[Thu Aug  7 15:32:06 2003] [notice] Apache/1.3.28 (Unix) mod_perl/1.28 configured -- resuming
normal operations
[Thu Aug  7 15:32:06 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Aug  7 15:32:26 2003] [notice] child pid 30263 exit signal Segmentation fault (11)
[Thu Aug  7 15:32:27 2003] [notice] child pid 30264 exit signal Segmentation fault (11)

########################################################################

A bit of an strace for those interested:

########################################################################

[pid 29840] write(4, "\4\0\340\37H\37(\37\220\36\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192) =
8192
[pid 29840] close(5)                    = 0
[pid 29840] close(4)                    = 0
[pid 29840] flock(40, LOCK_UN)          = 0
[pid 29840] time(NULL)                  = 1060284086
[pid 29840] time(NULL)                  = 1060284086
[pid 29840] time(NULL)                  = 1060284086
[pid 29840] getpid()                    = 29840
[pid 29840] write(27, "[07/Aug/2003 15:21:26 29840] [in"..., 123) = 123
[pid 29840] read(3, "\27\3\0\1v\276\372\267\252*\241^\204\372\230\24h=\3024"..., 34821) =
379
[pid 29840] rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
[pid 29840] time(NULL)                  = 1060284087
[pid 29840] time(NULL)                  = 1060284087
[pid 29840] getpid()                    = 29840
[pid 29840] write(27, "[07/Aug/2003 15:21:27 29840] [in"..., 117) = 117
[pid 29840] stat64("/var/cms/live", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
[pid 29840] --- SIGSEGV (Segmentation fault) @ 0 (0) ---

########################################################################

(For those comparing pid's, yes, I know they're different between the
error log and strace, these were taken at different times with the
same server).

The complete strace from when I started apache until when I killed it
is available from:

http://ipsware.com/apache/strace.out (260kb)

Any assistance in figuring out why the httpd children are segfaulting
would be greatly appreciated! It doesn't appear to be related to
OpenSSL in any way.

Thanks!
-- 
Brett Randall
Systems Engineer
Hillsong Church
www.hillsong.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message