You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Tulan W. Hu" <tw...@lucent.com> on 2003/05/27 13:54:39 UTC

Fw: sorry to send this to your email address

----- Original Message -----
From: "Stas Bekman" <st...@stason.org>
To: <tw...@library.ho.lucent.com>
Sent: Sunday, May 25, 2003 4:16 AM
Subject: Re: sorry to send this to your email address


> twh@library.ho.lucent.com wrote:
> > Since I just cannot find the email address
> > that I suppose to sent.
>
> please look at the very end of the bug report, the address is there.
>
> > -------------8<---------- Start Bug Report ------------8<----------
> > 1. Problem Description:
> >
> > $ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co modperl-2.0
> > $ cd  modperl-2.0
> > $ perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/s5/twh/apache2
MP_DEBUG=1\
> > MP_USE_STATIC=0
> > $ make && make test
> > .....
> > .....
> >  /opt1/perl580/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
> > t/TEST -clean
> > APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
> > /opt1/perl580/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
> > t/TEST -verbose=0
> > /s5/twh/apache2/bin/httpd  -d /s5/twh/papache/modperl-2.0/t -f
/s5/twh/papache/modperl-2.0/t/conf/httpd.conf -DAPACHE2
> > using Apache/2.0.45 (prefork MPM)
> >
> > waiting for server to start:
..............................................................
> > waiting 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 nuts, server dumped core
> > !!! for stacktrace, run: gdb /s5/twh/apache2/bin/httpd -core
/s5/twh/papache/modperl-2.0/t/core
> > make: *** [run_tests] Error 1
> >
> >
> > 2. Used Components and their Configuration:
> >
> > *** using lib/Apache/BuildConfig.pm
> > *** Makefile.PL options:
> >   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.45
> > Server built:   May 22 2003 13:32:04
> > Server's Module Magic Number: 20020903:0
> > 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"
> >
> >
> > *** /opt1/perl580/bin/perl -V
> > Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
> >   Platform:
> >     osname=solaris, osvers=2.8, archname=sun4-solaris
> >     uname='sunos ln 5.8 generic_108528-12 sun4u sparc '
> >     config_args='-Dcc=gcc -Dprefix=/opt1/perl580'
> >     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='gcc', ccflags
='-fno-strict-aliasing -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_
SOURCE -D_FILE_OFFSET_BITS=64',
> >     optimize='-O',
> >
    cppflags='-fno-strict-aliasing -I/usr/local/include -I/opt/gnu/include'
> >     ccversion='', gccversion='2.95.3 20010315 (release)',
gccosandvers='solaris2.5'
> >     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='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib '
> >     libpth=/usr/local/lib /opt/gnu/lib /usr/lib /usr/ccs/lib
> >     libs=-lsocket -lnsl -ldl -lm -lc
> >     perllibs=-lsocket -lnsl -ldl -lm -lc
> >     libc=, 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 -L/usr/local/lib -L/opt/gnu/lib'
> >
> >
> > Characteristics of this binary (from libperl):
> >   Compile-time options: USE_LARGE_FILES
> >   Built under solaris
> >   Compiled at Jul 19 2002 14:36:54
> >   %ENV:
> >     PERL_LWP_USE_HTTP_10="1"
> >   @INC:
> >     /opt1/perl580/lib/5.8.0/sun4-solaris
> >     /opt1/perl580/lib/5.8.0
> >     /opt1/perl580/lib/site_perl/5.8.0/sun4-solaris
> >     /opt1/perl580/lib/site_perl/5.8.0
> >     /opt1/perl580/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/modperl-2.0/t/core
> > GNU gdb 5.2.1
> > 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/modperl-2.0/t -f /s5/twh/papache/m'.
> > Program terminated with signal 11, Segmentation fault.
> > ....
> > <gdb> where
> > #0  0xfc709fb4 in ?? ()
> > #1  0xfe32dd24 in Perl_runops_standard ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #2  0xfe2e135c in S_call_body ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #3  0xfe2e1058 in Perl_call_sv ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #4  0xfe2e4788 in S_call_list_body ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #5  0xfe2e4348 in Perl_call_list ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #6  0xfe30cfa0 in Perl_newATTRSUB ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #7  0xfe308fe4 in Perl_utilize ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #8  0xfe3003b0 in Perl_yyparse ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #9  0xfe35e954 in S_doeval ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #10 0xfe360194 in Perl_pp_require ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #11 0xfe2d0908 in modperl_pp_require () at modperl_perl_pp.c:54
> > #12 0xfe32dd24 in Perl_runops_standard ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #13 0xfe2e135c in S_call_body ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #14 0xfe2e1058 in Perl_call_sv ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #15 0xfe2e4788 in S_call_list_body ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #16 0xfe2e4348 in Perl_call_list ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #17 0xfe30cfa0 in Perl_newATTRSUB ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #18 0xfe300210 in Perl_yyparse ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #19 0xfe35e954 in S_doeval ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #20 0xfe360194 in Perl_pp_require ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #21 0xfe2d0908 in modperl_pp_require () at modperl_perl_pp.c:54
> > #22 0xfe32dd24 in Perl_runops_standard ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #23 0xfe2e135c in S_call_body ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #24 0xfe2e1514 in Perl_eval_sv ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #25 0xfe2e19a4 in Perl_require_pv ()
> >    from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
> > #26 0xfe2c4fd4 in modperl_require_file (
> >     pv=0x11a9e0 "/s5/twh/papache/modperl-2.0/t/conf/modperl_startup.pl",
> >     logfailure=1) at modperl_util.c:30
> > #27 0xfe2bee54 in modperl_config_apply_PerlRequire (s=0xd88d8,
scfg=0x11bd38,
> >     perl=0xcde80, p=0xd5508) at modperl_config.c:351
> > #28 0xfe2babfc in modperl_startup (s=0xd88d8, p=0xd5508) at
mod_perl.c:216
> > #29 0xfe2bc390 in modperl_init (base_server=0xd88d8, p=0xd5508)
> >     at mod_perl.c:352
> > #30 0xfe2bc5b8 in modperl_hook_init (pconf=0xd5508, plog=0x0, ptemp=0x0,
> >     s=0xd88d8) at mod_perl.c:485
> > #31 0xfe2bc5f8 in modperl_run () at mod_perl.c:496
> > #32 0xfe2c1560 in modperl_cmd_load_module (parms=0xffbef5c0,
mconfig=0x11c1a0,
> >     arg=0x129a68 "TestDirective::perlloadmodule2") at modperl_cmd.c:499
> > #33 0x0004b1b0 in invoke_cmd (cmd=0xfe3c28a0, parms=0xffbef5c0,
> >     mconfig=0x11c1a0, args=0x129a68 "TestDirective::perlloadmodule2")
> >     at config.c:713
> > #34 0x0004bee0 in ap_walk_config_sub (current=0x129a48,
parms=0xffbef5c0,
> >     section_vector=0x113fd0) at config.c:1082
> > #35 0x0004bf84 in ap_walk_config (current=0x129a48, parms=0xffbef5c0,
> >     section_vector=0x113fd0) at config.c:1121
> > #36 0x0004ca9c in ap_process_config_tree (s=0xd88d8, conftree=0x129a48,
> >     p=0xd5508, ptemp=0x1115f8) at config.c:1594
> > #37 0x0004f1d4 in main (argc=6, argv=0xffbef704) at main.c:581
> >
> >
> >
> > This report was generated by t/REPORT on Fri May 23 12:56:42 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.
>
>
> --
>
>
> __________________________________________________________________
> 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


mp2: segfault in make test on sun4-solaris

Posted by Stas Bekman <st...@stason.org>.
[cc: changing a subject to something more suitable]

Tulan W. Hu wrote:

First let's get in sync: Are you using the latest cvs? or mod_perl 1.99?
I need to fix the bug report script to include that info.

Now you need to rebuild perl with debug support (using flags -Doptimize='-g' 
-Dusedevel) so the core trace will include the arguments.

What's confusing in the trace below is that it reports the calls in 
mod_perl.so when it should be libperl.so.

>>><gdb> where
>>>#0  0xfc709fb4 in ?? ()
>>>#1  0xfe32dd24 in Perl_runops_standard ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#2  0xfe2e135c in S_call_body ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#3  0xfe2e1058 in Perl_call_sv ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#4  0xfe2e4788 in S_call_list_body ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#5  0xfe2e4348 in Perl_call_list ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#6  0xfe30cfa0 in Perl_newATTRSUB ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#7  0xfe308fe4 in Perl_utilize ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#8  0xfe3003b0 in Perl_yyparse ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#9  0xfe35e954 in S_doeval ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#10 0xfe360194 in Perl_pp_require ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#11 0xfe2d0908 in modperl_pp_require () at modperl_perl_pp.c:54
>>>#12 0xfe32dd24 in Perl_runops_standard ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#13 0xfe2e135c in S_call_body ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#14 0xfe2e1058 in Perl_call_sv ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#15 0xfe2e4788 in S_call_list_body ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#16 0xfe2e4348 in Perl_call_list ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#17 0xfe30cfa0 in Perl_newATTRSUB ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#18 0xfe300210 in Perl_yyparse ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#19 0xfe35e954 in S_doeval ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#20 0xfe360194 in Perl_pp_require ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#21 0xfe2d0908 in modperl_pp_require () at modperl_perl_pp.c:54
>>>#22 0xfe32dd24 in Perl_runops_standard ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#23 0xfe2e135c in S_call_body ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#24 0xfe2e1514 in Perl_eval_sv ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#25 0xfe2e19a4 in Perl_require_pv ()
>>>   from /s5/twh/papache/modperl-2.0/src/modules/perl/mod_perl.so
>>>#26 0xfe2c4fd4 in modperl_require_file (
>>>    pv=0x11a9e0 "/s5/twh/papache/modperl-2.0/t/conf/modperl_startup.pl",
>>>    logfailure=1) at modperl_util.c:30
>>>#27 0xfe2bee54 in modperl_config_apply_PerlRequire (s=0xd88d8,
>>
> scfg=0x11bd38,
> 
>>>    perl=0xcde80, p=0xd5508) at modperl_config.c:351
>>>#28 0xfe2babfc in modperl_startup (s=0xd88d8, p=0xd5508) at
>>
> mod_perl.c:216
> 
>>>#29 0xfe2bc390 in modperl_init (base_server=0xd88d8, p=0xd5508)
>>>    at mod_perl.c:352
>>>#30 0xfe2bc5b8 in modperl_hook_init (pconf=0xd5508, plog=0x0, ptemp=0x0,
>>>    s=0xd88d8) at mod_perl.c:485
>>>#31 0xfe2bc5f8 in modperl_run () at mod_perl.c:496
>>>#32 0xfe2c1560 in modperl_cmd_load_module (parms=0xffbef5c0,
>>
> mconfig=0x11c1a0,
> 
>>>    arg=0x129a68 "TestDirective::perlloadmodule2") at modperl_cmd.c:499
>>>#33 0x0004b1b0 in invoke_cmd (cmd=0xfe3c28a0, parms=0xffbef5c0,
>>>    mconfig=0x11c1a0, args=0x129a68 "TestDirective::perlloadmodule2")
>>>    at config.c:713
>>>#34 0x0004bee0 in ap_walk_config_sub (current=0x129a48,
>>
> parms=0xffbef5c0,
> 
>>>    section_vector=0x113fd0) at config.c:1082
>>>#35 0x0004bf84 in ap_walk_config (current=0x129a48, parms=0xffbef5c0,
>>>    section_vector=0x113fd0) at config.c:1121
>>>#36 0x0004ca9c in ap_process_config_tree (s=0xd88d8, conftree=0x129a48,
>>>    p=0xd5508, ptemp=0x1115f8) at config.c:1594
>>>#37 0x0004f1d4 in main (argc=6, argv=0xffbef704) at main.c:581
>>>
>>>
>>>
>>>This report was generated by t/REPORT on Fri May 23 12:56:42 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.
>>
>>
>>--
>>
>>
>>__________________________________________________________________
>>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


-- 


__________________________________________________________________
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