You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by pascal barbedor <pa...@laposte.net> on 2002/05/12 18:14:57 UTC
[modperl2] XML::LibXML crashes apache
Hi !
with last modperl2 passing almost all test ok on win32, i have a
problem with XML:LibXLML
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
[XML-LibXML 1.40 (from RK ppd) crashes apache 2.0.36 or 2.0.37-dev]
this file (below) run with "perl file" is ok and output ok.
the same one used from startup.pl, or registry script output ok but also crashes apache
immediately after output for 2.0.36, after some seconds for 2.0.37-dev
file:-----------------------------
package Produits;
print "content-type:text/plain\n\n";
use warnings;
use strict;
use Data::Dumper ;
use XML::LibXML();
our %C ;
my $base='c:/path';
%C=(
promod=>XML::LibXML->new->parse_file("$base/promod.xsl")
,);
print Dumper %C ;
1;
-----------------------------------------------------------------------
2. Used Components and their Configuration:
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => c:\ap2036
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** c:\ap2036/bin/Apache.exe -V
Server version: Apache/2.0.36
Server built: May 7 2002 17:17:14
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=' ', lddlflags='-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):
with 2.0.36
unhandled exception in MSCVRT.DLL
MSVCRT! 780011ce()
PERL56! 28071244()
PERL56! 2805c5b1()
PERL56! 2805c577()
PERL56! 2805c577()
PERL56! 2805c870()
PERL56! 2805ba24()
PERL56! 2800c882()
PERL56! 2805c7f3()
PERL56! 2805ba24()
PERL56! 2800c882()
PERL56! 2805b9fd()
PERL56! 2800c882()
PERL56! 2805b9fd()
PERL56! 2800c882()
PERL56! 2805b9fd()
PERL56! 2800c882()
PERL56! 2805c248()
PERL56! 2805d510()
PERL56! 2805d16f()
MOD_PERL! 10001fc3()
MOD_PERL! 10002a32()
MOD_PERL! 10001840()
MOD_PERL! 10001796()
ap_run_post_config(apr_pool_t * 0x0078a1e0, apr_pool_t * 0x007ba510, apr_pool_t * 0x007bc548, server_rec * 0x007a2478) line 130 + 89 bytes
main(int 3, const char * const * 0x007826f0) line 579 + 22 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77e77903()
with 2.0.37-dev
PERL56! 28073f60()
PERL56! 28074f56()
This report was generated by t/report on Sun May 12 15:26:12 2002 GMT.
-------------8<---------- End Bug Report --------------8<----------