*Synopsis*: *ksh93* Difficult-to-reproduce SIGSEGV in ksh93
CR 6762665 changed on Dec 27 2008 by <User 1-5HNZ8F>
=== Field ============ === New Value ============= === Old Value =============
Fixed in Build snv_106
Status 8-Fix Available 7-Fix in Progress
====================== =========================== ===========================
*Change Request ID*: 6762665
*Synopsis*: *ksh93* Difficult-to-reproduce SIGSEGV in ksh93
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype: Reliability
Status: 8-Fix Available
Substatus:
Priority: 3-Medium
Introduced In Release: solaris_nevada
Introduced In Build: snv_72
Responsible Engineer: <User 1-5Q-5151>
Keywords: oss-request, oss-sponsor
=== *Description* ============================================================
I'm working on a networking test suite that uses ksh93 scripts and libraries
pretty extensively. I've seen the following crash from ksh93 twice now I
think, over the course of *many* test runs as I've been working on the suite.
The stack looks like this:
# file core
core: ELF 64-bit LSB core file AMD64 Version 1, from 'ksh93'
# mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> ::status
debugging core file of ksh93 (64-bit) from mathesar.East.Sun.COM
file: /usr/bin/amd64/ksh93
initial argv:
/usr/bin/ksh93 -p /net/zhadum.east/export/ws/jl138328/personal/ipobs-rewhack/sr
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=1db9b
> $C
fffffd7fffdf9880 libast.so.1`bestsearch+0x1d4()
fffffd7fffdf98d0 libast.so.1`bestalloc+0x2c0()
fffffd7fffdf98f0 libast.so.1`_ast_malloc+0x9c()
fffffd7fffdf9910 libshell.so.1`job_subsave+0x16()
fffffd7fffdf9bc0 libshell.so.1`sh_subshell+0x342()
fffffd7fffdfa460 libshell.so.1`sh_exec+0x1e58()
fffffd7fffdfad00 libshell.so.1`sh_exec+0x3749()
fffffd7fffdfb5a0 libshell.so.1`sh_exec+0x1b44()
fffffd7fffdfb7d0 libshell.so.1`sh_funscope+0x560()
fffffd7fffdfb840 libshell.so.1`sh_funct+0x6c()
fffffd7fffdfc0e0 libshell.so.1`sh_exec+0x2ffb()
fffffd7fffdfc980 libshell.so.1`sh_exec+0x1b2d()
fffffd7fffdfcbb0 libshell.so.1`sh_funscope+0x560()
fffffd7fffdfcc20 libshell.so.1`sh_funct+0x6c()
fffffd7fffdfd4c0 libshell.so.1`sh_exec+0x2ffb()
fffffd7fffdfdd60 libshell.so.1`sh_exec+0x1919()
fffffd7fffdfde90 libshell.so.1`exfile+0x767()
fffffd7fffdfdf70 libshell.so.1`sh_main+0x7a4()
fffffd7fffdfdf90 main+0x21()
fffffd7fffdfdfa0 0x400c7c()
This is in project bits based on the latest Nevada, 10/22/08. The project is
not making any changes to ksh93, of course, so this should be unrelated to
anything local to the project gate.
I've attached a core file if anyone cares to investigate.
Also, this isn't CR 6715496 because I don't use arrays anywhere in the main
test code where the crash has been observed.
*** (#1 of 1): 2008-10-22 20:39:02 GMT+00:00 <User 1-5Q-10765>
*** Last Edit: 2008-10-22 20:43:43 GMT+00:00 <User 1-5Q-10765>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
=== *Additional Details* =====================================================
Targeted Release: solaris_nevada
Commit To Fix In Build: snv_106
Fixed In Build: snv_106
Integrated In Build:
Verified In Build:
See Also: 6437624, 6619428
Duplicate of:
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5: <email address omitted>
Hook6: <email address omitted>
Program Management:
Root Cause: Other - see Research Activity
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2008-10-22 20:39:02 GMT+00:00
Submitted By: <User 1-5Q-10765>
Status Changed Date Updated Updated By
6-Fix Understood 2008-12-09 22:44:26 GMT+00:00 <User 1-5Q-5151>
7-Fix in Progress 2008-12-22 08:35:53 GMT+00:00 <User 1-5Q-5151>
8-Fix Available 2008-12-27 23:21:54 GMT+00:00 <User 1-5HNZ8F>
=== *Service Request* ========================================================
Impact: Limited
Functionality: Primary
Severity: 3
Product Name: solaris
Product Release: solaris_nevada
Product Build:
Operating System: generic
Hardware: generic
Submitted Date: 2008-10-22 20:39:02 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================