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

[perl #134172] commit 027471cf breaks t/op/sprintf2.t on FreeBSD-11

Thread Next
From:
James E Keenan via RT
Date:
June 5, 2019 12:45
Subject:
[perl #134172] commit 027471cf breaks t/op/sprintf2.t on FreeBSD-11
Message ID:
rt-4.0.24-9378-1559738702-1918.134172-15-0@perl.org
On Wed, 05 Jun 2019 00:37:31 GMT, jkeenan wrote:
> On Tue, 04 Jun 2019 04:15:59 GMT, hv wrote:
> > On Mon, 03 Jun 2019 19:22:56 -0700, jkeenan wrote:
> > > On Tue, 04 Jun 2019 01:15:35 GMT, hv wrote:
> > > > On Mon, 03 Jun 2019 17:14:02 -0700, jkeenan@pobox.com wrote:
> > > > > The following smoke test indicates that a recent change to
> > > > > blead
> > > > > is
> > > > > causing failures in t/op/sprintf2.t on FreeBSD-11.
> > > > [...]
> > > > > op/sprintf2.t (Wstat: 2304 Tests: 1699 Failed: 0)
> > > > >    Non-zero exit status: 9
> > > >
> > > > It's this non-zero exit status that's making it a fail. That's
> > > > reporting that it terminated with a SEGV.
> > >
> > > I haven't used gdb in years, so I'm fumbling around.
> > >
> > > Does this help?
> >
> > Well, it is exactly what I asked for.
> >
> > > #13 0x00000000004f4788 in Perl_vcroak (my_perl=0x801e22000,
> > > pat=0x801f56838 "\030 �\001\b", args=0x7fffffffe680) at util.c:1711
> > > #14 0x00000000004f1b27 in Perl_croak_nocontext (pat=<value
> > > optimized
> > > out> ) at util.c:1745
> > > #15 0x000000000044c57e in Perl_sys_term () at perl.c:146
> > > #16 0x0000000000421472 in main (argc=<value optimized out>,
> > > argv=<value optimized out>, env=0x7fffffffe770)
> > >     at perlmain.c:155
> >
> > We're in sys_term, so most of the interpreter has already been wiped
> > out, but we're then calling croak(), which relies on the
> > interpreter's
> > infrastructure.
> >
> > My best guess is that we're hitting 'Perl_croak_nocontext("panic:
> > MUTEX_UNLOCK (%d) [%s:%d]" ...)' in one of the MUTEX_UNLOCK calls,
> > and
> > some wild writes have corrupted both one of our mutexes and perhaps
> > this panic string.
> >
> > It seems like it'd be hard for it to get this far with that level of
> > corruption though.
> >
> > I'll try harder to reproduce it: I'd need some interactive gdb work
> > to
> > diagnose it.
> >
> > Hugo
> 
> This is now showing up on other OSes.  See:
> http://perl5.test-
> smoke.org/submatrix?test=../t/op/sprintf2.t&pversion=5.31.1

But, to further aggravate us, the FAIL is showing up on our FreeBSD-11 smokers but not our FreeBSD-12 or -13 smoker.

FreeBSD-12.0-RELEASE-p4: http://perl5.test-smoke.org/report/89000 PASS
FreeBSD-13.0-CURRENT   : http://perl5.test-smoke.org/report/88939 PASS
-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=134172

Thread Next


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