# New Ticket Created by Sergey Aleynikov # Please include the string: [perl #134228] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=134228 > This is a bug report for perl from sergey.aleynikov@gmail.com, generated with the help of perlbug 1.41 running under perl 5.31.2. ----------------------------------------------------------------- [Please describe your issue here] While running ../dist/threads/t/free2.t with env PERLIO=stdio set, i sometimes (around 10% of total runs) get a test failure. It seems to not happen without PERLIO set, though with such bugs you're never sure. ../dist/threads/t/free2.t .. 1..78 ok 1 - Loaded ok 2 - Thread 2 started ok 3 - Thread 3 started ok 4 - Thread 4 started ok 5 - Thread 5 started ok 6 - Thread 6 started ok 7 - Thread 7 started ok 8 - Thread 8 started ok 9 - Thread 9 started ok 10 - Thread 10 started ok 11 - Thread 11 started ok 12 - Thread 12 started ok 13 - Thread 13 started ok 14 - Thread 14 started ok 15 - Thread 15 started ok 16 - Thread 16 started ok 17 - Thread 17 started ok 18 - Thread 18 started ok 19 - Thread 18 signalling 2 ok 20 - Thread 2 received signal from 18 ok 21 - Thread 2 signalling 3 ok 22 - Thread 2 signalling 7 ok 23 - Thread 2 signalling 11 ok 24 - Thread 2 signalling 15 ok 25 - Thread 7 received signal from 2 ok 26 - Thread 7 signalling 9 ok 27 - Thread 3 received signal from 2 ok 28 - Thread 3 signalling 5 ok 29 - Thread 3 done ok 30 - Thread 11 received signal from 2 ok 31 - Thread 11 signalling 13 ok 32 - Thread 2 done ok 33 - Thread 15 received signal from 2 ok 34 - Thread 7 done ok 35 - Thread 5 received signal from 3 ok 36 - Thread 11 done ok 37 - Thread 13 received signal from 11 ok 38 - Thread 9 received signal from 7 ok 39 - Thread 15 signalling 17 ok 40 - Thread 15 done ok 41 - Thread 17 received signal from 15 ok 42 - Thread 5 signalling 4 ok 43 - Thread 5 done ok 44 - Thread 4 received signal from 5 ok 45 - Thread 13 signalling 14 ok 46 - Thread 13 done ok 47 - Thread 14 received signal from 13 ok 48 - Thread 9 signalling 8 ok 49 - Thread 9 done ok 50 - Thread 8 received signal from 9 ok 51 - Thread 4 signalling 6 ok 52 - Thread 14 signalling 12 ok 53 - Thread 12 received signal from 14 ok 54 - Thread 17 signalling 18 ok 55 - Thread 17 done ok 56 - Thread 18 received signal from 17 ok 57 - Thread 6 received signal from 4 ok 58 - Thread 8 signalling 10 ok 59 - Thread 8 getting return from thread 9 ok 60 - Thread 12 done ok 61 - Thread 18 signalling 16 ok 62 - Thread 18 getting return from thread 15 Failed 16/78 subtests Test Summary Report ------------------- ../dist/threads/t/free2.t (Wstat: 13 Tests: 62 Failed: 0) Non-zero wait status: 13 Parse errors: Bad plan. You planned 78 tests but ran 62. Files=1, Tests=62, 2 wallclock secs ( 0.01 usr 0.01 sys + 0.12 cusr 0.07 csys = 0.21 CPU) Result: FAIL [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=core severity=medium --- Site configuration information for perl 5.31.2: Configured by dur-randir at Thu Jun 27 08:46:43 MSK 2019. Summary of my perl5 (revision 5 version 31 subversion 2) configuration: Commit id: 1bed9104d475eb126ab7d1df518bb894f66e1fab Platform: osname=darwin osvers=18.6.0 archname=darwin-thread-multi-2level uname='darwin m-mojave.local 18.6.0 darwin kernel version 18.6.0: thu apr 25 23:16:27 pdt 2019; root:xnu-4903.261.4~2release_x86_64 x86_64 ' config_args='-de -Dusedevel -Duseithreads -Accflags=-DPERL_POISON' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -DPERL_POISON -fno-strict-aliasing -pipe -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV' optimize='-O3' cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -DPERL_POISON -fno-strict-aliasing -pipe -fstack-protector-strong -I/opt/local/include' ccversion='' gccversion='4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags =' -mmacosx-version-min=10.14 -fstack-protector-strong -L/opt/local/lib' libpth=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib /opt/local/lib /usr/lib libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-lpthread -ldl -lm -lutil -lc libc= so=dylib useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=bundle d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags=' -mmacosx-version-min=10.14 -bundle -undefined dynamic_lookup -L/opt/local/lib -fstack-protector-strong' --- @INC for perl 5.31.2: lib /usr/local/lib/perl5/site_perl/5.31.2/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.31.2 /usr/local/lib/perl5/5.31.2/darwin-thread-multi-2level /usr/local/lib/perl5/5.31.2 --- Environment for perl 5.31.2: DYLD_LIBRARY_PATH (unset) HOME=/Users/dur-randir LANG=en_US.UTF-8 LANGUAGE (unset) LC_CTYPE=en_US.UTF-8 LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/Users/dur-randir/perlbrew/bin:/Users/dur-randir/perlbrew/perls/perl-blead/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin PERLBREW_HOME=/Users/dur-randir/.perlbrew PERLBREW_MANPATH=/Users/dur-randir/perlbrew/perls/perl-blead/man PERLBREW_PATH=/Users/dur-randir/perlbrew/bin:/Users/dur-randir/perlbrew/perls/perl-blead/bin PERLBREW_PERL=perl-blead PERLBREW_ROOT=/Users/dur-randir/perlbrew PERLBREW_SHELLRC_VERSION=0.86 PERLBREW_VERSION=0.86 PERL_BADLANG (unset) SHELL=/opt/local/bin/zsh