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

Re: perl-5.37.5 breaks texinfo-7.0

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
November 13, 2022 19:50
Subject:
Re: perl-5.37.5 breaks texinfo-7.0
Message ID:
Y3FKfgK8XhSwD0b/@iabyn.com
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?

-- 
"Procrastination grows to fill the available time"
    -- Mitchell's corollary to Parkinson's Law

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