perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wichitill <ma...@gmx.de>
Subject [mp2] t\apache\content_length_header access violation
Date Thu, 02 Dec 2004 18:27:37 GMT
When I run the full test suite of mod_perl 1.99_18-SVN on WinXP, while 
t\apache\content_length_header.t is executing, Windows pops up one of its 
access violation dialogs that lets me start the debugger. All tests incl. 
content_length_header continue to run ok in the background though, and only 
start failing when I click OK to dismiss the dialog, or stop when I click 
Cancel to open the debugger.

t\apache\content_length_header.t or the tests around it don't cause an 
access violation when executed alone. There's nothing in the log either, so 
I can't pinpoint the crash location any better.

The following data is from my debug installation, which I just updated to 
Perl 5.8.6, but the same happens with my non-debug development installation 
with ActivePerl 5.8.4.810, which also crashes when normally started.


modperl_interp_unselect(void * 0x01a30f28) line 285 + 20 bytes
run_cleanups(cleanup_t * * 0x00a8f338) line 1951 + 13 bytes
apr_pool_destroy(apr_pool_t * 0x00a8f328) line 730 + 12 bytes
apr_pool_clear(apr_pool_t * 0x00a89280) line 690 + 12 bytes
mpm_recycle_completion_context(CompContext * 0x00a163e8) line 82
winnt_get_connection(CompContext * 0x00a163e8) line 648
worker_main(long 17) line 703 + 9 bytes
_threadstartex(void * 0x0028db18) line 227 + 13 bytes
KERNEL32! 7c80b50b()


     if (interp->request) {
         /* ithreads + a threaded mpm + PerlInterpScope handler */
         request_rec *r = interp->request;
->      MP_dRCFG;
         modperl_config_request_cleanup(interp->perl, r);
         MpReqCLEANUP_REGISTERED_Off(rcfg);
     }


*** mod_perl version 1.9918

*** using C:\Dev\debug\modperl-2.0\lib\Apache\BuildConfig.pm

*** Makefile.PL options:
   MP_APR_LIB     => aprext
   MP_AP_PREFIX   => C:\dev\debug\apache2
   MP_COMPAT_1X   =>
   MP_DEBUG       => 1
   MP_GENERATE_XS => 1
   MP_LIBNAME     => mod_perl
   MP_TRACE       => 1
   MP_USE_DSO     => 1

*** C:\dev\debug\apache2\bin\Apache.EXE -V
Server version: Apache/2.0.52
Server built:   Nov 25 2004 16:36:30
Server's Module Magic Number: 20020903:9
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_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_ERRORLOG="logs/error.log"
  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
  -D SERVER_CONFIG_FILE="conf/httpd.conf"

*** (apr|apu)-config linking info

    /libpath:"C:\dev\debug\apache2\lib" libapr.lib
    /libpath:"C:\dev\debug\apache2\lib" libaprutil.lib

*** c:\dev\debug\perl\bin\perl.exe -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
   Platform:
     osname=MSWin32, osvers=4.0, 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 -Od -MD -Zi -DDEBUGGING -DWIN32 
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
     optimize='-Od -MD -Zi -DDEBUGGING',
     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='__int64', 
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='link', ldflags ='-nologo -nodefaultlib -debug 
-libpath:"c:\dev\debug\perl\lib\CORE"  -machine:x86'
     libpth=\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 
-libpath:"c:\dev\debug\perl\lib\CORE"  -machine:x86'

Characteristics of this binary (from libperl):
   Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
   Built under MSWin32
   Compiled at Dec  2 2004 16:40:43
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     c:/Dev/debug/perl/lib
     c:/Dev/debug/perl/site/lib
     .

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message