Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Mar 13 2003 22:22:34 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Sun Apr 25 22:21:38 2004 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.
gSOAP acct wrote:> I forgot about having mod_perl and perl built with the> same compiler. I'll rebuild perl and if that doesn't> work I'll get the current modperl cvs and try again as> you suggest.
I think you *need* to use modperl cvs. If I were you I'd do that first. It should be pretty stable.
cc -I/home/Plankton/cvs/modperl-2.0/src/modules/perl -I/home/Plankton/cvs/modperl-2.0/xs -I/usr/local/apache2/include -I/usr/local/apache2/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/lib/perl5/5.8.4/i686-linux/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 -fpic \ -c modperl_constants.c && mv modperl_constants.o modperl_constants.lo modperl_constants.c: In function `modperl_constants_lookup_apache': modperl_constants.c:1571: error: `AP_MPMQ_STARTING' undeclared (first use in this function) modperl_constants.c:1571: error: (Each undeclared identifier is reported only once modperl_constants.c:1571: error: for each function it appears in.) modperl_constants.c:1576: error: `AP_MPMQ_RUNNING' undeclared (first use in this function) modperl_constants.c:1581: error: `AP_MPMQ_STOPPING' undeclared (first use in this function) modperl_constants.c:1646: error: `AP_MPMQ_MPM_STATE' undeclared (first use in this function) make[1]: *** [modperl_constants.lo] Error 1 make[1]: Leaving directory `/home/Plankton/cvs/modperl-2.0/src/modules/perl' make: *** [modperl_lib] Error 2 Plankton@linux:~/cvs/modperl-2.0>
... did I get the wrong modperl or something? --- Stas Bekman <stas@stason.org> wrote:> [remember to reply back to the list! Thanks]>
gSOAP acct wrote:> > I forgot about having mod_perl and perl built with> the> > same compiler. I'll rebuild perl and if that> doesn't> > work I'll get the current modperl cvs and try> again as> > you suggest.>
I think you *need* to use modperl cvs. If I were you> I'd do that first. It > should be pretty stable.>
I think I got the cvs version of modperl you mentioned> ...>
cvs -d server:anoncvs@cvs.apache.org:/home/cvspublic> co modperl-2.0>
... Is that right?
Right.
modperl_constants.c:1576: error: `AP_MPMQ_RUNNING' > undeclared (first use in this function)
I know what the problem is (new defines introduced in 2.0.49). Could you use the latest Apache, 2.0.49? Alternatively (w/o upgrading Apache) try again with this earlier checkout:
cvs -d server:anoncvs@cvs.apache.org:/home/cvspublic \ co -D 20040413 -d mp2-20040413 modperl-2.0
it'll checkout the version from Apr 13's into mp2-20040413
We will fix the current cvs soon to work w/ older Apache versions. (it's the fixed source scanner that has picked those new constants from my httpd-2.0 cvs tree)
Well that got me a lot closer but make test still failed. Should I upgrade my Apache and try again with modperl 2.0?
$ make test ... t/preconnection/note....................ok
t/protocol/echo.........................ok
t/protocol/echo_filter..................ok
t/protocol/eliza........................skipped all skipped: cannot find module 'Chatbot::Eliza' t/vhost/config..........................ok
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/apache/subprocess.t 255 65280 ?? ?? % ?? t/apr/perlio.t 255 65280 ?? ?? % ?? 16 tests skipped. [warning] server localhost:8529 shutdown [warning] port 8529 still in use... ...done [ error] error running tests (please examine t/logs/error_log) [ error] oh jeez, server dumped core [ error] for stacktrace, run: gdb /usr/local/apache2/bin/httpd -core /home/Plankton/cvs/mp2-20040413/t/core +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ make: *** [run_tests] Error 1 Plankton@linux:~/cvs/mp2-20040413> END in modperl_extra.pl, pid=15087 [Sun Apr 25 19:12:56 2004] [notice] Apache/2.0.48 (Unix) mod_perl/1.99_14-dev Perl/v5.8.4 configured -- resuming normal operations [Sun Apr 25 19:12:56 2004] [info] Server built: Feb 26 2004 22:37:51 [Sun Apr 25 19:12:56 2004] [debug] prefork.c(1037): AcceptMutex: sysvsem (default: sysvsem) [Sun Apr 25 19:12:58 2004] [error] server reached MaxClients setting, consider raising the MaxClients setting [Sun Apr 25 19:13:24 2004] [notice] child pid 15094 exit signal Segmentation fault (11), possible coredump in /home/Plankton/cvs/mp2-20040413/t [Sun Apr 25 19:13:31 2004] [info] [client 127.0.0.1] TestAPI::aplog test in progress This log message comes with no header
*** The following warn entry is expected and harmless *** [Sun Apr 25 19:13:31 2004] [debug] /home/Plankton/cvs/mp2-20040413/t/response/TestAPI/aplog.pm(48): log_serror test ok
*** The following warn entry is expected and harmless *** [Sun Apr 25 19:13:31 2004] [debug] /home/Plankton/cvs/mp2-20040413/t/response/TestAPI/aplog.pm(52): (20014)Error string not specified yet: log_serror test 2 ok
*** The following error entry is expected and harmless *** [Sun Apr 25 19:13:31 2004] [crit] [client 127.0.0.1] (20007)No time was provided and one was required.: log_rerror test ok
*** The following error entry is expected and harmless *** [Sun Apr 25 19:13:31 2004] [error] $r->log_error test ok
*** The following error entry is expected and harmless *** [Sun Apr 25 19:13:31 2004] [error] $s->log_error test ok [Sun Apr 25 19:13:31 2004] [debug] /home/Plankton/cvs/mp2-20040413/t/response/TestAPI/aplog.pm(73): TestAPI::aplog test done [Sun Apr 25 19:13:31 2004] [warn] ApacheApache->warn test ok [Sun Apr 25 19:13:31 2004] [warn] $s->warn test ok [Sun Apr 25 19:14:24 2004] [notice] child pid 15116 exit signal Segmentation fault (11), possible coredump in /home/Plankton/cvs/mp2-20040413/t
*** The following error entry is expected and harmless *** [Sun Apr 25 19:14:38 2004] [error] Apache::log_error test ok
*** The following error entry is expected and harmless *** [Sun Apr 25 19:15:23 2004] [error] [client 127.0.0.1] Undefined subroutine &TestError::runtime::no_such_func called at /home/Plankton/cvs/mp2-20040413/t/response/TestError/runtime.pm line 19.
*** The following error entry is expected and harmless *** [Sun Apr 25 19:15:25 2004] [error] failed to resolve handler `TestError::syntax' [Sun Apr 25 19:15:25 2004] [error] [client 127.0.0.1] syntax error at /home/Plankton/cvs/mp2-20040413/t/response/TestError/syntax.pm line 22, near "\;" Compilation failed in require at (eval 132) line 3.
*** The following error entry is expected and harmless *** [Sun Apr 25 19:15:44 2004] [error] [client 127.0.0.1] This filter must die at /home/Plankton/cvs/mp2-20040413/t/filter/TestFilter/in_error.pm line 27.
*** The following error entry is expected and harmless *** [Sun Apr 25 19:15:44 2004] [error] [client 127.0.0.1] failed to read POSTed data: No such file or directory at /home/Plankton/cvs/mp2-20040413/t/filter/TestFilter/in_error.pm line 37.
*** The following error entry is expected and harmless *** [Sun Apr 25 19:16:47 2004] [error] [client 127.0.0.1] File does not exist: /home/Plankton/cvs/mp2-20040413/t/htdocs/nope
*** The following error entry is expected and harmless *** [Sun Apr 25 19:17:38 2004] [error] [client 127.0.0.1] need AuthName: /TestModperl__setauth
*** The following error entry is expected and harmless *** [Sun Apr 25 19:17:41 2004] [error] [client 127.0.0.1] File does not exist: /home/Plankton/cvs/mp2-20040413/t/htdocs/TestModperl__status
*** The following error entry is expected and harmless *** [Sun Apr 25 19:17:41 2004] [error] [client 127.0.0.1] Died at /home/Plankton/cvs/mp2-20040413/t/response/TestModperl/status.pm line 24.
*** The following error entry is expected and harmless *** Argument "foobar" isn't numeric.
*** The following error entry is expected and harmless *** Argument "foo9bar" isn't numeric. [Sun Apr 25 19:18:23 2004] [info] Child process pid=15180 is exiting END in modperl_extra.pl, pid=15180 [Sun Apr 25 19:18:23 2004] [info] Child process pid=15091 is exiting END in TestModperl::print, pid=15091 END in modperl_extra.pl, pid=15091 [Sun Apr 25 19:18:23 2004] [warn] child process 15091 still did not exit, sending a SIGTERM [Sun Apr 25 19:18:23 2004] [warn] child process 15180 still did not exit, sending a SIGTERM [Sun Apr 25 19:18:23 2004] [info] removed PID file /home/Plankton/cvs/mp2-20040413/t/logs/httpd.pid (pid=15089) [Sun Apr 25 19:18:23 2004] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=15089
I think I got the cvs version of modperl you> mentioned> > ...> >
cvs -d> server:anoncvs@cvs.apache.org:/home/cvspublic> > co modperl-2.0> >
... Is that right?>
Right.>
modperl_constants.c:1576: error:> `AP_MPMQ_RUNNING'> > undeclared (first use in this function)>
I know what the problem is (new defines introduced> in 2.0.49). Could you use > the latest Apache, 2.0.49? Alternatively (w/o> upgrading Apache) try again with > this earlier checkout:>
cvs -d> server:anoncvs@cvs.apache.org:/home/cvspublic \> co -D 20040413 -d mp2-20040413 modperl-2.0>
it'll checkout the version from Apr 13's into> mp2-20040413>
We will fix the current cvs soon to work w/ older> Apache versions. (it's the > fixed source scanner that has picked those new> constants from my httpd-2.0 cvs > tree)>
I think I got the cvs version of modperl you mentioned>> ...>>
cvs -d server:anoncvs@cvs.apache.org:/home/cvspublic>> co modperl-2.0>>
... Is that right?>
Right.>
modperl_constants.c:1576: error: `AP_MPMQ_RUNNING'> > undeclared (first use in this function)>
I know what the problem is (new defines introduced in 2.0.49). Could you > use the latest Apache, 2.0.49? Alternatively (w/o upgrading Apache) try > again with this earlier checkout:>
cvs -d server:anoncvs@cvs.apache.org:/home/cvspublic \> co -D 20040413 -d mp2-20040413 modperl-2.0>
it'll checkout the version from Apr 13's into mp2-20040413>
We will fix the current cvs soon to work w/ older Apache versions. (it's > the fixed source scanner that has picked those new constants from my > httpd-2.0 cvs tree)
OK, you should now be able to build the current mp2 cvs w/o any problems with pre-Apache 2.0.49
I think I got the cvs version of modperl you mentioned>> ...>>
cvs -d server:anoncvs@cvs.apache.org:/home/cvspublic>> co modperl-2.0>>
... Is that right?>
Right.>
modperl_constants.c:1576: error: `AP_MPMQ_RUNNING'> > undeclared (first use in this function)>
I know what the problem is (new defines introduced in 2.0.49). Could you > use the latest Apache, 2.0.49? Alternatively (w/o upgrading Apache) try > again with this earlier checkout:>
cvs -d server:anoncvs@cvs.apache.org:/home/cvspublic \> co -D 20040413 -d mp2-20040413 modperl-2.0>
it'll checkout the version from Apr 13's into mp2-20040413>
We will fix the current cvs soon to work w/ older Apache versions. (it's > the fixed source scanner that has picked those new constants from my > httpd-2.0 cvs tree)
It's strange that you had this problem. I've built with 2.0.46 and had no such errors, since we have ifdef:
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .