Perl / perl5

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

Not OK: perl v5.7.0 +DEVEL7414 on i586-linux-64all-ld 2.2.16 (UNINSTALLED) #2752

Closed p5pRT closed 22 years ago

p5pRT commented 24 years ago

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

Searchable as RT4502$

p5pRT commented 24 years ago

From @nwc10

Bug and meta-Bug report. Bug report is that this devel perl fails tests in lib/peek.t\, notably​:

$ ./perl t/lib/peek.t 1..17 ok 1 ok 2 ok 3 ok 4 ok 5 [SV = NV(0x8115c80) at 0x8129a4c   REFCNT = 1   FLAGS = (PADTMP\,NOK\,pNOK)   NV = -4.94660802946209209e+173 ] vs [SV = NV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(PADTMP\,NOK\,pNOK\)   NV = 456] not ok 6 [SV = PVNV(0x813adb8) at 0x810644c   REFCNT = 1   FLAGS = (NOK\,pNOK)   IV = 0   NV = -5.41598767187353829e+25   PV = 0x810d140 "789"\0   CUR = 3   LEN = 4 ] vs [SV = PVNV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(NOK\,pNOK\)   IV = 0   NV = 789\.1   PV = 0x[[​:xdigit​:]]+ "789"\\0   CUR = 3   LEN = 4] not ok 7 ok 8 ok 9 ok 10 [SV = RV(0x8139410) at 0x8141734   REFCNT = 1   FLAGS = (ROK)   RV = 0x814171c   SV = PVAV(0x813db04) at 0x814171c   REFCNT = 2   FLAGS = ()   IV = 0   NV = 0   ARRAY = 0x8111718   FILL = 1   MAX = 1   ARYLEN = 0x0   FLAGS = (REAL)   Elt No. 0   SV = IV(0x8110dec) at 0x8141674   REFCNT = 1   FLAGS = (IOK\,pIOK)   IV = 123   Elt No. 1   SV = PVNV(0x813adf8) at 0x810ea58   REFCNT = 1   FLAGS = (IOK\,NOK\,pIOK\,pNOK)   IV = 456   NV = -4.94660802946209209e+173   PV = 0 ] vs [SV = RV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(ROK\)   RV = 0x[[​:xdigit​:]]+   SV = PVAV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 2   FLAGS = \(\)   IV = 0   NV = 0   ARRAY = 0x[[​:xdigit​:]]+   FILL = 1   MAX = 1   ARYLEN = 0x0   FLAGS = \(REAL\)   Elt No. 0   SV = IV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(IOK\,pIOK\)   IV = 123   Elt No. 1   SV = PVNV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(IOK\,NOK\,pIOK\,pNOK\)   IV = 456   NV = 456   PV = 0] not ok 11 [SV = RV(0x8139410) at 0x810ea58   REFCNT = 1   FLAGS = (ROK)   RV = 0x814171c   SV = PVHV(0x8113e50) at 0x814171c   REFCNT = 2   FLAGS = (SHAREKEYS)   IV = 1   NV = 0   ARRAY = 0x810d170 (0​:7\, 1​:1)   hash quality = -0.0%   KEYS = 1   FILL = 1   MAX = 7   RITER = -1   EITER = 0x0   Elt "123" HASH = 0xddce   SV = PVNV(0x813adf8) at 0x8141674   REFCNT = 1   FLAGS = (IOK\,NOK\,pIOK\,pNOK)   IV = 456   NV = -4.94660802946209209e+173   PV = 0 ] vs [SV = RV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(ROK\)   RV = 0x[[​:xdigit​:]]+   SV = PVHV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 2   FLAGS = \(SHAREKEYS\)   IV = 1   NV = 0   ARRAY = 0x[[​:xdigit​:]]+ \(0​:7\, 1​:1\)   hash quality = 150.0%   KEYS = 1   FILL = 1   MAX = 7   RITER = -1   EITER = 0x0   Elt "123" HASH = 0x[[​:xdigit​:]]+   SV = PVNV\(0x[[​:xdigit​:]]+\) at 0x[[​:xdigit​:]]+   REFCNT = 1   FLAGS = \(IOK\,NOK\,pIOK\,pNOK\)   IV = 456   NV = 456   PV = 0] not ok 12 ok 13 ok 14 ok 15 ok 16 ok 17

Meta-bug report is that I'm confused. On this machine (very boring x86 clone) I can build 18 variations of perl without even touching threading or binary compatibility​:

stdio/PerIO atop stdio/PerlIO atop sfio cross normal ints/64 bit ints/64 bit max cross doubles/long doubles

Would it be possible to set up some sort of autobuilder to exercise all the permutations?

The reason I ask is that I'm not quite sure which out of 64 bit ints\, 64 bit max\, long doubles or sfio is triggering the above problem. I've now got 6 builds of the same development perl to try and make the matrix of pass/fail to try to work where the failure is. And I feel no nearer. Hence bug report rather than patch.

Nicholas Clark

Perl Info ``` Flags: category=install severity=none Site configuration information for perl v5.7.0: Configured by nick at Tue Oct 24 12:32:11 BST 2000. Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration: Platform: osname=linux, osvers=2.2.16, archname=i586-linux-64all-ld uname='linux fruitbat 2.2.16 #6 tue aug 1 12:35:02 bst 2000 i586 unknown ' config_args='' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=define uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=define Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='2.95.2 20000220 (Debian GNU/Linux)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lsfio -lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil perllibs=-lsfio -lnsl -ldl -lm -lc -lposix -lcrypt -lutil libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: DEVEL7414 @INC for perl v5.7.0: lib /usr/local/lib/perl5/5.7.0/i586-linux-64all-ld /usr/local/lib/perl5/5.7.0 /usr/local/lib/perl5/site_perl/5.7.0/i586-linux-64all-ld /usr/local/lib/perl5/site_perl/5.7.0 /usr/local/lib/perl5/site_perl . Environment for perl v5.7.0: HOME=/home/nick LANG=C LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games PERL_BADLANG (unset) SHELL=/bin/sh ```
p5pRT commented 22 years ago

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

p5pRT commented 22 years ago

From @jhi

Call me callous but I'm closing off some Not OKs from 5.7.0 and 5.7.1.

p5pRT commented 22 years ago

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