texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/texi2any.supp: Add suppression for memory le


From: Gavin D. Smith
Subject: branch master updated: * tp/texi2any.supp: Add suppression for memory leak with switch_to_global_locale.
Date: Sat, 18 Nov 2023 14:34:48 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new b9f2364a10 * tp/texi2any.supp: Add suppression for memory leak with 
switch_to_global_locale.
b9f2364a10 is described below

commit b9f2364a107428d4c13e36a52d459c83930d4873
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Nov 18 19:34:41 2023 +0000

    * tp/texi2any.supp: Add suppression for memory leak with
    switch_to_global_locale.
---
 ChangeLog        |  5 +++++
 tp/texi2any.supp | 26 +++++++++++++++++++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 07a946752b..82b90d9636 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-18  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/texi2any.supp: Add suppression for memory leak with
+       switch_to_global_locale.
+
 2023-11-18  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/XS/main/translations.c (translate_string):
diff --git a/tp/texi2any.supp b/tp/texi2any.supp
index cfd2931a1e..a1e7ae2bcb 100644
--- a/tp/texi2any.supp
+++ b/tp/texi2any.supp
@@ -1,11 +1,31 @@
 # valgrind suppression file for texi2any
 
-# Errors output due to use of setenv in XS module.  Fixed in Perl 5.38.
+# Leak occurs when switch_to_global_locale is called in main/translations.c.
+# Occurs in Perl 5.36.
+{
+   translations/switch_to_global_locale
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:malloc
+   fun:newlocale
+   obj:*/perl
+   fun:Perl_set_numeric_standard
+   fun:Perl_setlocale
+   obj:*/POSIX.so
+   fun:Perl_pp_entersub
+   fun:Perl_runops_standard
+   fun:Perl_call_sv
+   fun:Perl_call_list
+   obj:*/perl
+   fun:Perl_newATTRSUB_x
+}
+
+# Errors output due to use of setenv in XS module.
+# Occurs in Perl 5.36, fixed in Perl 5.38.
 # See <https://github.com/Perl/perl5/issues/19399> and
 # <https://rt.cpan.org/Public/Bug/Display.html?id=140138>.
-
 {
-   before-perl-5.38/A
+   fixed-in-perl/translations/setenv
    Memcheck:Free
    fun:free
    ...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]