Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/locale.t: panic on FreeBSD-11 #16974

Closed
p5pRT opened this issue Apr 21, 2019 · 9 comments
Closed

lib/locale.t: panic on FreeBSD-11 #16974

p5pRT opened this issue Apr 21, 2019 · 9 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 21, 2019

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

Searchable as RT134054$

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2019

From @jkeenan

Running 'make test_harness' on FreeBSD-11 at commit
c509e2c (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​: c509e2c
  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

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2019

From @jkeenan

On Sun, 21 Apr 2019 22​:30​:31 GMT, jkeenan@​pobox.com wrote​:

Running 'make test_harness' on FreeBSD-11 at commit
c509e2c (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.

Confirmed in a smoke testing rig.

http​://perl5.test-smoke.org/report/85736

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2019

From [Unknown Contact. See original ticket]

On Sun, 21 Apr 2019 22​:30​:31 GMT, jkeenan@​pobox.com wrote​:

Running 'make test_harness' on FreeBSD-11 at commit
c509e2c (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.

Confirmed in a smoke testing rig.

http​://perl5.test-smoke.org/report/85736

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Apr 23, 2019

From @khwilliamson

On 4/21/19 5​:37 PM, James E Keenan via RT wrote​:

On Sun, 21 Apr 2019 22​:30​:31 GMT, jkeenan@​pobox.com wrote​:

Running 'make test_harness' on FreeBSD-11 at commit
c509e2c (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.

Confirmed in a smoke testing rig.

http​://perl5.test-smoke.org/report/85736

I am working on this.

@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2019

From @jkeenan

On Tue, 23 Apr 2019 17​:48​:50 GMT, public@​khwilliamson.com wrote​:

On 4/21/19 5​:37 PM, James E Keenan via RT wrote​:

On Sun, 21 Apr 2019 22​:30​:31 GMT, jkeenan@​pobox.com wrote​:

Running 'make test_harness' on FreeBSD-11 at commit
c509e2c (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.

Confirmed in a smoke testing rig.

http​://perl5.test-smoke.org/report/85736

I am working on this.

We're getting failures in lib/locale.t on other OSes besides FreeBSD-11.2. See, e.g.​:

http​://perl5.test-smoke.org/report/85874 : NetBSD-8.0

http​://perl5.test-smoke.org/report/85896 : NetBSD-7.2

Thank you very much.
--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2019

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Apr 25, 2019

From @jkeenan

On Wed, 24 Apr 2019 14​:01​:05 GMT, jkeenan wrote​:

On Tue, 23 Apr 2019 17​:48​:50 GMT, public@​khwilliamson.com wrote​:

On 4/21/19 5​:37 PM, James E Keenan via RT wrote​:

On Sun, 21 Apr 2019 22​:30​:31 GMT, jkeenan@​pobox.com wrote​:

Running 'make test_harness' on FreeBSD-11 at commit
c509e2c (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.

Confirmed in a smoke testing rig.

http​://perl5.test-smoke.org/report/85736

I am working on this.

We're getting failures in lib/locale.t on other OSes besides FreeBSD-
11.2. See, e.g.​:

http​://perl5.test-smoke.org/report/85874 : NetBSD-8.0

http​://perl5.test-smoke.org/report/85896 : NetBSD-7.2

Thank you very much.

Karl has addressed this issue in commit http​://perl5.git.perl.org/perl.git/commit/2008bed3f47cb4874f5c8378866c0c87c2ceb2dc.

The panics in lib/locale.t on FreeBSD-11 are not present in my most recent smoke test​:
http​://perl5.test-smoke.org/report/86002

I'm taking this ticket for the purpose of closing it once we get smoke test reports from other OSes, e.g., NetBSD.

Thank you very much.
--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented May 1, 2019

From @jkeenan

This was the smoke-test report I was waiting for​:

http​://perl5.test-smoke.org/report/86481

NetBSD-8.0 built with gcc; no FAIL in lib/locale.t.

Resolving ticket. Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented May 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants