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 1138751 - shell hangs if setting variable from command that produces more than 120k and is piped
Summary: shell hangs if setting variable from command that produces more than 120k and...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ksh
Version: 6.5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: Martin Kyral
URL:
Whiteboard:
: 1138590 (view as bug list)
Depends On:
Blocks: 1148830 1148831 1159926
TreeView+ depends on / blocked
 
Reported: 2014-09-05 14:41 UTC by Filip Krska
Modified: 2018-12-09 18:30 UTC (History)
8 users (show)

Fixed In Version: ksh-20120801-22.el6
Doc Type: Bug Fix
Doc Text:
Previously, the KornShell became unresponsive when setting a variable from a command that produced more than 120 k and was then piped. A patch has been applied to fix this bug, and KornShell now executes commands correctly.
Clone Of:
: 1141243 1148830 1148831 (view as bug list)
Environment:
Last Closed: 2015-07-22 06:55:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to fix this (1.77 KB, patch)
2014-09-16 08:05 UTC, Michal Hlavinka
no flags Details | Diff
patch to fix this v2 (1.76 KB, text/plain)
2014-09-16 14:38 UTC, Michal Hlavinka
no flags Details
patch to fix this v3 (1.14 KB, patch)
2014-09-18 13:47 UTC, Michal Hlavinka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1450 0 normal SHIPPED_LIVE ksh bug fix update 2015-07-20 18:43:49 UTC

Description Filip Krska 2014-09-05 14:41:25 UTC
Description of problem:

release fixing Bug 1062296 hangs on reproducer with added pipe

Version-Release number of selected component (if applicable):

ksh-20120801-10.el6_5.9

How reproducible:

Always

Steps to Reproduce:
1. HANG=`dd if=/dev/zero bs=1k count=117 2>/dev/null|cat`
2.
3.

Actual results:

Command hangs

Expected results:

Command executes correctly

Additional info:

ksh-20120801-10.el6 doesn't reproduce => regression

Comment 4 Michal Hlavinka 2014-09-12 13:51:54 UTC
reproducible, around one of eight times it hangs

Comment 5 Michal Hlavinka 2014-09-16 08:05:38 UTC
Created attachment 937901 [details]
patch to fix this

Comment 9 Michal Hlavinka 2014-09-16 14:38:11 UTC
Created attachment 938046 [details]
patch to fix this v2

Comment 10 Michal Hlavinka 2014-09-16 16:52:38 UTC
*** Bug 1138590 has been marked as a duplicate of this bug. ***

Comment 15 Michal Hlavinka 2014-09-18 13:47:20 UTC
Created attachment 938914 [details]
patch to fix this v3

Comment 22 Branislav Náter 2014-10-02 11:43:54 UTC
Reproducer available qa_ack+

Comment 28 errata-xmlrpc 2015-07-22 06:55:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1450.html


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