*Synopsis*: ksh93 (VISUAL=vi) crashes with memory fault while scrolling through
history
CR 6850672 changed on Oct 28 2009 by <User 1-5HNZ8F>
=== Field ============ === New Value ============= === Old Value =============
Commit to Fix in Build snv_128 snv_127
Fixed in Build snv_128
Status 8-Fix Available 7-Fix in Progress
====================== =========================== ===========================
*Change Request ID*: 6850672
*Synopsis*: ksh93 (VISUAL=vi) crashes with memory fault while scrolling through
history
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype:
Status: 8-Fix Available
Substatus:
Priority: 3-Medium
Introduced In Release: solaris_nevada
Introduced In Build: snv_72
Responsible Engineer: <User 1-7MTUEB>
Keywords: opensolaris, oss-request, oss-sponsor
=== *Description* ============================================================
Category
solaris/shell (Solaris Utilities/Commands)
Sub-Category
korn93
Description
I got the lines "mcabber -f ~/.mcabber/ccc_mcabberrc_remote" and
"mcabber -f ~/.mcabber/ccc_mcabberrc_work" in my history.
Typing mc<UP> completes to the first one but I want the second one, so I
move the cursor to the 'r' of "remote" and type "d$" to delete it.
Now I type 'A' to append and want to go through the lines beginning with
"mcabber -f ~/.mcabber/ccc_mcabberrc_". After the first <UP> the cursor moves
one character back, to '_' and with a second <UP> the shell crashes.
Started from another shell I get "Memory fault(coredump)".
It's not related to the fact that mcabber is an alias for
'/opt/gentoo/usr/bin/mcabber' because it also occcurs when mcabber is executed
with its absolute path.
The coredump can be found at
http://www.zshare.net/download/61269299b237e479/
Frequency
Always
Regression
No
Steps to Reproduce
Set VISUAL=vi.
Get 2 string which differ in the last part into yout history, like "ls
/etc/ssh/ssh_host_rsa_key" and "ls /etc/ssh/ssh_host_dsa_key".
Type a few characters like "ls /etc", complete with <UP>, delete the different
part with "d$" and try to complete with <UP> again.
Expected Result
Working completion.
Actual Result
Memory fault with coredump.
Error Message(s)
Memory fault(coredump)
Test Case
Workaround
$VISUAL != vi
Additional configuration information
*** (#1 of 1): 2009-06-12 11:53:51 GMT+00:00 <User 1-F4SZV>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
=== *Additional Details* =====================================================
Targeted Release: solaris_nevada
Commit To Fix In Build: snv_128
Fixed In Build: snv_128
Integrated In Build:
Verified In Build:
See Also: 6437624, 6793763
Duplicate of:
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5: <email address omitted>
Hook6: <email address omitted>
Program Management:
Root Cause: Insufficient Testing
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2009-06-12 11:53:50 GMT+00:00
Submitted By: <User 1-F4SZV>
Status Changed Date Updated Updated By
6-Fix Understood 2009-06-17 12:44:00 GMT+00:00 <User 1-1SURPB>
7-Fix in Progress 2009-10-23 18:38:37 GMT+00:00 <User 1-7MTUEB>
8-Fix Available 2009-10-28 18:23:38 GMT+00:00 <User 1-5HNZ8F>
=== *Service Request* ========================================================
Impact: Limited
Functionality: Secondary
Severity: 4
Product Name: solaris
Product Release: solaris_nevada
Product Build: snv_114
Operating System: solaris_nevada
Hardware: x86
Submitted Date: 2009-06-12 11:53:51 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================