Subject: bin/19380: cvs assertion failed in rcs.c
To: None <>
From: Ryo HAYASAKA <>
List: netbsd-bugs
Date: 12/14/2002 18:46:27
>Number:         19380
>Category:       bin
>Synopsis:       cvs assertion failed in rcs.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 14 01:47:01 PST 2002
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 1.6K
Japan Advanced Institute of Science and Technology (JAIST)
System: NetBSD 1.6K NetBSD 1.6K (BONNIE) #349: Tue Dec 10 15:06:24 JST 2002 i386
Architecture: i386
Machine: i386
Today, I got the following "assertion failed" messages from cvs when I
typed "cvs up vmstat.c" in /usr/src/usr.bin/vmstat.

assertion "ptr >= rcsbuf_buffer && ptr < rcsbuf_buffer + rcsbuf_buffer_size" failed: file "/usr/src/gnu/dist/cvs/src/rcs.c", line 1097, function "rcsbuf_getkey"
cvs [update aborted]: received abort signal

Apparently, the assertion should be "ptr >= rcsbuf_buffer && ptr <=
rcsbuf_buffer + rcsbuf_buffer_size".

I've checked the master repository of the cvs project (cvshome) and
this problem was already fixed there in rev. 1.259 of rcs.c.

So, I request import of rev. 1.259 (at least) of rcs.c from the cvs
repository even before its next release.
Code inspection.
Import the diffs (mainly between rev. 1.258 to rev. 1.259) from the
repository of cvs.  Refer to .