The below bug is fixed by the pending integration of ksh93t 2008-11-04,
as verified by the submitter, so it is being added to the list of
bugfixes.
April
> X-Original-To: ksh93-integration-discuss at opensolaris.org
> Delivered-To: ksh93-integration-discuss at opensolaris.org
> Date: Tue, 9 Dec 2008 15:51:34 -0700 (MST)
> From: bugmail-sender at sun.com
> X-BugTraq-notice-type: Public notification
> To: undisclosed-recipients:;
> Subject: [ksh93-integration-discuss] CR 6762665 <User 1-5Q-5151>, Now
responsible engineer P3 shell/korn93 *ksh93* Difficult-to-reproduce SIGSEGV in
ksh93
> List-Id: Korn Shell 93 integration/migration project discussion
<ksh93-integration-discuss.opensolaris.org>
>
> *Synopsis*: *ksh93* Difficult-to-reproduce SIGSEGV in ksh93
>
> Due to a change requested by <User 1-5Q-5151>,
> <User 1-5Q-5151> is now the responsible engineer for:
>
> CR 6762665 changed on Dec 9 2008 by <User 1-5Q-5151>
>
> === Field ============ === New Value ============= === Old Value =============
>
> Evaluation New Note
> Hook 5 <email address omitted>
> Hook 6 <email address omitted>
> Introduced in Build snv_72
> Introduced in Release solaris_nevada
> Keyword oss-request
> Keyword oss-sponsor
> Responsible Engineer <User 1-5Q-5151>
> Root Cause Other - see Research Acti..
> See Also 6619428
> Status 6-Fix Understood 1-Dispatched
> Synopsis *ksh93* Difficult-to-repr.. Difficult-to-reproduce SI..
> Targeted Release solaris_nevada
> ====================== =========================== ===========================
>
>
> *Change Request ID*: 6762665
>
> *Synopsis*: *ksh93* Difficult-to-reproduce SIGSEGV in ksh93
>
> Product: solaris
> Category: shell
> Subcategory: korn93
> Type: Defect
> Subtype: Reliability
> Status: 6-Fix Understood
> 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:
> Fixed In Build:
> Integrated In Build:
> Verified In Build:
> See Also: 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>
>
>
> === *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 ======================================
>
> _______________________________________________
> ksh93-integration-discuss mailing list
> ksh93-integration-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss