I guess I just was not lucky enough.
I upgraded my env to
Apache 2.0.48, mod_perl 1.99_11, perl 5.8.2, gcc 3.3 on solaris 2.8.

I'm still having the same problem. the server just cannot be started.
I had successfully built an older version of mod_perl with gcc 2.95.2;
however, I have no luck with gcc 3.3 at all.

Any special gcc flags or a solaris patch that I need?

Thanks for your help!


-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  Server cannot be started when
  $ make test 
....
make[2]: Leaving directory `/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/xs/ModPerl'
make[1]: Leaving directory `/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/xs'
/s5/twh/perl581/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/s5/twh/perl581/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -bugreport -verbose=0 
/s5/twh/apache2/bin/httpd -d /s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t -f 
/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/conf/httpd.conf -DAPACHE2 
using Apache/2.0.48 (prefork MPM)

waiting 60 seconds for server to start: 
..............................................................
waiting 60 seconds for server to start: giving up after 61 secs
!!! server failed to start! (t/logs/error_log wasn't created, start the server in the 
debug mode)
!!! oh shucks, server dumped core 
!!! for stacktrace, run: gdb /s5/twh/apache2/bin/httpd -core 
/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/core
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1


2. Used Components and their Configuration:

*** mod_perl version 1.9911

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_APXS         => /s5/twh/apache2/bin/apxs
  MP_AP_PREFIX    => /s5/twh/apache2
  MP_COMPAT_1X    => 1
  MP_DEBUG        => 1
  MP_GENERATE_XS  => 1
  MP_INST_APACHE2 => 1
  MP_LIBNAME      => mod_perl
  MP_TRACE        => 1
  MP_USE_DSO      => 1
  MP_USE_STATIC   => 1


*** /s5/twh/apache2/bin/httpd -V
Server version: Apache/2.0.48
Server built:   Nov 11 2003 13:19:59
Server's Module Magic Number: 20020903:4
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/s5/twh/apache2"
 -D SUEXEC_BIN="/s5/twh/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


*** /s5/twh/perl581/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos ln 5.8 generic_108528-18 sun4u sparc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/exp/gnu/bin/gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing 
-I/opt/exp/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/opt/exp/gnu/include'
    ccversion='', gccversion='3.3.1', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/opt/exp/gnu/bin/gcc', ldflags =' '
    libpth=/opt/exp/gnu/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING USE_LARGE_FILES
  Built under solaris
  Compiled at Nov 12 2003 13:02:49
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /s5/twh/perl581/lib/5.8.2/sun4-solaris
    /s5/twh/perl581/lib/5.8.2
    /s5/twh/perl581/lib/site_perl/5.8.2/sun4-solaris
    /s5/twh/perl581/lib/site_perl/5.8.2
    /s5/twh/perl581/lib/site_perl/5.8.1/sun4-solaris
    /s5/twh/perl581/lib/site_perl/5.8.1
    /s5/twh/perl581/lib/site_perl
    .


3. This is the core dump trace: (if you get a core dump):

  

$ gdb /s5/twh/apache2/bin/httpd -core 
/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris"...
Core was generated by `/s5/twh/apache2/bin/httpd -d 
/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t -f'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /s5/twh/apache2/lib/libaprutil-0.so.0...done.
Loaded symbols for /s5/twh/apache2/lib/libaprutil-0.so.0
Reading symbols from /s5/twh/apache2/lib/libexpat.so.0...done.
Loaded symbols for /s5/twh/apache2/lib/libexpat.so.0
Reading symbols from /s5/twh/apache2/lib/libapr-0.so.0...done.
Loaded symbols for /s5/twh/apache2/lib/libapr-0.so.0
Reading symbols from /usr/lib//librt.so.1...done.
Loaded symbols for /usr/lib//librt.so.1
Reading symbols from /usr/lib//libm.so.1...done.
Loaded symbols for /usr/lib//libm.so.1
Reading symbols from /usr/lib//libsocket.so.1...done.
Loaded symbols for /usr/lib//libsocket.so.1
Reading symbols from /usr/lib//libnsl.so.1...done.
Loaded symbols for /usr/lib//libnsl.so.1
Reading symbols from /usr/lib//libresolv.so.2...done.
Loaded symbols for /usr/lib//libresolv.so.2
Reading symbols from /usr/lib//libpthread.so.1...done.
Loaded symbols for /usr/lib//libpthread.so.1
Reading symbols from /usr/lib//libc.so.1...done.
Loaded symbols for /usr/lib//libc.so.1
Reading symbols from /opt/exp/gnu/lib/libgcc_s.so.1...done.
Loaded symbols for /opt/exp/gnu/lib/libgcc_s.so.1
Reading symbols from /usr/lib//libaio.so.1...done.
Loaded symbols for /usr/lib//libaio.so.1
Reading symbols from /usr/lib//libdl.so.1...done.
Loaded symbols for /usr/lib//libdl.so.1
Reading symbols from /usr/lib//libmp.so.2...done.
Loaded symbols for /usr/lib//libmp.so.2
---Type <return> to continue, or q <return> to quit--- 
Reading symbols from /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1...
done.
Loaded symbols for /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
Reading symbols from /usr/lib//libthread.so.1...done.
Loaded symbols for /usr/lib//libthread.so.1
Reading symbols from /s5/twh/apache2/modules/mod_mime_magic.so...done.
Loaded symbols for /s5/twh/apache2/modules/mod_mime_magic.so
Reading symbols from 
/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/src/modules/perl/mod_perl.so...done.
Loaded symbols for 
/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/src/modules/perl/mod_perl.so
#0  0xfc6fff60 in ?? ()
(gdb) 


This report was generated by t/REPORT on Wed Nov 12 21:27:49 2003 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
dev <at> perl.apache.org. To subscribe to the list send an empty
email to [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to