Package: release.debian.org Severity: normal Tags: stretch User: release.debian....@packages.debian.org Usertags: pu
libipc-run-perl 0.94-1 has a memory leak that causes some code at $work to use all of the RAM on the machine. We would like to fix it in jessie using the patch accepted upstream and released into sid and buster. We have tested the patches internally and they resolve our issue. -- bye, pabs https://wiki.debian.org/PaulWise
diff -Nru libipc-run-perl-0.94/debian/changelog libipc-run-perl-0.94/debian/changelog --- libipc-run-perl-0.94/debian/changelog 2015-05-10 23:05:50.000000000 +0800 +++ libipc-run-perl-0.94/debian/changelog 2018-04-17 16:24:46.000000000 +0800 @@ -1,3 +1,9 @@ +libipc-run-perl (0.94-1+deb9u1) stretch; urgency=medium + + * Backport upstream patch to fix memory leak + + -- Paul Wise <p...@debian.org> Tue, 17 Apr 2018 16:24:46 +0800 + libipc-run-perl (0.94-1) unstable; urgency=low [ Salvatore Bonaccorso ] diff -Nru libipc-run-perl-0.94/debian/patches/0001-Another-Bugfix-for-memory-leak-rt.cpan.org-57990-86.patch libipc-run-perl-0.94/debian/patches/0001-Another-Bugfix-for-memory-leak-rt.cpan.org-57990-86.patch --- libipc-run-perl-0.94/debian/patches/0001-Another-Bugfix-for-memory-leak-rt.cpan.org-57990-86.patch 1970-01-01 08:00:00.000000000 +0800 +++ libipc-run-perl-0.94/debian/patches/0001-Another-Bugfix-for-memory-leak-rt.cpan.org-57990-86.patch 2018-04-17 16:24:10.000000000 +0800 @@ -0,0 +1,31 @@ +From 5cd3a5b21bd00dbb2e54e58fec6b0349bf457bb0 Mon Sep 17 00:00:00 2001 +From: Konrad Bucheli <k...@open.ch> +Date: Tue, 27 Mar 2018 11:22:58 +0200 +Subject: [PATCH] Another Bugfix for memory leak [rt.cpan.org #57990] #86 +Origin: https://github.com/kbucheli/IPC-Run/commit/d706e65d0e5dab055d9b6c8d070330fdc7b1a883 +Bug: https://github.com/toddr/IPC-Run/issues/86 + +--- + lib/IPC/Run.pm | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/lib/IPC/Run.pm b/lib/IPC/Run.pm +index 2436bc5..61cdb5f 100644 +--- a/lib/IPC/Run.pm ++++ b/lib/IPC/Run.pm +@@ -1135,6 +1135,12 @@ sub DESTROY { + my IPC::Run $self = shift; + POSIX::close $self->{DEBUG_FD} if defined $self->{DEBUG_FD}; + $self->{DEBUG_FD} = undef; ++ ++ for my $kid ( @{$self->{KIDS}} ) { ++ for my $op ( @{$kid->{OPS}} ) { ++ delete $op->{FILTERS}; ++ } ++ } + } + + ## +-- +2.17.0 + diff -Nru libipc-run-perl-0.94/debian/patches/series libipc-run-perl-0.94/debian/patches/series --- libipc-run-perl-0.94/debian/patches/series 2015-05-10 23:05:50.000000000 +0800 +++ libipc-run-perl-0.94/debian/patches/series 2018-04-17 16:24:20.000000000 +0800 @@ -1 +1,2 @@ hashbang.patch +0001-Another-Bugfix-for-memory-leak-rt.cpan.org-57990-86.patch
signature.asc
Description: This is a digitally signed message part