Subject: bin/28912: ksh incorrectly handles history file
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Denis Lagno <dlagno@smtp.ru>
List: netbsd-bugs
Date: 01/08/2005 20:21:00
>Number:         28912
>Category:       bin
>Synopsis:       ksh incorrectly handles history file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 20:21:00 +0000 2005
>Originator:     Denis Lagno
>Release:        NetBSD 2.99.11
>Organization:
Brigada
>Environment:
System: NetBSD flam.gado 2.99.11 NetBSD 2.99.11 (FLAM) #2: Thu Dec 30 03:22:19 MSK 2004 dina@flam.gado:/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAM i386
it is SMP machine
Architecture: i386
Machine: i386
>Description:
pdksh in base system repeatedly corrupts its history file
if history file has big size and several ksh instances
exit simultaneously
it is pity because otherwise ksh is the only usable interactive
shell in base system
>How-To-Repeat:
have 700kb history file 
then run screen with a lot of ksh instances
and reboot
>Fix:
N/A