Bug 987118 - perl-5.18: File handles modified with binmode ':unix' leak
Summary: perl-5.18: File handles modified with binmode ':unix' leak
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://rt.perl.org:443/rt3/Ticket/Di...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-22 18:10 UTC by Petr Pisar
Modified: 2020-04-25 05:27 UTC (History)
11 users (show)

Fixed In Version: perl-5.30.2-453.fc33 perl-5.30.2-452.fc32 perl-5.30-3120200402102138.a9ea5770 perl-5.28-3120200402140926.a5d38390 perl-5.30-3020200402102138.bba63816 perl-5.28-3020200402140926.eb1b2d95 perl-5.30.2-451.fc31 perl-5.28.2-444.fc30
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-07 05:05:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2013-07-22 18:10:46 UTC
File handle will leak the close() call if has been modified with binmode to ':unix' layer.

[test@fedora-20 tmp]$ cat test
for my $x (1 .. 10000) {
    open my $temp, '>', "/tmp/t" or die "$!";
    binmode $temp, ":unix";
    close $temp;
}
[test@fedora-20 tmp]$ perl ./test 
Too many open files at ./test line 2.

Reported to upstream <https://rt.perl.org:443/rt3/Ticket/Display.html?id=118957>.

Comment 1 Fedora Admin XMLRPC Client 2013-08-12 11:43:53 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora End Of Life 2013-09-16 14:42:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 3 Fedora End Of Life 2015-05-29 09:12:39 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Jan Kurik 2015-07-15 14:46:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 5 Fedora End Of Life 2016-11-24 11:00:17 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2017-02-28 09:34:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 7 Fedora End Of Life 2018-05-03 08:56:25 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Ben Cotton 2018-11-27 15:52:30 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Jitka Plesnikova 2018-11-27 16:14:44 UTC
Still issue in F28

Comment 10 Ben Cotton 2019-05-02 20:15:19 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Petr Pisar 2019-05-03 10:47:34 UTC
5.28.1 is still broken.

Comment 12 Ben Cotton 2019-10-31 19:24:48 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Jitka Plesnikova 2019-11-01 06:57:07 UTC
Still broken in 5.28.2

Comment 14 Petr Pisar 2020-01-28 09:57:48 UTC
A potential fix was committed to the upstream as d55a14617a40beb0dfda90ca2decc55918c0810c.

Comment 15 Fedora Update System 2020-04-03 11:35:31 UTC
FEDORA-2020-3472d53a15 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3472d53a15

Comment 16 Fedora Update System 2020-04-03 11:36:27 UTC
FEDORA-2020-873e8fdbbb has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-873e8fdbbb

Comment 17 Fedora Update System 2020-04-03 11:41:51 UTC
FEDORA-2020-703f700e48 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-703f700e48

Comment 18 Fedora Update System 2020-04-03 12:12:49 UTC
FEDORA-MODULAR-2020-04dce15024 has been submitted as an update to Fedora 32 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-04dce15024

Comment 19 Fedora Update System 2020-04-03 12:13:27 UTC
FEDORA-MODULAR-2020-9db436fe0e has been submitted as an update to Fedora 31 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-9db436fe0e

Comment 20 Fedora Update System 2020-04-03 12:13:50 UTC
FEDORA-MODULAR-2020-b6c633d5fe has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-b6c633d5fe

Comment 21 Fedora Update System 2020-04-03 12:33:47 UTC
FEDORA-MODULAR-2020-45604a8d3d has been submitted as an update to Fedora 32 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-45604a8d3d

Comment 22 Fedora Update System 2020-04-03 12:34:11 UTC
FEDORA-MODULAR-2020-404ee39e9c has been submitted as an update to Fedora 31 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-404ee39e9c

Comment 23 Fedora Update System 2020-04-03 12:34:41 UTC
FEDORA-MODULAR-2020-67f67bad8e has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-67f67bad8e

Comment 24 Fedora Update System 2020-04-04 02:41:11 UTC
FEDORA-2020-873e8fdbbb has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-873e8fdbbb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-873e8fdbbb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2020-04-04 03:57:57 UTC
FEDORA-2020-703f700e48 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-703f700e48`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-703f700e48

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2020-04-04 04:59:57 UTC
FEDORA-MODULAR-2020-b6c633d5fe has been pushed to the Fedora 30 Modular testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-b6c633d5fe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Fedora Update System 2020-04-04 05:00:09 UTC
FEDORA-MODULAR-2020-67f67bad8e has been pushed to the Fedora 30 Modular testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-67f67bad8e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 28 Fedora Update System 2020-04-04 05:14:33 UTC
FEDORA-MODULAR-2020-04dce15024 has been pushed to the Fedora 32 Modular testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-04dce15024

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 29 Fedora Update System 2020-04-04 05:14:41 UTC
FEDORA-MODULAR-2020-45604a8d3d has been pushed to the Fedora 32 Modular testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-45604a8d3d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 30 Fedora Update System 2020-04-04 05:37:12 UTC
FEDORA-MODULAR-2020-9db436fe0e has been pushed to the Fedora 31 Modular testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-9db436fe0e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 31 Fedora Update System 2020-04-04 05:37:21 UTC
FEDORA-MODULAR-2020-404ee39e9c has been pushed to the Fedora 31 Modular testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-404ee39e9c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 32 Fedora Update System 2020-04-04 06:16:58 UTC
FEDORA-2020-3472d53a15 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-3472d53a15`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3472d53a15

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 33 Fedora Update System 2020-04-07 05:05:12 UTC
FEDORA-2020-3472d53a15 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 34 Fedora Update System 2020-04-07 13:16:07 UTC
FEDORA-2020-3472d53a15 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 35 Fedora Update System 2020-04-15 22:21:43 UTC
FEDORA-MODULAR-2020-9db436fe0e has been pushed to the Fedora 31 Modular stable repository.
If problem still persists, please make note of it in this bug report.

Comment 36 Fedora Update System 2020-04-15 22:21:53 UTC
FEDORA-MODULAR-2020-404ee39e9c has been pushed to the Fedora 31 Modular stable repository.
If problem still persists, please make note of it in this bug report.

Comment 37 Fedora Update System 2020-04-15 22:52:30 UTC
FEDORA-MODULAR-2020-b6c633d5fe has been pushed to the Fedora 30 Modular stable repository.
If problem still persists, please make note of it in this bug report.

Comment 38 Fedora Update System 2020-04-15 22:52:39 UTC
FEDORA-MODULAR-2020-67f67bad8e has been pushed to the Fedora 30 Modular stable repository.
If problem still persists, please make note of it in this bug report.

Comment 39 Fedora Update System 2020-04-16 22:39:56 UTC
FEDORA-2020-873e8fdbbb has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 40 Fedora Update System 2020-04-20 22:32:06 UTC
FEDORA-2020-703f700e48 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 41 Fedora Update System 2020-04-25 05:27:35 UTC
FEDORA-MODULAR-2020-04dce15024 has been pushed to the Fedora 32 Modular stable repository.
If problem still persists, please make note of it in this bug report.

Comment 42 Fedora Update System 2020-04-25 05:27:44 UTC
FEDORA-MODULAR-2020-45604a8d3d has been pushed to the Fedora 32 Modular stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.