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

[perl #24443] perlcc crashes on one-line input, simple call to split func

From:
Rob Retter
Date:
November 7, 2003 22:08
Subject:
[perl #24443] perlcc crashes on one-line input, simple call to split func
Message ID:
rt-24443-67241.5.37326806257248@rt.perl.org
# New Ticket Created by  Rob Retter 
# Please include the string:  [perl #24443]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24443 >


This is a bug report for perl from rretter@san.rr.com,
generated with the help of perlbug 1.34 running under perl v5.8.0.


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

Running the perlcc "compiler" under Win200Pro with this command line:

    perlcc scriptfile.pl

on the following one-line Perl script intended to create a list of all
the dirs in the user's PATH:

    @path_dirs = split /;/, $ENV{"PATH"};

a Windows dialog box appears with "perl.exe - Application Error" in
the title bar, and:

    The instruction at "0x10003f14" referenced memory at "0x00000021".
    The memory could not be "read".

while the following appears in the Command Prompt window:

    c:\perl\bin/perlcc.bat: showmacros.pl did not compile, which can't happen:
    Starting compile
     Walking tree




[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
     category=utilities
     severity=low
---
Site configuration information for perl v5.8.0:

Configured by ActiveState at Mon Mar 31 00:45:28 2003.

Summary of my perl5 (revision 5 version 8 subversion 0) 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=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='', 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\VC98\LIB" "C:\Program 
Files\Microsoft Visual Studio\VC98\MFC\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=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'

Locally applied patches:
     ACTIVEPERL_LOCAL_PATCHES_ENTRY

---
@INC for perl v5.8.0:
     c:/Perl/lib
     c:/Perl/site/lib
     .

---
Environment for perl v5.8.0:
     HOME (unset)
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\Program 
Files\Microsoft Visual Studio\Common\msdev98\bin;C:\Program Files\Microsoft 
Visual Studio\VC98\bin;C:\Program Files\Microsoft Visual 
Studio\Common\Tools\WINNT;C:\Program Files\Microsoft Visual 
Studio\Common\Tools;C:\Utils;C:\Utils\cygwin\Bin;C:\Apps\ADS101\BIN;c:\program 
files\scramp;C:\apps\utf\bin;c:\perl\bin;c:\program 
files\vim\vim62;C:\Program Files\Perforce;c:\apps\ads120\bin;C:\Program 
Files\STI\bin\pc-win95;C:\Program Files\Stride\bin;C:\Program 
Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft 
Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual 
Studio\Common\Tools;C:\Program Files\Microsoft Visual 
Studio\VC98\bin;o:\dmss\smart\nt\bin;o:\dmss\SMART\NT\Perl\bin;o:\pvcs\dmss52\nt
     PERL_BADLANG (unset)
     SHELL (unset) 




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