Bug 41778 - ksh93 dumps core
Summary: ksh93 dumps core
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Weisgerber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-19 16:00 UTC by Joe Kelsey
Modified: 2002-08-20 15:37 UTC (History)
0 users

See Also:


Attachments
file.diff (285 bytes, patch)
2002-08-19 16:00 UTC, Joe Kelsey
no flags Details | Diff
path.c.diff (8.55 KB, patch)
2002-08-19 19:40 UTC, Joe Kelsey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 2002-08-20 15:36:55 UTC
State Changed
From-To: open->closed

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