*Synopsis*: *ksh93* 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
Status 3-Accepted 1-Dispatched
Synopsis *ksh93* crashes when set .. ksh93 krashes when set -o..
====================== =========================== ===========================
*Change Request ID*: 6780741
*Synopsis*: *ksh93* crashes when set -o emacs is used
Product: solaris
Category: shell
Subcategory: korn93
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* ========================================================
I can't reproduce this; I tried it on sparc snv_99 and snv_101a and
x86 snv_100, which have the same ksh93 as snv_103.
Does your system have the default /etc/ksh.kshrc which does
"set -o gmacs" ? Anything in your $HOME/.kshrc?
*** (#1 of 1): 2008-12-04 19:15:26 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 ======================================