*Synopsis*: ksh93 gets SIGSEGV on interactive function definition with HISTSIZE
unset
CR 6834207 changed on Oct 23 2009 by <User 1-7MTUEB>
=== Field ============ === New Value ============= === Old Value =============
See Also 6437624
====================== =========================== ===========================
*Change Request ID*: 6834207
*Synopsis*: ksh93 gets SIGSEGV on interactive function definition with HISTSIZE
unset
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype:
Status: 7-Fix in Progress
Substatus:
Priority: 5-Very Low
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
With HISTSIZE explicitly unset, ksh93 gets a SIGSEGV when defining an
old-style function:
> ksh93
$ unset HISTSIZE
$ foo() { cat }
zsh: segmentation fault (core dumped) ksh93
core 'core' of 9988: ksh93
fffffd7ffeafa7ca funct () + 1ea
fffffd7ffeafc8cb simple () + d3b
fffffd7ffeafba5c item () + 76c
fffffd7ffeaf9ee4 term () + 54
fffffd7ffeaf9e15 list () + 15
fffffd7ffeaf9cf9 sh_cmd () + 39
fffffd7ffeaf998b sh_parse () + 2b3
fffffd7ffeae6dc2 exfile () + 6c2
fffffd7ffeae6676 sh_main () + 7fe
0000000000400e72 main () + 52
0000000000400ccc ???????? ()
I can reproduce this on both Indiana snv_111 bits, and Nevada snv_108 bits.
Frequency
Always
Regression
No
Steps to Reproduce
unset HISTSIZE
define an old style function.
Expected Result
No crash.
Actual Result
SIGSEGV in libshell`funct
Error Message(s)
Test Case
Workaround
Additional configuration information
*** (#1 of 1): 2009-04-25 05:33:53 GMT+00:00 <User 1-F4SZV>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
=== *Additional Details* =====================================================
Targeted Release: solaris_nevada
Commit To Fix In Build: snv_127
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also: 6437624, 6793763, 6834184
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-04-25 05:33:50 GMT+00:00
Submitted By: <User 1-F4SZV>
Status Changed Date Updated Updated By
6-Fix Understood 2009-06-17 12:45:42 GMT+00:00 <User 1-1SURPB>
7-Fix in Progress 2009-10-23 18:27:23 GMT+00:00 <User 1-7MTUEB>
=== *Service Request* ========================================================
Impact: Significant
Functionality: Nonessential
Severity: 4
Product Name: solaris
Product Release: solaris_nevada
Product Build: snv_111
Operating System: solaris_nevada
Hardware: generic
Submitted Date: 2009-04-25 05:33:53 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================