develooper Front page | perl.perl5.porters | Postings from August 2001

perl@11710 win32 t/op/fork.t core dump

From:
Blair Zajac
Date:
August 17, 2001 15:50
Subject:
perl@11710 win32 t/op/fork.t core dump
Message ID:
3B7D6701.8D052A5C@orcaware.com
The previous exit bugs are gone (thanks), but op/fork.t still core
dumps at av.c line 478.  Here's a callstack

Perl_av_push(interpreter * 0x01b8f00c, av * 0xabababab, sv * 0x01b81e60)
line 478 + 3 bytes
Perl_call_list(interpreter * 0x01b8f00c, long 5, av * 0x01b81e30) line
3884 + 23 bytes
Perl_newATTRSUB(interpreter * 0x01b8f00c, long 173, op * 0x01bade7c, op
* 0x00000000, op * 0x00000000, op * 0x01badeb0) line 4947 + 26 bytes
Perl_utilize(interpreter * 0x01b8f00c, int 1, long 173, op * 0x00000000,
op * 0x01b84d1c, op * 0x01bae068) line 3307 + 173 bytes
Perl_yyparse(interpreter * 0x01b8f00c) line 414 + 44 bytes
S_doeval(interpreter * 0x01b8f00c, int 0, op * * 0x00000000) line 2908 +
9 bytes
Perl_pp_require(interpreter * 0x01b8f00c) line 3377 + 72 bytes
Perl_runops_debug(interpreter * 0x01b8f00c) line 53 + 13 bytes
win32_start_child(void * 0x01b8f00c) line 1711 + 13 bytes
KERNEL32! 77e8758a()


D:\Blair\OrcaBlue\Perl\perl@11710\t>.\perl -w harness op\fork.t
op\fork....ok 7/18PROG:
$| = 1;
$\ = "\n";
fork()
 ? do { require Config; print($Config::Config{osname} eq $^O); }
 : do { require Config; print($Config::Config{osname} eq $^O); }
EXPECTED:
1
1
GOT:
1
op\fork....FAILED test 8
        Failed 1/18 tests, 94.44% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
op\fork.t                 18    1   5.56%  8
Failed 1/1 test scripts, 0.00% okay. 1/18 subtests failed, 94.44% okay.




D:\Blair\OrcaBlue\Perl\perl@11710>.\perl -V
Summary of my perl5 (revision 5 undef) 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=def
ine
    useperlio=define d_sfio=undef uselargefiles=undef 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_CONSOL
E -DNO_STRICT   -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_
MSVCRT_READFIX',
    optimize='-Od -MD -Zi -DDEBUGGING',
    cppflags='-DWIN32'
    ccversion='undef', gccversion='', gccosandvers='undef'
    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, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -debug -pdb:none 
-libpath:"c:\pe
rl11710\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 wsoc
k32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    perllibs=undef
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl57.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-pdb:none  -lib
path:"c:\perl11710\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
PERL_IMPLICIT_CONTEX
T PERL_IMPLICIT_SYS
  Locally applied patches:
        DEVEL11709
  Built under MSWin32
  Compiled at Aug 17 2001 09:59:01
  @INC:
    D:/Blair/OrcaBlue/Perl/perl@11710/lib
    .



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