*Synopsis*: Nested sub shell in command substitution with lots of data hangs

CR 6946957 changed on May 10 2010 by <User 1-5Q-8426>

=== Field ============ === New Value ============= === Old Value =============

See Also               6950013                                                
====================== =========================== ===========================

     
*Change Request ID*: 6946957

*Synopsis*: Nested sub shell in command substitution with lots of data hangs

  Product: solaris
  Category: shell
  Subcategory: korn93
  Type: Defect
  Subtype: 
  Status: 3-Accepted
  Substatus: 
  Priority: 2-High
  Introduced In Release: 
  Introduced In Build: 
  Responsible Engineer: <User 1-7RPONF>
  Keywords: opensolaris

=== *Description* ============================================================
Category
    shell
Sub-Category
    korn93
Description
    A command substitution will hang if the amount of output of a command in a 
sub shell exceeds a specific size.
The important factors are: 1. Command substitution 2. sub shell 3. Command 
produces larger quantities of data
Frequency
    Always
Regression
    no
Steps to Reproduce
    Run ksh93 -c 'print $( ( seq 60000 ) )'
Expected Result
    Print numbers 1 - 60000.
Actual Result
    Shell hangs.
Error Message(s)
    
Test Case
    
Workaround
    Remove sub shell.
Additional configuration information
    ksh93 --version
  version         sh (AT&T Research) 93t+ 2010-03-05
uname -a
SunOS meridian 5.11 snv_134 sun4u sparc SUNW,A70

*** (#1 of 1): 2010-04-23 22:15:49 GMT+00:00 <User 1-9HOB9N>


=== *Public Comments* ========================================================

=== *Workaround* =============================================================

=== *Additional Details* =====================================================
        Targeted Release: 
        Commit To Fix In Build: 
        Fixed In Build: 
        Integrated In Build: 
        Verified In Build: 
  See Also: 6859444, 6950013
  Duplicate of: 
  Hooks:
        Hook1: 
        Hook2: 
        Hook3: 
        Hook4: 
        Hook5: 
        Hook6: <email address omitted>
  Program Management: 
  Root Cause: 
  Fix Affects Documentation: No
  Fix Affects Localization: No

=== *History* ================================================================
        Date Submitted: 2010-04-23 22:15:48 GMT+00:00
        Submitted By: <User 1-9HOB9N>

        Status Changed    Date Updated                  Updated By
        3-Accepted        2010-04-26 10:41:44 GMT+00:00 <User 1-5Q-8426>


=== *Service Request* ========================================================
        Impact: Critical
        Functionality: Primary
        Severity: 1
        Product Name: solaris
        Product Release: solaris_nevada
        Product Build: snv_134
        Operating System: solaris_nevada
        Hardware: generic
        Submitted Date: 2010-04-23 22:15:49 GMT+00:00


=== *Multiple Release (MR) Cluster* - 0 ======================================

_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to