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

Re: perl-5.37.5 breaks texinfo-7.0

Thread Previous | Thread Next
November 13, 2022 09:07
Re: perl-5.37.5 breaks texinfo-7.0
Message ID:
On Sun, 13 Nov 2022 at 02:22, Uwe Düffert <> wrote:
> Dear Karl / perl5-porters,
> remember July? I did have a problem with perl-5.37.1 and perl-5.37.2 not
> being able to compile texinfo-6.8 and it took quite a few iterations to
> get that fixed...
> While with perl-5.37.4 it was still possible to build texinfo-7.0, that
> fails with perl-5.37.5 - in a very similar way as in July:
> The perl command from texinfo-7.0 doc build as in
> has memory access issues again:
> Let me know if I shall try or provide anything, e.g. in case you have
> trouble reproducing that.

When you run valgrind and things like that you should set PERL_DESTRUCT_LEVEL.

B<NOTE 2>: To minimize the number of memory leak false alarms (see
L</PERL_DESTRUCT_LEVEL> for more information), you have to set the
environment variable PERL_DESTRUCT_LEVEL to 2.  For example, like this:

    env PERL_DESTRUCT_LEVEL=2 valgrind ./perl -Ilib ...

Looking at your valgrind output it looks to me like you ran it with a
normal destruct level, so it deliberately does not bother freeing
certain data structures at tear down.


perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About