develooper Front page | perl.perl5.porters | Postings from November 1999

[ID 19991110.007] Perl 5.005_62 and Win32::OLE 0.1101

Thread Next
From:
Paul Moore
Date:
November 10, 1999 13:45
Subject:
[ID 19991110.007] Perl 5.005_62 and Win32::OLE 0.1101
Message ID:
LPBBIIMJKJMPNOGHGLLCCEAPCAAA.gustav@morpheus.demon.co.uk
This is a bug report for perl from gustav@morpheus.demon.co.uk,
generated with the help of perlbug 1.27 running under perl 5.00562.


-----------------------------------------------------------------
[Please enter your report here]

Building Win32::OLE 0.1101 with Perl 5.005_62 (NT4SP5, VC6SP3) I
get an Application Error in t/3_ole.t (code referening memory at
0x0000001c).

The test uses Excel, and I have Excel 2000 installed, so there
may be a version issue, but I have put trace print statements
into the code, and it looks like the problem occurs sometime
while Win32::OLE::Const is being *loaded*, but before the import
subroutine is run.

The only nontrivial code I can see which is run when the module is
required, is my $Typelibs = __PACKAGE__->_Typelibs();

I put a croak() at the start of the _Typelibs() code, and the
crash still occurred (ie, it occurred before the croak).

I now don't know what is likely to be the problem...

Some other notes:

1. PERL_INTERNAL_GLOB requires my Win32 patches. Otherwise,
   MakeMaker breaks - it generates TEST_FILES = t*.t, which
   presumably came from t\*.t with the \ "quoting" the *.

2. My initial build had Sarathy's STOP block patch and my
   File::Glob patch included. Taking these out made no difference.
   (beyond the fact that nmake test failed to work, as I
   mentioned above).

3. I rebuilt with USE_BINMODE_SCRIPTS removed. That made no
   difference...


[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00562:

Configured by Administrator at Tue Nov  9 22:00:15 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags ='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT  -DPERL_INTERNAL_GLOB -DUSE_BINMODE_SCRIPTS'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release  -libpath:"E:\Applications\DevPerl\lib\MSWin32-x86\CORE"  -machine:x86'
    libpth=D:\VisualStudio\VC98\lib
    libs=-DELAYLOAD:wsock32.dll delayimp.lib E:\CDs\General\Libraries\Lib\MD\libdes.lib  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 PerlCRT.lib
    libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ',
ddlflags='-dll -nologo -nodefaultlib -release  -libpath:"E:\Applications\DevPerl\lib\MSWin32-x86\CORE"  -machine:x86'

Locally applied patches:


---
@INC for perl 5.00562:
    E:/Applications/DevPerl/lib/MSWin32-x86
    E:/Applications/DevPerl/lib
    E:/Applications/DevPerl/site/lib/MSWin32-x86
    E:/Applications/DevPerl/site/lib
    .

---
Environment for perl 5.00562:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=D:\WINNT\system32;D:\WINNT;D:\NTRESKIT;D:\VisualStudio\Common\Tools\WinNT;D:\VisualStudio\Common\MSDev98\Bin;D:\VisualStudio\Co
mmon\Tools;D:\VisualStudio\VC98\bin;D:\UTILS;E:\Applications\DevPerl\bin;E:\Applications\DevPerl\bin\MSWin32-x86;E:\Oracle\Ora81\bin
;D:\Program Files\Oracle\jre\1.1.7\bin
    PERL_BADLANG (unset)
    SHELL (unset)


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About