Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 984250

Summary: ksh leaks memory when nested `` is used.
Product: Red Hat Enterprise Linux 6 Reporter: Tetsuo Handa <penguin-kernel>
Component: kshAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: penguin-kernel
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-22 13:46:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tetsuo Handa 2013-07-14 00:31:04 UTC
Description of problem:

Running below command continues eating memory.

$ ksh -c 'while :; do echo -n `true \`true\``; done'

Version-Release number of selected component (if applicable):
ksh-20100621-19.el6_4.4

How reproducible:
Always.

Steps to Reproduce:
1. Install ksh and run commands with nested ``. 

  $ ksh -c 'while :; do echo -n `true \`true\``; done'

Actual results:
top command reports that ksh continues eating memory.

Expected results:
top command reports that ksh does not continue eating memory.

Additional info:
RHEL 6.4's ksh-20100621-19.el6_4.4 has this bug.
Fedora 19's ksh-20120801-8.fc19 does not have this bug.

Comment 2 Michal Hlavinka 2013-07-22 13:46:42 UTC
covered by fix for reproducer at bug #921455 comment #5

*** This bug has been marked as a duplicate of bug 921455 ***

Comment 3 Tetsuo Handa 2013-07-22 22:57:27 UTC
Bug 921455 is not visible. Can I expect that this bug will be fixed in RHEL6?

Comment 4 Michal Hlavinka 2013-07-23 07:24:14 UTC
(In reply to Tetsuo Handa from comment #3)
> Bug 921455 is not visible. Can I expect that this bug will be fixed in RHEL6?

99% yes