We have a fix for this bug. Awaiting integration in the prototype40 branch.

Olga

On Fri, Oct 8, 2010 at 5:41 PM,  <bugmail-sen...@sun.com> wrote:
> *Synopsis*: Unset local IFS variable crash
>
> CR 6990612 changed on Oct 8 2010 by <User 1-5Q-1267>
>
> === Field ============ === New Value ============= === Old Value =============
>
> Category               shell                       opensolaris
> SubCategory            korn93                      triage-queue
> ====================== =========================== ===========================
>
>
> *Change Request ID*: 6990612
>
> *Synopsis*: Unset local IFS variable crash
>
>  Product: solaris
>  Category: shell
>  Subcategory: korn93
>  Type: Defect
>  Subtype:
>  Status: 1-Dispatched
>  Substatus:
>  Priority: 1-Very High
>  Introduced In Release:
>  Introduced In Build:
>  Responsible Engineer:
>  Keywords: opensolaris
>
> === *Description* ============================================================
> Category
>    shell
> Sub-Category
>    korn93
> Description
>    just take this as simple test
> =====================================================
> #!/bin/ksh93
> print ">$IFS<"
> function crash
> {
>  typeset L_FILE
>  typeset L_VALIDATION
>  typeset L_VARIABLE
>  typeset L_MOD IFS
>  OS=$(uname)
> }
> crash
> print ">$IFS<"
> function crash2
> {
>  typeset IFS
>  true
>  unset IFS
>  echo a b c | while read x ; do
>    echo $x
>  done
> }
> crash2
> print ">$IFS<"
> =====================================================
> shows this:
>  $ ksh93 ~/crash.ksh
>  Core dumped
> Frequency
>    Always
> Regression
>    no
> Steps to Reproduce
>    Run testcase:
> #!/bin/ksh93
> print ">$IFS<"
> function crash
> {
>  typeset L_FILE
>  typeset L_VALIDATION
>  typeset L_VARIABLE
>  typeset L_MOD IFS
>  OS=$(uname)
> }
> crash
> print ">$IFS<"
> function crash2
> {
>  typeset IFS
>  true
>  unset IFS
>  echo a b c | while read x ; do
>    echo $x
>  done
> }
> crash2
> print ">$IFS<"
> Expected Result
>    No crash
> Actual Result
>    Crash
> Error Message(s)
>    Core dumped
> Test Case
>    #!/bin/ksh93
> print ">$IFS<"
> function crash
> {
>  typeset L_FILE
>  typeset L_VALIDATION
>  typeset L_VARIABLE
>  typeset L_MOD IFS
>  OS=$(uname)
> }
> crash
> print ">$IFS<"
> function crash2
> {
>  typeset IFS
>  true
>  unset IFS
>  echo a b c | while read x ; do
>    echo $x
>  done
> }
> crash2
> print ">$IFS<"
> Workaround
>
> Additional configuration information
>    Solaris 11, tosiba laptop
>
> *** (#1 of 1): 2010-10-08 14:07:40 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:
>  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-10-08 14:07:40 GMT+00:00
>        Submitted By: <User 1-9HOB9N>
>
>        Status Changed    Date Updated                  Updated By
>
>
> === *Service Request* ========================================================
>        Impact: Critical
>        Functionality: Primary
>        Severity: 1
>        Product Name: solaris
>        Product Release: solaris_nevada
>        Product Build: snv_01
>        Operating System: solaris_nevada
>        Hardware: generic
>        Submitted Date: 2010-10-08 14:07:41 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
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanov...@gmail.com   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to