You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by tw...@library.ho.lucent.com on 2003/11/12 22:36:53 UTC

mp2 - still cannot start server on solaris

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 dev-subscribe@perl.apache.org.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2 - still cannot start server on solaris

Posted by Stas Bekman <st...@stason.org>.
Tulan W. Hu wrote:
>>Thanks for the trace, Tulan. Something goes wrong on the perl side, though
> 
> I'm
> 
>>not sure what :( I think I saw a similar problem when fighting with the
> 
> AIX
> 
>>build some time ago.
> 
> 
> I have the same problem when I tried the Apache 2.0.46 with perl 5.8.0 on
> solaris.
> I installed it and got a core dump when I started the server.
> Builting Apache 2.0.48 mod_perl 1.99_11 with perl 5.8.1 gave me an compile
> error.
> I have tried the "gcc" with and without "-B/usr/ccs/bin" option when I built
> perl
> and both gave me same results.

It'd be useful for you to report more details on the compile error. In any 
case you always want to build perl and apache using the same compiler. 
mod_perl automatically picks the compiler used to build perl (and the compile 
options)

>>Chances are that you will be able to install and run your code without any
>>problems though. This particular problem happens because of PerlLoadModule
>>causing and early perl startup. Let me know if you have problems to run
> 
> your
> 
>>own code with 1.99_11.
> 
> 
> I installed it without testing and still got a core dump when I started the
> server.

:(

>>I'm trying to solve some other problems with the startup at the moment.
> 
> Let's
> 
>>hope that if I come up with a robust solution it'll resolve these as well.
>
> 
> I guess I should not be in a hurry to upgrade my server because we must use
> mod_perl. 

Sorry for not being able to solve this at the moment. Please do try to see if 
new versions get it resolved and report back if you have any discoveries that 
may help us.

Ideally someone on Solaris with undertstanding of perl guts should try to fix 
it. At the moment I'm swamped with quite a few annoying problems, so I can't 
do that.

> Shall I upgrade the perl first? We are currently using mp1 with
> perl 5.6.0.
> Do you think perl 5.8.2 is stable for using?

Most likely 5.8.2 is fine. Or you could go with 5.6.1 which is pretty good and 
5.6.2 should be released shortly. Since you most likely do a thorough testing 
before you go update your production server, I'd give a try to 5.8.2.

> I shall rebuild the mp1 server if I upgrade my perl right?

That's correct.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2 - still cannot start server on solaris

Posted by "Tulan W. Hu" <tw...@lucent.com>.
> Thanks for the trace, Tulan. Something goes wrong on the perl side, though
I'm
> not sure what :( I think I saw a similar problem when fighting with the
AIX
> build some time ago.

I have the same problem when I tried the Apache 2.0.46 with perl 5.8.0 on
solaris.
I installed it and got a core dump when I started the server.
Builting Apache 2.0.48 mod_perl 1.99_11 with perl 5.8.1 gave me an compile
error.
I have tried the "gcc" with and without "-B/usr/ccs/bin" option when I built
perl
and both gave me same results.

> Chances are that you will be able to install and run your code without any
> problems though. This particular problem happens because of PerlLoadModule
> causing and early perl startup. Let me know if you have problems to run
your
> own code with 1.99_11.

I installed it without testing and still got a core dump when I started the
server.

> I'm trying to solve some other problems with the startup at the moment.
Let's
> hope that if I come up with a robust solution it'll resolve these as well.

I guess I should not be in a hurry to upgrade my server because we must use
mod_perl. Shall I upgrade the perl first? We are currently using mp1 with
perl 5.6.0.
Do you think perl 5.8.2 is stable for using?
I shall rebuild the mp1 server if I upgrade my perl right?

Thanks for your time.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2 - still cannot start server on solaris

Posted by Stas Bekman <st...@stason.org>.
Tulan W. Hu wrote:
> ----- Original Message ----- 
> 
>>From: "Stas Bekman" <st...@stason.org>
>>twh@library.ho.lucent.com wrote:
>>
>>>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?
>>
>>[...]
>>
>>>#0  0xfc6fff60 in ?? ()
>>>(gdb) bt
> 
> #0  0xfc6fff60 in ?? ()
> #1  0xfe2ac43c in Perl_runops_debug () at dump.c:1438
> #2  0xfe225bdc in S_call_body (myop=0xffbede80, is_eval=0) at perl.c:2224
> #3  0xfe2255e4 in Perl_call_sv (sv=0x16df80, flags=6) at perl.c:2142
> #4  0xfe22c62c in S_call_list_body (cv=0x16df80) at perl.c:4393
> #5  0xfe22bfd4 in Perl_call_list (oldscope=12, paramList=0x16dd7c)
>     at perl.c:4322
> #6  0xfe27dbf8 in Perl_newATTRSUB (floor=499, o=0x166208, proto=0x0,
>     attrs=0x0, block=0x166280) at op.c:4367
> #7  0xfe27780c in Perl_utilize (aver=1, floor=499, version=0x0,
> idop=0x1669b0,
>     arg=0x13fc00) at op.c:2975
> #8  0xfe2695c0 in Perl_yyparse () at perly.y:414
> #9  0xfe335f4c in S_doeval (gimme=0, startop=0x0, outside=0x0, seq=146)
>     at pp_ctl.c:2802
> #10 0xfe338e40 in Perl_pp_require () at pp_ctl.c:3299
> #11 0xfe20f0f4 in modperl_pp_require () at modperl_perl_pp.c:54
> #12 0xfe2ac43c in Perl_runops_debug () at dump.c:1438
> #13 0xfe225bdc in S_call_body (myop=0xffbee720, is_eval=0) at perl.c:2224
> #14 0xfe2255e4 in Perl_call_sv (sv=0x1424b8, flags=6) at perl.c:2142
> #15 0xfe22c62c in S_call_list_body (cv=0x1424b8) at perl.c:4393
> #16 0xfe22bfd4 in Perl_call_list (oldscope=4, paramList=0x142434)
>     at perl.c:4322
> #17 0xfe27dbf8 in Perl_newATTRSUB (floor=287, o=0xd3228, proto=0x0,
> attrs=0x0,
>     block=0x1664b0) at op.c:4367
> #18 0xfe269214 in Perl_yyparse () at perly.y:355
> #19 0xfe335f4c in S_doeval (gimme=0, startop=0x0, outside=0x0, seq=143)
>     at pp_ctl.c:2802
> #20 0xfe338e40 in Perl_pp_require () at pp_ctl.c:3299
> #21 0xfe20f0f4 in modperl_pp_require () at modperl_perl_pp.c:54
> #22 0xfe2ac43c in Perl_runops_debug () at dump.c:1438
> #23 0xfe225bdc in S_call_body (myop=0xffbeeee8, is_eval=1) at perl.c:2224
> #24 0xfe225f3c in Perl_eval_sv (sv=0x133d80, flags=2) at perl.c:2284
> #25 0xfe226764 in Perl_require_pv (
>     pv=0xd9a28
> "/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/conf/modperl_sta
> rtup.pl") at perl.c:2382
> #26 0xfe1ff9cc in modperl_require_file (
>     pv=0xd9a28
> "/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/conf/modperl_sta
> rtup.pl", logfailure=1) at modperl_util.c:30
> #27 0xfe1f8ee8 in modperl_config_apply_PerlRequire (s=0x97cd0, scfg=0xdba90,
>     perl=0x8dbe0, p=0x94a60) at modperl_config.c:360
> #28 0xfe1f46b8 in modperl_startup (s=0x97cd0, p=0x94a60) at mod_perl.c:255
> #29 0xfe1f430c in modperl_startup (s=0x97cd0, p=0x94a60) at mod_perl.c:158
> #30 0xfe1f6084 in modperl_init (base_server=0x97cd0, p=0x94a60)
>     at mod_perl.c:389
> #31 0xfe1f630c in modperl_hook_init (pconf=0x94a60, plog=0x0, ptemp=0x0,
>     s=0x97cd0) at mod_perl.c:524
> #32 0xfe1f6350 in modperl_run () at mod_perl.c:535
> #33 0xfe1fb800 in modperl_cmd_load_module (parms=0xffbef5f0,
> mconfig=0xdbef8,
>     arg=0xec848 "TestDirective::perlloadmodule4") at modperl_cmd.c:501
> #34 0x00048424 in invoke_cmd (cmd=0xfe3dd338, parms=0xffbef5f0,
>     mconfig=0xdbef8, args=0xec848 "TestDirective::perlloadmodule4")
>     at config.c:703
> #35 0x00048a88 in ap_walk_config_sub (current=0xec828, parms=0xffbef5f0,
>     section_vector=0xd3c88) at config.c:1085
> #36 0x00048b24 in ap_walk_config (current=0xec828, parms=0xffbef5f0,
>     section_vector=0xd3c88) at config.c:1124
> #37 0x0004976c in ap_process_config_tree (s=0x97cd0, conftree=0xec828,
>     p=0x94a60, ptemp=0xd0b50) at config.c:1654
> #38 0x0004be40 in main (argc=6, argv=0xffbef734) at main.c:581

Thanks for the trace, Tulan. Something goes wrong on the perl side, though I'm 
not sure what :( I think I saw a similar problem when fighting with the AIX 
build some time ago.

Chances are that you will be able to install and run your code without any 
problems though. This particular problem happens because of PerlLoadModule 
causing and early perl startup. Let me know if you have problems to run your 
own code with 1.99_11.

I'm trying to solve some other problems with the startup at the moment. Let's 
hope that if I come up with a robust solution it'll resolve these as well.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2 - still cannot start server on solaris

Posted by "Tulan W. Hu" <tw...@lucent.com>.
----- Original Message ----- 
> From: "Stas Bekman" <st...@stason.org>
> twh@library.ho.lucent.com wrote:
> > 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?
> [...]
> > #0  0xfc6fff60 in ?? ()
> > (gdb) bt
#0  0xfc6fff60 in ?? ()
#1  0xfe2ac43c in Perl_runops_debug () at dump.c:1438
#2  0xfe225bdc in S_call_body (myop=0xffbede80, is_eval=0) at perl.c:2224
#3  0xfe2255e4 in Perl_call_sv (sv=0x16df80, flags=6) at perl.c:2142
#4  0xfe22c62c in S_call_list_body (cv=0x16df80) at perl.c:4393
#5  0xfe22bfd4 in Perl_call_list (oldscope=12, paramList=0x16dd7c)
    at perl.c:4322
#6  0xfe27dbf8 in Perl_newATTRSUB (floor=499, o=0x166208, proto=0x0,
    attrs=0x0, block=0x166280) at op.c:4367
#7  0xfe27780c in Perl_utilize (aver=1, floor=499, version=0x0,
idop=0x1669b0,
    arg=0x13fc00) at op.c:2975
#8  0xfe2695c0 in Perl_yyparse () at perly.y:414
#9  0xfe335f4c in S_doeval (gimme=0, startop=0x0, outside=0x0, seq=146)
    at pp_ctl.c:2802
#10 0xfe338e40 in Perl_pp_require () at pp_ctl.c:3299
#11 0xfe20f0f4 in modperl_pp_require () at modperl_perl_pp.c:54
#12 0xfe2ac43c in Perl_runops_debug () at dump.c:1438
#13 0xfe225bdc in S_call_body (myop=0xffbee720, is_eval=0) at perl.c:2224
#14 0xfe2255e4 in Perl_call_sv (sv=0x1424b8, flags=6) at perl.c:2142
#15 0xfe22c62c in S_call_list_body (cv=0x1424b8) at perl.c:4393
#16 0xfe22bfd4 in Perl_call_list (oldscope=4, paramList=0x142434)
    at perl.c:4322
#17 0xfe27dbf8 in Perl_newATTRSUB (floor=287, o=0xd3228, proto=0x0,
attrs=0x0,
    block=0x1664b0) at op.c:4367
#18 0xfe269214 in Perl_yyparse () at perly.y:355
#19 0xfe335f4c in S_doeval (gimme=0, startop=0x0, outside=0x0, seq=143)
    at pp_ctl.c:2802
#20 0xfe338e40 in Perl_pp_require () at pp_ctl.c:3299
#21 0xfe20f0f4 in modperl_pp_require () at modperl_perl_pp.c:54
#22 0xfe2ac43c in Perl_runops_debug () at dump.c:1438
#23 0xfe225bdc in S_call_body (myop=0xffbeeee8, is_eval=1) at perl.c:2224
#24 0xfe225f3c in Perl_eval_sv (sv=0x133d80, flags=2) at perl.c:2284
#25 0xfe226764 in Perl_require_pv (
    pv=0xd9a28
"/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/conf/modperl_sta
rtup.pl") at perl.c:2382
#26 0xfe1ff9cc in modperl_require_file (
    pv=0xd9a28
"/s5/twh/papache/httpd-2.0.48/mod_perl-1.99_11/t/conf/modperl_sta
rtup.pl", logfailure=1) at modperl_util.c:30
#27 0xfe1f8ee8 in modperl_config_apply_PerlRequire (s=0x97cd0, scfg=0xdba90,
    perl=0x8dbe0, p=0x94a60) at modperl_config.c:360
#28 0xfe1f46b8 in modperl_startup (s=0x97cd0, p=0x94a60) at mod_perl.c:255
#29 0xfe1f430c in modperl_startup (s=0x97cd0, p=0x94a60) at mod_perl.c:158
#30 0xfe1f6084 in modperl_init (base_server=0x97cd0, p=0x94a60)
    at mod_perl.c:389
#31 0xfe1f630c in modperl_hook_init (pconf=0x94a60, plog=0x0, ptemp=0x0,
    s=0x97cd0) at mod_perl.c:524
#32 0xfe1f6350 in modperl_run () at mod_perl.c:535
#33 0xfe1fb800 in modperl_cmd_load_module (parms=0xffbef5f0,
mconfig=0xdbef8,
    arg=0xec848 "TestDirective::perlloadmodule4") at modperl_cmd.c:501
#34 0x00048424 in invoke_cmd (cmd=0xfe3dd338, parms=0xffbef5f0,
    mconfig=0xdbef8, args=0xec848 "TestDirective::perlloadmodule4")
    at config.c:703
#35 0x00048a88 in ap_walk_config_sub (current=0xec828, parms=0xffbef5f0,
    section_vector=0xd3c88) at config.c:1085
#36 0x00048b24 in ap_walk_config (current=0xec828, parms=0xffbef5f0,
    section_vector=0xd3c88) at config.c:1124
#37 0x0004976c in ap_process_config_tree (s=0x97cd0, conftree=0xec828,
    p=0x94a60, ptemp=0xd0b50) at config.c:1654
#38 0x0004be40 in main (argc=6, argv=0xffbef734) at main.c:581


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2 - still cannot start server on solaris

Posted by Stas Bekman <st...@stason.org>.
twh@library.ho.lucent.com wrote:
> 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?
[...]
> #0  0xfc6fff60 in ?? ()
> (gdb) 

And now you need to run: bt to get the backtrace and post it here.

-- 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org