Front page | perl.perl5.porters |
Postings from May 2004
ext/threads/t/problems.t crashes in 5.8.4
From:
Jan Dubois
Date:
May 20, 2004 08:44
Subject:
ext/threads/t/problems.t crashes in 5.8.4
Message ID:
200405201543.i4KFhkaI006942@smtp3.ActiveState.com
This happens only on a single Windows 2000 (SP4) machine here, and only while
running as part of the full harness. When I run the test manually, it passes,
just as the full test passes on the other Windows 2000 machines.
The stack trace looks like this (transscribed from a screenshot, but hopefully
without errors):
S_hfreeentries
Perl_hv_undef
Perl_sv_clear
Perl_sv_free
do_clean_all
S_visit
Perl_sv_clean_all
perl_destruct
RunPerl
main
The error occurs during the assignment
entry = array[0];
I cannot access the array variable in the debugger because the optimizer has
put it into a register, but hv itself is 0 at that time. So it looks like a
race condition because S_hfreeentries explicitly guards against this. Any
ideas how this could be happening?
Cheers,
-Jan
Summary of my perl5 (revision 5 version 8 subversion 4) 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 -DNO_HASH_SEED -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:\builds\build-20040519T212352-bbkofvuant\ActivePerl\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 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:\builds\build-20040519T212352-bbkofvuant\ActivePerl\Perl\lib\CORE"
-machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 810
22751 Update to Test.pm 1.25
21540 Fix backward-compatibility issues in if.pm
Built under MSWin32
Compiled at May 19 2004 21:37:06
%ENV:
PERLDB_OPTS="RemotePort=127.0.0.1:2000"
@INC:
C:/builds/build-20040519T212352-bbkofvuant/perl/lib
.
-
ext/threads/t/problems.t crashes in 5.8.4
by Jan Dubois