Bug 41778

Summary: ksh93 dumps core
Product: Ports & Packages Reporter: Joe Kelsey <joek>
Component: Individual Port(s)Assignee: Christian Weisgerber <naddy>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
path.c.diff none

Description Joe Kelsey 2002-08-19 16:00:06 UTC
	ksh93 dumps core seemingly at random.

Fix: Apparantly, a fix is pending at AT&T.  The real problem is in
	sfio and/or stak.

	Until then, fix the symptoms with the following patch to
	src/cmd/ksh93/sh/path.c (which I placed in
	files/src_cmd_kah93_sh_path.c):
How-To-Repeat: 	in a sufficiently large glob request, say

grep stdio */*

	watch the core dump.  (my example generates a glob list of 194
	elements.  I don't know the exact repeat parameteres.)
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-08-19 16:49:57 UTC
Responsible Changed
From-To: freebsd-ports->naddy

Over to maintainer(s)
Comment 2 Joe Kelsey 2002-08-19 19:40:34 UTC
I just received the following patch from David Korn.  It appears to fix 
the problem.  I don't kow if you want to install this patch or just wait 
for another release of the sources.  I did not get any indication from 
him about timing of a new release.
Comment 3 Christian Weisgerber freebsd_committer freebsd_triage 2002-08-20 15:36:55 UTC
State Changed
From-To: open->closed

I committed David's patch.  Thanks for resolving this!