*Synopsis*: ksh93 (VISUAL=vi) crashes with memory fault while scrolling through history
Due to a change requested by <User 1-1SURPB>, <User 1-1SURPB> is now the responsible engineer for: CR 6850672 changed on Jun 17 2009 by <User 1-1SURPB> === Field ============ === New Value ============= === Old Value ============= Evaluation New Note Hook 5 <email address omitted> Hook 6 <email address omitted> <email address omitted> Introduced in Build snv_72 Introduced in Release solaris_nevada Keyword oss-request Keyword oss-sponsor Responsible Engineer <User 1-1SURPB> Root Cause Insufficient Testing See Also 6793763 Status 6-Fix Understood 1-Dispatched Targeted Release solaris_nevada ====================== =========================== =========================== *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: 6-Fix Understood Substatus: Priority: 3-Medium Introduced In Release: solaris_nevada Introduced In Build: snv_72 Responsible Engineer: <User 1-1SURPB> 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: Fixed In Build: Integrated In Build: Verified In Build: See Also: 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> === *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 ======================================