Subject: bin/23116: cvs pserver eats 100% cpu if remote user hits ctrl-C during update
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jesse_off@stchome.com>
List: netbsd-bugs
Date: 10/09/2003 16:58:56
>Number:         23116
>Category:       bin
>Synopsis:       cvs pserver eats 100% cpu if remote user hits ctrl-C during update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 09 23:59:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
	Scientific Technologies, Corp.
>Environment:
System: NetBSD angel 1.6.1_STABLE NetBSD 1.6.1_STABLE (DELL600SC) #3: Wed Oct 8 18:01:18 MST 2003 root@angel:/usr/src/sys/arch/i386/compile/DELL600SC i386
Architecture: i386
Machine: i386
>Description:
	cvs pserver loops eating up 100% CPU if remote user Ctrl-C's during cvs update.
>How-To-Repeat:
	set up cvs pserver, run a remote cvs update, ctrl-C that cvs update.  Notice that the process does not go away and now takes up 100% of CPU on server
>Fix:
	There is an assert() on line 1384 of buffer.c that is triggered.  Commenting it out lets the cvs pserver die peacefully.

>Release-Note:
>Audit-Trail:
>Unformatted: