perl -MAPR::Pool -e "$p=APR::Pool->new;" fails on Win32 with the following 
error: 
The instruction at "0x6eec7c79" referenced memory at "0x00000014". The memory 
could not be "read".


E:\>perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=de
fine
    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 -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUS
TOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_RE
ADFIX',
    optimize='-MD -Zi -DNDEBUG -O1',
    cppflags='-DWIN32'
    ccversion='12.00.8804', 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', lseeksi
ze=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf  -libpath:"E:
\Sites\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  comd
lg32.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:"E:\Sites\Perl\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
                        USE_SITECUSTOMIZE PERL_IMPLICIT_CONTEXT
                        PERL_IMPLICIT_SYS
  Locally applied patches:
        ActivePerl Build 813 [148120]
        Iin_load_module moved for compatibility with build 806
        PerlEx hacks for CGI::Carp
        Less verbose ExtUtils::Install and Pod::Find
        instmodsh upgraded from ExtUtils-MakeMaker-6.25
        24699 ICMP_UNREACHABLE handling in Net::Ping
        21540 Fix backward-compatibility issues in if.pm
  Built under MSWin32
  Compiled at Jun  6 2005 13:36:37
  @INC:
    E:/Sites/Perl/lib
    E:/Sites/Perl/site/lib
    .





And this fails on Cygwin:
perl -MAPR::Pool -e '$p=APR::Pool->new;'

The error is: Segmentation fault (core dumped)

$ /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi
    uname='cygwin_nt-5.0 ananiev 1.5.18(0.13242) 2005-07-02 20:30 i586 unknown u
nknown cygwin '
    config_args='-de -Dusethreads -Doptimize=-O2 -Accflags=-DPIC'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=de
fine
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -DPIC -fno-strict-aliasing -pipe'
,
    optimize='-O2',
    cppflags='-DPERL_USE_SAFE_PUTENV -DPIC -fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd 0.125
)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize
=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -lcrypt -lgdbm_compat
    perllibs=-lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
                        PERL_IMPLICIT_CONTEXT
  Built under cygwin
  Compiled at Jul  6 2005 12:52:05
  %ENV:
    CYGWIN="server"
  @INC:
    /usr/local/lib/perl5/5.8.7/cygwin-thread-multi
    /usr/local/lib/perl5/5.8.7
    /usr/local/lib/perl5/site_perl/5.8.7/cygwin-thread-multi
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl
    .


This is the content of perl.exe.stackdump

Exception: STATUS_ACCESS_VIOLATION at eip=00AFF774
eax=0022ED38 ebx=00000000 ecx=10118810 edx=00000001 esi=00000000 edi=00000000
ebp=0022ED08 esp=0022ECF0 program=E:\cygwin\usr\local\bin\perl.exe, pid 900, 
thread main
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022ED08  00AFF774  (0022ED38, 00000000, 00000000, 00000000)
0022ED48  00AE2046  (10110268, 10192404, 10133BE0, 1013EA88)
0022EDA8  10067833  (10110268, 10110268, 0022EED8, 10005214)
0022EDB8  10060329  (10110268, 00000000, 0022EEB8, 0009CD52)
0022EED8  10005214  (10110268, 00401210, 00000006, 61157678)
0022EF18  004011CD  (00000006, 61157678, 10110090, 77F81F55)
0022EFD8  61004DD2  (0022EFF0, 00000000, 0022F320, 0023285C)
0022FF88  6100594F  (00000000, 00000000, 00000000, 00000000)
End of stack trace

-----------------------------------------------------------------
http://host.gbg.bg/- Малък бизнес Pro хостинг - Идеална комбинация от цена и 
възможности!

Reply via email to