Re: Pb with Win32 Installation
On Thu, 2 May 2002, Jean-Marc Paulin wrote: Hi there, I have downloaded the CSV Image file modperl-2.0_20020502042105.tar.gz and tried to compile it for Apache 2.0.35. The build is ok (or looks good anyway) but Apache dies during the nmake test. [ .. ] apache\cgihandlerok apache\compatok apache\compat2...ok apache\conftree..FAILED before any test output arrived As you're using the cvs mod_perl sources, it's probably a good idea to also use the Apache cvs sources, to keep in sync with changes. The above problem with apache\conftree doesn't occur for me with the current cvs apache-2.0.37-dev. best regards, randy kobes Hi I have the same problem : contree test fails and apache segfaults, even with the latest cvs. apache 2.0.37-dev modperl 1.99_02-dev win2k perl 561 see below the report log. pascal barbedor -8-- Start Bug Report 8-- 1. Problem Description: nmake is ok nmake test fails at conftree test : apache.exe segfaults note : i cannot build modperl2 debug on win2k the DEBUG options fails 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX= c:/back MP_GENERATE_XS = 1 MP_INST_APACHE2 = 1 MP_LIBNAME = mod_perl MP_USE_DSO = 1 *** c:/back/bin/Apache.exe -V Server version: Apache/2.0.37-dev Server built: May 6 2002 09:39:35 Server's Module Magic Number: 20020329:1 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/winnt -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/apache -D SUEXEC_BIN=/apache/bin/suexec -D DEFAULT_ERRORLOG=logs/error.log -D SERVER_CONFIG_FILE=conf/httpd.conf *** C:\Perl\bin\perl.exe -V Summary of my perl5 (revision 5 version 6 subversion 1) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX', optimize='-O1 -MD -DNDEBUG', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags '-nologo -nodefaultlib -release -libpath:C:\Perl\lib\CORE -machine:x86' libpth=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib C:\Program Files\Microsoft Visual Studio\VC98\lib C:\Perl\lib\CORE libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', ddlflags='-dll -nologo -nodefaultlib -release -libpath:C:\Perl\lib\CORE -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 631 Built under MSWin32 Compiled at Jan 2 2002 17:16:22 %ENV: PERL_LWP_USE_HTTP_10=1 @INC: C:/Perl/lib C:/Perl/site/lib . 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 Mon May 6 07:58:08 2002 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 [EMAIL PROTECTED]
Re: Pb with Win32 Installation
On Mon, 6 May 2002, pascal barbedor wrote: I have the same problem : contree test fails and apache segfaults, even with the latest cvs. apache 2.0.37-dev modperl 1.99_02-dev win2k perl 561 That's wierd - I have the same set-up, except using WinXP, and this test passes ... What happens if you remove t/conf/httpd.conf (so as to regenerate it) before running the tests - are things any different? best regards, randy
Re: Pb with Win32 Installation
- Original Message - From: Randy Kobes [EMAIL PROTECTED] To: pascal barbedor [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 4:03 PM Subject: Re: Pb with Win32 Installation On Mon, 6 May 2002, pascal barbedor wrote: I have the same problem : contree test fails and apache segfaults, even with the latest cvs. apache 2.0.37-dev modperl 1.99_02-dev win2k perl 561 That's wierd - I have the same set-up, except using WinXP, and this test passes ... What happens if you remove t/conf/httpd.conf (so as to regenerate it) before running the tests - are things any different? best regards, randy alas no. things are the same. error message is memory cant be read from perl56.dll here is a complete report of first test in each directory that fails and produces segfault (with perl t/test dirtest) : dirtest=api: api/access :ok api/aplog : apache segfault dirtest=apr apr/base34 :ok apr/constants : ok apr/date apache segfault dirtest=apache apache/cgihandler : ok apache/compat: ok apache/compat2:ok apache/conftree : apache segfault dirtest=directive directive/env failed 1-3, 4 ok directive/prelmodule : ok directive/perlrequire : ok directive/setupenv : apache segfault dirtest=filter all tests succesfull dirtest=hooks hooks/access : ok hooks/authen : ok 2/4 and 3 segfault dirtest=modperl modperl/dirconfig : failed tests 6-12 failed 7/12 tests (this reminds me my previous post about dir_config not working) and apache segfaults dirtest=protocol protocol/echo ok protocol/filter ok protocol/eliza skipped dirtest=module modules/cgi ok 2/5 and apache segfaults... it would be good if there was a possibility to build modperl2 debug on win32... personnaly I would love to be able to report bugs with complete source backtrace and all that stuff required to make it funny to track bugs ! best regards pascal
Re: Pb with Win32 Installation
On Mon, 6 May 2002, pascal barbedor wrote: error message is memory cant be read from perl56.dll here is a complete report of first test in each directory that fails and produces segfault (with perl t/test dirtest) : dirtest=api: api/access :ok api/aplog : apache segfault dirtest=apr apr/base34 :ok apr/constants : ok apr/date apache segfault [ ...] For those that segfault, does running them individually: perl -Mblib t/TEST t/apache/conftree.t etc. also segfault? best regards, randy
Re: Pb with Win32 Installation
For those that segfault, does running them individually: perl -Mblib t/TEST t/apache/conftree.t etc. also segfault? best regards, randy also running tests with perl t\test -start-httpd perl -Mblib t\test t/apache/conftree.t perl -Mblib t\test t/apache/compat2.t segfaults at compat2 perl t\test -start-httpd perl -Mblib t\test t/apache/conftree.t perl -Mblib t\test t/apache/compat.t segfaults at compat perl t\test -start-httpd perl -Mblib t\test t/apache/write.t perl -Mblib t\test t/apache/compat.t perl -Mblib t\test t/apache/compat2.t perl -Mblib t\test t/apache/conftree.t segfault at conftree perl t\test -start-httpd perl -Mblib t\test t/apache/compat.t perl -Mblib t\test t/apache/conftree.t perl -Mblib t\test t/apache/compat2.t segfault at compat2 perl t\test -start-httpd perl -Mblib t\test t/apache/compat2.t perl -Mblib t\test t/apache/conftree.t segfault at conftree if this is of any help... best regards pascal
Pb with Win32 Installation
Hi there, I have downloaded the CSV Image file modperl-2.0_20020502042105.tar.gz and tried to compile it for Apache 2.0.35. The build is ok (or looks good anyway) but Apache dies during the nmake test. Any ideas ? I do not mind trying to debug this, but I have no idea where to start Any hint ? thanks a lot JM === stdout D:\Perl\ModuleSetup\mod_perl\modperl-2.0nmake test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. cd src/modules/perl nmake Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. D:\Perl\bin\perl.exe -Iblib\arch -Iblib\lib t/TEST -clean D:\Perl\bin\perl.exe -Iblib\arch -Iblib\lib t/TEST *** : cannot build c-modules without apxs D:\Progra~1\Apache~1\Apache2/bin/Apache.exe -d D:/Perl/ModuleSetup/mod_perl/modperl-2.0/t -f D:/Perl/ModuleSetup/mod_perl/modperl-2 .0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS using Apache/2.0.35 (winnt MPM) waiting for server to start: 00:00[Thu May 02 22:12:24 2002] [info] 12 Apache:: modules loaded [Thu May 02 22:12:24 2002] [info] 5 APR:: modules loaded [Thu May 02 22:12:24 2002] [info] base server + 6 vhosts ready to run tests [Thu May 02 22:12:24 2002] [info] 11 Apache:: modules loaded [Thu May 02 22:12:24 2002] [info] 5 APR:: modules loaded [Thu May 02 22:12:24 2002] [info] base server + 6 vhosts ready to run tests waiting for server to start: 00:01END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 waiting for server to start: ok (waited 2 secs) server fox:8529 started server fox:8530 listening (TestDirective::perlmodule) server fox:8531 listening (TestDirective::perlrequire) server fox:8532 listening (TestProtocol::echo) server fox:8533 listening (TestProtocol::echo_filter) server fox:8534 listening (TestProtocol::eliza) server fox:8535 listening (TestFilter::input_msg) apache\cgihandlerok apache\compatok apache\compat2...ok apache\conftree..FAILED before any test output arrived apache\constants.ok apache\post..dubious Test returned status 58 (wstat 14848, 0x3a00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay apache\read..*** : halting tests NMAKE : fatal error U1058: terminated by user Stop. Error.gif Description: GIF image
Re: Pb with Win32 Installation
On Thu, 2 May 2002, Jean-Marc Paulin wrote: Hi there, I have downloaded the CSV Image file modperl-2.0_20020502042105.tar.gz and tried to compile it for Apache 2.0.35. The build is ok (or looks good anyway) but Apache dies during the nmake test. [ .. ] apache\cgihandlerok apache\compatok apache\compat2...ok apache\conftree..FAILED before any test output arrived apache\constants.ok As you're using the cvs mod_perl sources, it's probably a good idea to also use the Apache cvs sources, to keep in sync with changes. The above problem with apache\conftree doesn't occur for me with the current cvs apache-2.0.37-dev. best regards, randy kobes