develooper Front page | perl.perl5.porters | Postings from November 2022

Re: perl-5.37.5 breaks texinfo-7.0

Thread Previous | Thread Next
From:
Karl Williamson
Date:
November 20, 2022 04:21
Subject:
Re: perl-5.37.5 breaks texinfo-7.0
Message ID:
a9ee92bd-0868-493f-1476-15984bae9379@khwilliamson.com
On 11/13/22 12:50, Dave Mitchell wrote:
> On Sun, Nov 13, 2022 at 08:39:33PM +0100, Uwe Düffert wrote:
>> Full configure line used now is in
>> https://uwe-dueffert.de/code/perl5.37.5/texinfo-7.0_doc_problem.sh
>>
>> And produces this updated valgrind output:
>> https://uwe-dueffert.de/code/perl5.37.5/texinfo-7.0_valgrind.log
> 
> Thanks.
> 
> So, threaded, non-optimised build.
> 
> Within Perl_switch_to_global_locale(), the memory is being allocated by
> 
>      for (unsigned i = 0; i < NOMINAL_LC_ALL_INDEX; i++) {
>          curlocales[i] = querylocale_i(i);
>      }
> 
> and freed  20 lines down in
> 
>      for (unsigned int i = 0; i < NOMINAL_LC_ALL_INDEX; i++) {
>          Safefree(curlocales[i]);
>      }
> 
> And presumably being added to the save stack somewhere in-between.
> 
> Karl?
> 

THank you uwe for reporting this. 
2d0710deb09d8141e10a6e3a8d21f3d7f02f1523 should fix it.  (But I've been 
wrong before, and recently enough that I haven't forgotten)

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