*Synopsis*: *ksh* crashes when set -o emacs is used

CR 6780741 changed on Dec 4 2008 by <User 1-5Q-5151>

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

Public Comments        New Note                    Old Note                   
SubCategory            korn                        korn93                     
Synopsis               *ksh* crashes when set -o.. *ksh93* crashes when set ..
====================== =========================== ===========================

     
*Change Request ID*: 6780741

*Synopsis*: *ksh* crashes when set -o emacs is used

  Product: solaris
  Category: shell
  Subcategory: korn
  Type: Defect
  Subtype: Functionality
  Status: 3-Accepted
  Substatus: 
  Priority: 2-High
  Introduced In Release: 
  Introduced In Build: 
  Responsible Engineer: 
  Keywords: 

=== *Description* ============================================================
When set -o emacs is set, korn shell crashes immediatly after first command:

$ set -o emacs
$ ls
Segmentation Fault (core dumped)

bash-3.2$ pstack /cores/core.ksh.3079
core '/cores/core.ksh.3079' of 3079:    /usr/bin/ksh
 0807e03c _sh_wcstombs (20, fef989c4, 50a, 0) + 5c
 0806243f ed_external (fef989c4) + 23
 08076015 emacs_read (20, 20, 20, 20, 0, 0) + 9f9
 00000020 ???????? ()

*** (#1 of 1): 2008-12-04 15:12:21 GMT+00:00 <User 1-2TT9RR>


=== *Public Comments* ========================================================
Bug is occurring with /bin/ksh, not /bin/ksh93 as originally reported.
Reproducible on user's system, but not other (build 100) systems so far.
There were no changes to ksh between build 100 and 103.

*** (#1 of 1): 2008-12-04 19:15:26 GMT+00:00 april.chin at sun.com
*** Last Edit: 2008-12-04 20:45:31 GMT+00:00 april.chin at sun.com


=== *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: 
  Program Management: 
  Root Cause: 
  Fix Affects Documentation: No
  Fix Affects Localization: No

=== *History* ================================================================
        Date Submitted: 2008-12-04 15:12:21 GMT+00:00
        Submitted By: <User 1-2TT9RR>

        Status Changed    Date Updated                  Updated By
        3-Accepted        2008-12-04 19:15:26 GMT+00:00 <User 1-5Q-5151>


=== *Service Request* ========================================================
        Impact: Significant
        Functionality: Primary
        Severity: 2
        Product Name: solaris
        Product Release: solaris_nevada
        Product Build: snv_103
        Operating System: solaris_nevada
        Hardware: generic
        Submitted Date: 2008-12-04 15:12:21 GMT+00:00


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


Reply via email to