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

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

Thread Previous | Thread Next
From:
Hugo van der Sanden via RT
Date:
June 5, 2019 14:22
Subject:
[perl #134172] commit 027471cf breaks t/op/sprintf2.t on FreeBSD-11
Message ID:
rt-4.0.24-16845-1559744530-750.134172-15-0@perl.org
On Wed, 05 Jun 2019 06:32:12 -0700, jkeenan wrote:
> I'm not sure whether you wanted *me* to run the above commands prior
> to hearing from someone about mutexes

I had not expected it would work, but since it did let's go with it. :) (For me that just gives 'No symbol "PL_locale_mutex" in current context'.)

> here's what I got:
> 
> #####
> [perl] $ gdb --args ./perl -e 'my $x = sprintf("%7000000000E", 0)'
[...]
> Watchpoint 2: PL_locale_mutex
> 
> Old value = 0x0
> New value = 0x801e1c1e0
> 0x0000000800c6caec in __pthread_mutex_init (mutex=0xa45b28,
> mutex_attr=<value optimized out>) at pthread_md.h:94

That's slightly odd, the intent of the tbreak was to get past the initialize (which the stack trace shows is invoked from perlmain.c:119). Never mind, please get to this point again, then continue with:

(gdb) cont

.. and let's see where it stops next, and get another stack trace.

Hugo

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

Thread Previous | 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