-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
When running mp2 under the winnt mpm, calls to MP_RUN_CROAK cause the single child process to recycle, causing an interruption of service while Apache shuts down and restarts the child process. (See http://issues.apache.org/bugzilla/show_bug.cgi?id=36751 to see how this originally came up) 2. Used Components and their Configuration: *** mod_perl version 2.000001 *** using D:\target\perl\site\lib\Apache2\BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_APXS => c:\apache2\bin\apxs.bat MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** The httpd binary was not found *** (apr|apu)-config linking info (apr|apu)-config scripts were not found *** c:\perl\bin\perl.exe -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='13.10.3077', 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='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\perl\lib\CORE" -machine:x86' libpth="C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\lib" 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 ws2_32.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 ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Built under MSWin32 Compiled at Jul 8 2005 12:47:53 %ENV: PERL5LIB="C:\Program Files\ActiveState Perl Dev Kit 6.0\lib\" PERLDB_OPTS="RemotePort=127.0.0.1:2000" PERL_LWP_USE_HTTP_10="1" @INC: C:\Program Files\ActiveState Perl Dev Kit 6.0\lib\ c:/perl/lib c:/perl/site/lib . *** Packages of interest status: Apache2 : - Apache2::Request : - CGI : - ExtUtils::MakeMaker: - LWP : - mod_perl : - mod_perl2 : - 3. This is the core dump trace: (if you get a core dump): > perl58.dll!PerlProcExit(IPerlProc * piPerl=0x00e35210, int status=9) perlhost.h Line 1536 C++ perl58.dll!S_my_exit_jump(interpreter * my_perl=0x0248e6cc) perl.c Line 4892 + 0x27 C perl58.dll!Perl_my_failure_exit(interpreter * my_perl=0x0248e6cc) perl.c Line 4869 + 0x6 C perl58.dll!Perl_vcroak(interpreter * my_perl=0x00000050, const char * pat=0x00000000, char * * args=0x08e7fe08) util.c Line 1219 + 0x6 C perl58.dll!Perl_croak(interpreter * my_perl=0x0248e6cc, const char * pat=0x00000000, ...) util.c Line 1260 + 0xf C mod_perl.so!modperl_croak(interpreter * my_perl=0x0248e6cc, int rc=620018, const char * func=0x00f6726c) modperl_error.c Line 93 + 0xb C mod_perl.so!PerlIOApache_flush(interpreter * my_perl=0x0248e6cc, _PerlIO * * f=0x025562c4) modperl_io_apache.c Line 174 + 0x2c C perl58.dll!Perl_PerlIO_flush(interpreter * my_perl=0x0248e6cc, _PerlIO * * f=0x025562c4) perlio.c Line 1605 + 0x6 C mod_perl.so!modperl_io_perlio_restore_stdout(interpreter * my_perl=0x0248e6cc, gv * handle=0x093a7488) modperl_io.c Line 245 + 0x167 C mod_perl.so!modperl_response_handler_cgi(request_rec * r=0x09106ed0) mod_perl.c Line 1081 + 0xd C libhttpd.dll!ap_run_handler(request_rec * r=0x09106ed0) config.h Line 153 + 0x25 C libhttpd.dll!ap_invoke_handler(request_rec * r=0x09106ed0) config.c Line 368 C libhttpd.dll!ap_process_request(request_rec * r=0x09106ed0) http_request.c Line 253 C libhttpd.dll!ap_process_http_connection(conn_rec * c=0x090ee1d8) http_core.c Line 251 + 0x6 C libhttpd.dll!ap_run_process_connection(conn_rec * c=0x090ee1d8) connection.c Line 43 + 0x25 C libhttpd.dll!ap_process_connection(conn_rec * c=0x090ee1d8, void * csd=0x090ee108) connection.c Line 176 + 0x6 C libhttpd.dll!worker_main(void * thread_num_val=0x090ee1d0) child.c Line 733 C MSVCR71.dll!7d00220b() kernel32.dll!7c80b50b() kernel32.dll!7c8399f3() This report was generated by d:\target\perl\bin/mp2bug on Wed Sep 28 10:44:59 2005 GMT. -------------8<---------- End Bug Report --------------8<----------