Skip Menu |

This queue is for tickets about the B-Utils CPAN distribution.

Report information
The Basics
Id: 50657
Status: open
Priority: 0/
Queue: B-Utils

Owner: Nobody in particular
Requestors: spam-bitcard [...]
KENTNL [...]

Bug Information
Severity: Important
Broken in:
  • 0.06
  • 0.07
  • 0.08
  • 0.11
Fixed in: (no value)

Subject: Roughy 55% of the "parent" tests fail (on OpenBSD, multithreded 5.10 perl builds)
Download (untitled) / with headers
text/plain 422b
Many (but not all) of B::Utils "parent" tests fail on OpenBSD 3.9, both perl 5.10.0 and perl 5.10.1 (multithreaded build). I've attached the output of $ make TEST_FILES=t/utils/30parent.t TEST_VERBOSE=1 test I've tried building B::Utils 0.06, 0.07, and 0.08 with the same results. $ uname -a; perl -v OpenBSD 3.9 GENERIC#617 i386 This is perl, v5.10.1 (*) built for OpenBSD.i386-openbsd-thread-multi
Subject: BUtil08Test30.txt.gz
Download BUtil08Test30.txt.gz
application/x-gzip 1.7k

Message body not shown because it is not plain text.

The same problem still appears on OpenBSD 4.7 under Perl 5.12.2 non-threaded, in 0.11

On 2010-09-18 00:52:21, KENTNL wrote:
Show quoted text
> The same problem still appears on OpenBSD 4.7 under Perl 5.12.2 non-
> threaded,
> in 0.11

Test output , perl -V

Download (untitled) / with headers
text/plain 506b
On Fri Sep 17 08:57:13 2010, KENTNL wrote: Show quoted text
> On 2010-09-18 00:52:21, KENTNL wrote:
> > The same problem still appears on OpenBSD 4.7 under Perl 5.12.2 non- > > threaded, > > in 0.11
> > > > Test output , perl -V
This is pretty consistently failing for NetBSD and OpenBSD. I've requested shell accounts from some hosting providers. I'll fix this if I get access to a machine that will reproduce this failure. As is, I'm just in the dark about what's going on.
CC: KENTNL [...]
Subject: Re: [ #50657] Roughy 55% of the "parent" tests fail (on OpenBSD, multithreded 5.10 perl builds)
Date: Mon, 24 Jan 2011 14:04:39 -0800
To: bug-B-Utils [...]
From: Yary Hluchan <yary [...]>
Download (untitled) / with headers
text/plain 282b
I cna provide a shell account on an Open BSD host that is failing. Have to warn you that the OS is about 5 yrs old and git is broken on there! But it will let you see what is happening. Give me contact info and a desired userid. -y ~~~~~ The Moon is Waning Gibbous (70% of Full)
Download (untitled) / with headers
text/plain 2.6k
Still failing on OpenBSD 5.0 i386 with perl 5.12.2. See attached cpanm build.log. perl -V: Summary of my perl5 (revision 5 version 12 subversion 2) configuration: Platform: osname=openbsd, osvers=5.0, archname=i386-openbsd uname='openbsd' config_args='-dsE -Dopenbsd_distribution=defined -Dmksymlinks' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -fno-delete-null-pointer- checks -pipe -fstack-protector -I/usr/local/include', optimize='-O2', cppflags='-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.1 20070719 ', gccosandvers='openbsd5.0' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -fstack-protector' libpth=/usr/lib libs=-lm -lutil -lc perllibs=-lm -lutil -lc libc=/usr/lib/libc.a, so=so, useshrplib=true, gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,- R/usr/libdata/perl5/i386-openbsd/5.12.2/CORE' cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC -fstack- protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Locally applied patches: CVE-2010-0405 Updated CGI to 3.51 Updated Test::Simple to 0.98 Updated List::Util to 1.23 CVE-2011-1487 uncommitted-changes Built under openbsd %ENV: PERL5LIB="/home/zakame/perl5/lib/perl5/i386- openbsd:/home/zakame/perl5/lib/perl5" PERL_LOCAL_LIB_ROOT="/home/zakame/perl5" PERL_MB_OPT="--install_base /home/zakame/perl5" PERL_MM_OPT="INSTALL_BASE=/home/zakame/perl5" @INC: /home/zakame/perl5/lib/perl5/i386-openbsd /home/zakame/perl5/lib/perl5/i386-openbsd /home/zakame/perl5/lib/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl /usr/libdata/perl5/i386-openbsd/5.12.2 /usr/local/libdata/perl5/i386-openbsd/5.12.2 /usr/libdata/perl5 /usr/local/libdata/perl5 .
Subject: build.log
Download build.log
application/octet-stream 1.1k

Message body not shown because it is not plain text.

Subject: Re: [ #50657] Roughy 55% of the "parent" tests fail (on OpenBSD, multithreded 5.10 perl builds)
Date: Sun, 11 Mar 2012 18:50:50 -0700
To: bug-B-Utils [...]
From: Joshua ben Jore <twists [...]>
Download (untitled) / with headers
text/plain 3.1k
If anyone from OpenBSD-land is interested in fixing this, I can certainly hand some PAUSE upload privileges to you. On Sun, Mar 11, 2012 at 8:04 AM, Zak B. Elep via RT <> wrote: Show quoted text
>       Queue: B-Utils >  Ticket <URL: > > > Still failing on OpenBSD 5.0 i386 with perl 5.12.2.  See attached cpanm > build.log. > > perl -V: > > Summary of my perl5 (revision 5 version 12 subversion 2) configuration: > >  Platform: >    osname=openbsd, osvers=5.0, archname=i386-openbsd >    uname='openbsd' >    config_args='-dsE -Dopenbsd_distribution=defined -Dmksymlinks' >    hint=recommended, useposix=true, d_sigaction=define >    useithreads=undef, usemultiplicity=undef >    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef >    use64bitint=undef, use64bitall=undef, uselongdouble=undef >    usemymalloc=n, bincompat5005=undef >  Compiler: >    cc='cc', ccflags ='-fno-strict-aliasing -fno-delete-null-pointer- > checks -pipe -fstack-protector -I/usr/local/include', >    optimize='-O2', >    cppflags='-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe > -fstack-protector -I/usr/local/include' >    ccversion='', gccversion='4.2.1 20070719 ', > gccosandvers='openbsd5.0' >    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 >    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 >    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 >    alignbytes=4, prototype=define >  Linker and Libraries: >    ld='cc', ldflags ='-Wl,-E  -fstack-protector' >    libpth=/usr/lib >    libs=-lm -lutil -lc >    perllibs=-lm -lutil -lc >    libc=/usr/lib/libc.a, so=so, useshrplib=true, > >    gnulibc_version='' >  Dynamic Linking: >    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,- > R/usr/libdata/perl5/i386-openbsd/5.12.2/CORE' >    cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC  -fstack- > protector' > > > Characteristics of this binary (from libperl): >  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP >                        USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF >  Locally applied patches: >        CVE-2010-0405 >        Updated CGI to 3.51 >        Updated Test::Simple to 0.98 >        Updated List::Util to 1.23 >        CVE-2011-1487 >        uncommitted-changes >  Built under openbsd >  %ENV: >    PERL5LIB="/home/zakame/perl5/lib/perl5/i386- > openbsd:/home/zakame/perl5/lib/perl5" >    PERL_LOCAL_LIB_ROOT="/home/zakame/perl5" >    PERL_MB_OPT="--install_base /home/zakame/perl5" >    PERL_MM_OPT="INSTALL_BASE=/home/zakame/perl5" >  @INC: >    /home/zakame/perl5/lib/perl5/i386-openbsd >    /home/zakame/perl5/lib/perl5/i386-openbsd >    /home/zakame/perl5/lib/perl5 >    /usr/local/libdata/perl5/site_perl/i386-openbsd >    /usr/libdata/perl5/site_perl/i386-openbsd >    /usr/local/libdata/perl5/site_perl >    /usr/libdata/perl5/site_perl >    /usr/libdata/perl5/i386-openbsd/5.12.2 >    /usr/local/libdata/perl5/i386-openbsd/5.12.2 >    /usr/libdata/perl5 >    /usr/local/libdata/perl5 >    . >
Maybe you should apply pull request ? It appears this issue is reproducible for me on demand using a linux's perbrewed 5.26 with the "perl -V" output appended at this end of this email. You may reproduce it locally by installing perl as I did, i.e.: perlbrew install perl-5.26 -DEBUGGING=both -Dusethreads The B::Concise output (obtained by uncommenting lines at the top of t/utils/30parent.t - glad you wrote those lines!) is showing that the issue is very probably related to negative numbers when searching for parent: main::test_data: 1q leavesub-UNOP=(0x80616c58) K/REFC,1 ->(end) - lineseq-LISTOP=(0x805f9078) KP ->1q 1 nextstate-COP=(0x805f909c) (main -5690 30parent.t:10) v ->2 - null-UNOP=(0x805f90d4) vK/1 ->9 5 and-LOGOP=(0x805f90f4) (other->6) vK/1 ->9 4 entersub-UNOP=(0x805f9118) sKS/TARG ->5 - ex-list-UNOP=(0x8057dc80) sK ->4 2 pushmark-OP=(0x805f9138) s ->3 - ex-rv2cv-UNOP=(0x805f9154) sK/1 ->- 3 gv-PADOP=(0x8057dca8) [*AA] s/EARLYCV ->4 8 entersub-UNOP=(0x8057dcc8) vKS/TARG ->9 - ex-list-UNOP=(0x8057dce8) K ->8 6 pushmark-OP=(0x8057dd2c) s ->7 - ex-rv2cv-UNOP=(0x8057dd0c) sK/1 ->- 7 gv-PADOP=(0x8057dd4c) [*BB] s/EARLYCV ->8 9 nextstate-COP=(0x8060c860) (main -5690 30parent.t:11) v ->a m leaveloop-BINOP=(0x8060c898) vK/2 ->n f enteriter-LOOP=(0x8060c940) (next->j last->m redo->g) vK/DEF ->k - ex-pushmark-OP=(0x8060c970) s ->a - ex-list-UNOP=(0x8060c9cc) lKM ->e a pushmark-OP=(0x8060c9b0) sM ->b d entersub-UNOP=(0x8060ca10) lKMS/LVINTRO,TARG,INARGS ->e - ex-list-UNOP=(0x805f8f88) lK ->d b pushmark-OP=(0x8060ca30) s ->c - ex-rv2cv-UNOP=(0x8060ca4c) sK/1 ->- c gv-PADOP=(0x805f8fb4) [*CC] s/EARLYCV ->d e gv-PADOP=(0x8060c9f0) [*_] s ->f - null-UNOP=(0x8060c8bc) vK/1 ->m l and-LOGOP=(0x8060c8dc) (other->g) vK/1 ->m k iter-OP=(0x8060c98c) s ->l - lineseq-LISTOP=(0x8060c900) vK ->- i entersub-UNOP=(0x805f8fd4) vKS/TARG ->j - ex-list-UNOP=(0x805f8ff4) K ->i g pushmark-OP=(0x805f9038) s ->h - ex-rv2cv-UNOP=(0x805f9018) sK/1 ->- h gv-PADOP=(0x805f9058) [*DD] s/EARLYCV ->i j unstack-OP=(0x8060c924) v ->k n nextstate-COP=(0x8060c7c0) (main -5690 30parent.t:12) v ->o q sassign-BINOP=(0x8060c7f8) vKS/2 ->r o const-SVOP=(0x8060c81c) [IV 10] s ->p p padsv-OP=(0x8060c83c) sRM*/LVINTRO ->q r nextstate-COP=(0x806170b0) (main -5689 30parent.t:13) v ->s 14 leave-LISTOP=(0x806170e8) vK* ->15 s enter-OP=(0x8061710c) v ->t - null-UNOP=(0x80617128) vKP/1 ->14 z and-LOGOP=(0x80617148) (other->10) vK/1 ->14 y lt-BINOP=(0x806171ac) sK/2 ->z v entersub-UNOP=(0x8061720c) sKS/TARG ->w - ex-list-UNOP=(0x8060c680) sK ->v t pushmark-OP=(0x8060c6d8) s ->u - ex-rv2cv-UNOP=(0x8060c6b8) sK/1 ->- u gv-PADOP=(0x8060c6f8) [*EE] s/EARLYCV ->v x predec-UNOP=(0x806171d0) sK/1 ->y w padsv-OP=(0x806171f0) sRM ->x - lineseq-LISTOP=(0x8061716c) vK ->- 12 entersub-UNOP=(0x8060c718) vKS/TARG ->13 - ex-list-UNOP=(0x8060c738) K ->12 10 pushmark-OP=(0x8060c77c) s ->11 - ex-rv2cv-UNOP=(0x8060c75c) sK/1 ->- 11 gv-PADOP=(0x8060c79c) [*FF] s/EARLYCV ->12 13 unstack-OP=(0x80617190) v ->t 15 nextstate-COP=(0x80616e4c) (main -5689 30parent.t:14) v ->16 16 padsv-OP=(0x8061708c) vM/LVINTRO ->17 17 unstack-OP=(0x80616ea8) v* ->18 1g leaveloop-BINOP=(0x80616ec4) vK/2 ->1h 18 enterloop-LOOP=(0x80616ee8) (next->1b last->1g redo->19) v ->1e - null-UNOP=(0x80616f18) vK/1 ->1g 1f and-LOGOP=(0x80616f38) (other->19) vK/1 ->1g 1e padsv-OP=(0x80617070) s ->1f - lineseq-LISTOP=(0x80616f5c) vK ->- - scope-LISTOP=(0x80616f9c) vK ->1b - ex-nextstate-COP=(0x80616fc0) (main -5686 30parent.t:15) v ->19 1a preinc-UNOP=(0x80616ff8) vK/1 ->1b 19 padsv-OP=(0x80617018) sRM ->1a 1c preinc-UNOP=(0x80617034) vK/1 ->1d 1b padsv-OP=(0x80617054) sRM ->1c 1d unstack-OP=(0x80616f80) v ->1e 1h nextstate-COP=(0x80616c7c) (main -5684 30parent.t:18) v ->1i 1p leaveloop-BINOP=(0x80616cb4) K/2 ->1q 1l enteriter-LOOP=(0x80616d5c) (next->1m last->1p redo->1m) K/DEF ->1n - ex-pushmark-OP=(0x80616d8c) s ->1i - ex-list-UNOP=(0x80616de8) lKM ->1k 1i pushmark-OP=(0x80616dcc) sM ->1j 1j const-SVOP=(0x80616e2c) [IV 0] sM ->1k 1k gv-PADOP=(0x80616e0c) [*_] s ->1l - null-UNOP=(0x80616cd8) K/1 ->1p 1o and-LOGOP=(0x80616cf8) (other->1m) K/1 ->1p 1n iter-OP=(0x80616da8) s ->1o - lineseq-LISTOP=(0x80616d1c) sK ->- - ex-const-OP=(0x80616e84) v ->1m 1m unstack-OP=(0x80616d40) s ->1n All in all, using, B::Utils tests passes for me. --- perl -V Summary of my perl5 (revision 5 version 26 subversion 0) configuration: Platform: osname=linux osvers=4.9.0-1-686-pae archname=i686-linux-thread-multi uname='linux jddwww 4.9.0-1-686-pae #1 smp debian 4.9.6-3 (2017-01-28) i686 gnulinux ' config_args='-de -Dprefix=/home/jdurand/perl5/perlbrew/perls/perl-5.26.0 -DEBUGGING=both -Dusethreads -Aeval:scriptdir=/home/jdurand/perl5/perlbrew/perls/perl-5.26.0/bin' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' optimize='-O2 -g' cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='6.3.0 20170516' gccosandvers='' intsize=4 longsize=4 ptrsize=4 doublesize=8 byteorder=1234 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=12 longdblkind=3 ivtype='long' ivsize=4 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=4 prototype=define Linker and Libraries: ld='cc' ldflags =' -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/i686-linux-gnu/6/include-fixed /usr/include/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib/../lib /usr/lib/i386-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64 libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc so=so useshrplib=false libperl=libperl.a gnulibc_version='2.24' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-E' cccdlflags='-fPIC' lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_TRACK_MEMPOOL USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: Devel::PatchPerl 1.46 Built under linux Compiled at Aug 1 2017 10:04:57 %ENV: PERLBREW_BASHRC_VERSION="0.78" PERLBREW_HOME="/home/jdurand/.perlbrew" PERLBREW_MANPATH="/home/jdurand/perl5/perlbrew/perls/perl-5.26.0/man" PERLBREW_PATH="/home/jdurand/perl5/perlbrew/bin:/home/jdurand/perl5/perlbrew/perls/perl-5.26.0/bin" PERLBREW_PERL="perl-5.26.0" PERLBREW_ROOT="/home/jdurand/perl5/perlbrew" PERLBREW_VERSION="0.78" @INC: /home/jdurand/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/i686-linux-thread-multi /home/jdurand/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0 /home/jdurand/perl5/perlbrew/perls/perl-5.26.0/lib/5.26.0/i686-linux-thread-multi /home/jdurand/perl5/perlbrew/perls/perl-5.26.0/lib/5.26.0

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to