develooper Front page | perl.perl5.porters | Postings from April 2019

[perl #134054] lib/locale.t: panic on FreeBSD-11

Thread Previous
From:
James E Keenan
Date:
April 21, 2019 22:30
Subject:
[perl #134054] lib/locale.t: panic on FreeBSD-11
Message ID:
rt-4.0.24-21120-1555885831-274.134054-75-0@perl.org
# New Ticket Created by  James E Keenan 
# Please include the string:  [perl #134054]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134054 >


Running 'make test_harness' on FreeBSD-11 at commit 
c509e2cacd1c085bb340266aac9708a5c3a950b6 (Sun Apr 21), I got a panic in 
lib/locale.t.

####
$ cd t;./perl harness ../lib/locale.t;cd -
../lib/locale.t .. 1/? panic: numeric.c: 40: Trying to change LC_NUMERIC 
incompatibly at ../lib/locale.t line 2008.
../lib/locale.t .. Dubious, test returned 9 (wstat 2304, 0x900)
All 389 subtests passed

Test Summary Report
-------------------
../lib/locale.t (Wstat: 2304 Tests: 389 Failed: 0)
   Non-zero exit status: 9
   Parse errors: No plan found in TAP output
Files=1, Tests=389,  0 wallclock secs ( 0.04 usr  0.00 sys +  0.18 cusr 
0.04 csys =  0.26 CPU)
Result: FAIL
####

I test blead frequently on this machine.  It is not a VM, so there 
should be no memory constraint.  This panic is probably from a very 
recent commit.

$ ./perl -Ilib -V |cat
Summary of my perl5 (revision 5 version 29 subversion 10) configuration:
   Commit id: c509e2cacd1c085bb340266aac9708a5c3a950b6
   Platform:
     osname=freebsd
     osvers=11.2-stable
     archname=amd64-freebsd-thread-multi
     uname='freebsd perlmonger.nycbug.org 11.2-stable freebsd 
11.2-stable #0 r339445: sat oct 20 00:08:11 utc 2018 
root@perlmonger.nycbug.org:usrobjusrsrcsysgeneric amd64 '
     config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe 
-fstack-protector -fno-strict-aliasing'
     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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_FORTIFY_SOURCE=2'
     optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing'
     cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
     ccversion=''
     gccversion='4.2.1 Compatible FreeBSD Clang 6.0.1 
(tags/RELEASE_601/final 335540)'
     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 ='-pthread -Wl,-E  -fstack-protector-strong -L/usr/local/lib'
     libpth=/usr/lib /usr/local/lib /usr/lib/clang/6.0.1/lib /usr/lib
     libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil
     perllibs=-lpthread -ldl -lm -lcrypt -lutil
     libc=
     so=so
     useshrplib=false
     libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs
     dlext=so
     d_dlsymun=undef
     ccdlflags=' '
     cccdlflags='-DPIC -fPIC'
     lddlflags='-shared  -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl):
   Compile-time options:
     HAS_TIMES
     MULTIPLICITY
     PERLIO_LAYERS
     PERL_COPY_ON_WRITE
     PERL_DONT_CREATE_GVSV
     PERL_IMPLICIT_CONTEXT
     PERL_MALLOC_WRAP
     PERL_OP_PARENT
     PERL_PRESERVE_IVUV
     PERL_USE_DEVEL
     USE_64_BIT_ALL
     USE_64_BIT_INT
     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
   Built under freebsd
   Compiled at Apr 21 2019 22:12:00
   %ENV:
     PERL2DIR="/home/jkeenan/gitwork/perl2"
     PERL_WORKDIR="/home/jkeenan/gitwork/perl"
   @INC:
     lib
     /usr/local/lib/perl5/site_perl/5.29.10/amd64-freebsd-thread-multi
     /usr/local/lib/perl5/site_perl/5.29.10
     /usr/local/lib/perl5/5.29.10/amd64-freebsd-thread-multi
     /usr/local/lib/perl5/5.29.10


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About