Tulan W. Hu wrote:
----- Original Message -----

From: "Stas Bekman" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] 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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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



Reply via email to