*Synopsis*: ksh93 repeatedly seg faults when "tee" builtin is interupted via <ctrl-c> in inteactive mode
Due to a change requested by <User 1-1SURPB>, <User 1-7MTUEB> is now the responsible engineer for: CR 6811916 changed on Sep 18 2009 by <User 1-1SURPB> === Field ============ === New Value ============= === Old Value ============= Hook 5 <email address omitted> <email address omitted> Responsible Engineer <User 1-7MTUEB> <User 1-1SURPB> ====================== =========================== =========================== *Change Request ID*: 6811916 *Synopsis*: ksh93 repeatedly seg faults when "tee" builtin is interupted via <ctrl-c> in inteactive mode 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-7MTUEB> Keywords: oss-request, oss-sponsor === *Description* ============================================================ Moved from Bugzilla: http://defect.opensolaris.org/bz/show_bug.cgi?id=7009 ---- I've found that running these commands results in ksh crashing on my OpenSolaris install. > ksh $ print -n 2 2$ print -n2 ksh: print: -2: unknown option Usage: print [-enprs] [-f format] [-u fd] [string ...] $ print -u 2 Test Test $ print -u 2 Test >/dev/null Test $ print -u 2 Test > tee /dev/null Test /dev/null $ print -u 2 Test > tee -a /dev/null Test -a /dev/null $ print -u 2 "Test" > tee /tmp/test Test /tmp/test $ tee /tmp/test; print "Test" $ rm tee $ print -u 2 "Test" | tee /tmp/test Segmentation fault > uname -a SunOS slim 5.11 snv_101a i86pc i386 i86pc > which ksh /bin/ksh > cat /etc/release OpenSolaris 2008.11 snv_101a_rc1b X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 05 November 2008 I also see this on: [4] <email address omitted>: uname -a SunOS xsplat 5.11 snv_101b i86pc i386 i86pc [5] <email address omitted>: cat /etc/release OpenSolaris 2008.11 snv_101b_rc2 X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 19 November 2008 *** (#1 of 1): 2009-03-02 16:34:07 GMT+00:00 <User 1-1SURPB> === *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-03-02 16:34:07 GMT+00:00 Submitted By: <User 1-1SURPB> Status Changed Date Updated Updated By 6-Fix Understood 2009-06-17 12:22:32 GMT+00:00 <User 1-1SURPB> === *Service Request* ======================================================== Impact: Significant Functionality: Primary Severity: 2 Product Name: solaris Product Release: osol_2008.11 Product Build: osol_2008.11 Operating System: snv_108 Hardware: x86 Submitted Date: 2009-03-02 16:34:08 GMT+00:00 === *Multiple Release (MR) Cluster* - 0 ======================================