You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/11/04 05:16:42 UTC

Re: [mp2] Solaris: modperl/request_rec_tie_api.t failure

Mr jeremy pennington wrote:
> I am new to modperl and have been trying to get it
> running for the past week but not having any luck. The
> first time I run make test it errored out and said
> unable to start the server, but I tried again later
> and got past that and now I get the following errors.
> I am running solaris 9, apache 2.0.52, mod_perl
> 1.99_17, perl 5.6.1. I greatly appreciate any help,
> ideas, suggestions, trys.

Here dealing with modperl/request_rec_tie_api.t failure

[...]
> *** /usr/perl5/5.6.1/bin/perl -V
> Summary of my perl5 (revision 5.0 version 6 subversion
> 1) configuration:
[...]
> Characteristics of this binary (from libperl): 
>   Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
>   Locally applied patches:
>      9676 Port the OpenBSD glob() security patch
>      9678 Addendum to #9676: some missing changes from
> OpenBSD glob.c
>      9679 Up $File::Glob::VERSION, add OpenBSD glob
> version note
>      9693 $VERSION and Version() on same line provokes
> CPAN.pm warning
>      9706 #7210 broke .packlist generation
>      9707 ExtUtils::Installed doesn't quote regex
> metacharacters in paths
>      9775 Typo in utf8.h
>      9950 Revert integration of #8254,#8255 in #8620
> (causes coredump)
>     10021 Insecure regexes
>     10091 $ref1 == $ref2 behaves unpredictably if not
> NV_PRESERVES_UV
>     10093 Incorrect line numbers in AutoSplit
>     10100 [20010514.027] PL_last_in_gv may not be GV
> if stale filehandle
>     10145 [20010515.004] Segfaults from premature GC
>     10203 Don't think about UTF8
>     10250 [20010422.005] perl -e '{s//${}/; //}'
> segfaults
>     10394 Leakage of file scope lexicals into
> predeclared subroutines
>     10404 eval.t was relying on pre-#10394 buggy
> behavior
>     10412 Rationalize locale handling to fix bugs
> uncovered by #10394
>     10422 Potential buffer overrun if the radix
> separator > 1 byte
>     10448 Lexicals outside eval weren't resolved
> correctly pre-#10394
>     10450 Optimize #10448 slightly
>     10543 Add LC_MESSAGES constant to POSIX module
>     10667 #10449 broke visibility of lexicals inside
> DB::DB()
>     10739 C<eval "/x$\r\n/x"> fails to compile
> correctly
>     10939 Proposed fix for Pod::Man
>     11169 Doc patch for Tie::Hash
>     11374 Make h2ph grok ccsymbols fo the form 1234L,
> 1234ULL etc
>     11427 t/harness wasn't picking up all the tests
>     11428 run/runenv.t needs fflushNULL sanity
>     11431 pod/*.t tests not picked up by t/TEST either
>     11510 eval 'format foo=' would loop indefinitely
>     11713 UTF8 wasn't printing for PVMGs
>     11716 UTF8 flag should be meaningful only when POK
>     11808 [20010831.002] Bug in Term::Cap on Solaris
> ansi terminal
>     11847 Typo in perl_clone() code causes local(*foo)
> breakage
>     12005 [20010912.007] substr reference core dump
>     12024 Fix local() precedence bug in #8311
>     12303 Fix 'local $!=0;undef*STDOUT;' segfault
>     12304 Pod::Html makes a poor guess at author
>     12350 Typo in IO::Seekable doc
>     12496 Carp::shortmess_heavy() doesn't notice
> trailing newline
>     12549 readline() doesn't work with 'our' variables
>     12550 #12549 wasn't aware of strictures
>     12752 croak(Nullch) wasn't printing the contents
> of ERRSV
>     12811 [20011101.069] \stat('.') gives 'free unref
> scalar' error
>     12812 Slight modification of #12811
>     13149 Integrate #13147 from mainline (fixes nit in
> #10091)
>     13261 Integrate #8340,#13260 from mainline

That could be your problem. Tons of unsanctioned by p5p locally applied 
patches. Any chance you could try a newer Perl? It's not clear if your 
perl is really 5.6.1 + patches. I'm afraid this is really 5.6.0 + patches, 
which is certainly unsupported, and will explain the reason for the failure.

> # t/TEST -verbose modperl/request_rec_tie_api.t
>
> Fail  Failed  List of Failed
> --------------------------------------------------------------------------------
> t/modperl/request_rec_tie_api.t                3    3
> 100.00%  1-3
> Failed 1/1 test scripts, 0.00% okay. 3/3 subtests
> failed, 0.00% okay.
> [warning] server localhost:8529 shutdown
> [  error] error running tests (please examine
> t/logs/error_log)
> [  error] oh rats, server dumped core 
> [  error] for stacktrace, run: gdb
> /usr/local/apache2/bin/httpd -core
> /usr/local/src/mod_perl-1.99_17/t/core

So either upgrade your perl and try again, or send us the backtrace of the 
core file:
http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults

(but I'd stronly suggest the Perl upgrade first)


-- 
__________________________________________________________________
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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html