Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 523 forks source link

perl@11920 freezes on lib/Math/BigInt/t/bigfltpm test 1056 #4383

Closed p5pRT closed 21 years ago

p5pRT commented 22 years ago

Migrated from rt.perl.org#7643 (status was 'resolved')

Searchable as RT7643$

p5pRT commented 22 years ago

From @brentdax

  C​:\Perl572\perl\win32>dmake   C​:\Perl572\perl\win32>dmake test   ...   ..\lib/Math/BigInt/t/bigfltpm.........ok 1055/1162

On Win32\, dmake test freezes on this test indefinitely. Output from 'perl lib\Math\BigInt\t\bigfltpm.t' doesn't reveal much\, although it does show that several tests before 1056 failed. The most recent one was test 1020​:

  not ok 1020   # Test 1020 got​: '1.0062113803550399197' (lib\Math\BigInt\t\bigfltpm.t at line 136 fail #519)   # Expected​: '1.0062111801179738436'   # Tried​: '$x = new Math​::BigFloat "2";$y = new Math​::BigFloat "1.987654321";$Math​::BigFloat​::div_scale = 20; $x / $y;'

All in all\, these other tests failed​:   696   698   700   702   990   1020

All those tests look like they were minor inaccuracies\, although sometimes they were quite noticeable​:   not ok 696   # Test 696 got​: '29999999' (lib\Math\BigInt\t\bigfltpm.t at line 136 fail #357)   # Expected​: '9999999'   # Tried​: '$x = new Math​::BigFloat "+10000000";$y = new Math​::BigFloat "-1";$x +$y;'

Perl Info ``` Flags: category=install severity=high This perlbug was built using Perl v5.6.1 - Wed Jul 4 15:40:52 2001 It is being executed now by Perl v5.7.2 - Thu Sep 6 14:08:01 2001. Site configuration information for perl v5.7.2: Configured by Administrator at Thu Sep 6 14:08:01 2001. 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=define useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-O1 -MD -Z7 -DDEBUGGING -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_IMPLICI T_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX', optimize='-O1 -MD -Z7 -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 -debugtype:both -pdb:none -libpath:"c:\ perl\5.7.2\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=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 -debugtype:both -pdb:none -libpath:"c:\perl\5.7.2\lib\CORE" -machine:x86' Locally applied patches: ACTIVEPERL_LOCAL_PATCHES_ENTRY @INC for perl v5.7.2: C:/perl572/perl/lib . Environment for perl v5.7.2: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=C:\PROGRA~1\MICROS~2.NET\Common7\IDE;C:\PROGRA~1\MICROS~2.NET\VC7\B IN;C:\PROGRA~1\MICROS~2.NET\Common7\Tools;C:\Program Files\Microsoft.Net\FrameworkSDK\Bin\;C:\WINNT\Microsoft.NET\Framework\v 1.0.2204\;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem ;C:\PROGRA~1\ULTRAE~1;C:\util;C:\Perl\5.7.1\bin\MSWin32-x86-multi-thread ;C:\Program Files\SSH Communications Security\SSH Secure Shell;c:\djgpp\bin; PERL_BADLANG (unset) SHELL (unset) ```
p5pRT commented 21 years ago

From @jhi

I think this got fixed for Perl 5.8.0\, I'm marking the problem ticket as resolved.

p5pRT commented 21 years ago

@jhi - Status changed from 'open' to 'resolved'