bin/50647: MAXSIZE of ctm is not enough to process recent initial cvs-cur file.

clin at imasy.org clin at imasy.org
Sun Apr 6 09:50:11 PDT 2003


>Number:         50647
>Category:       bin
>Synopsis:       MAXSIZE of ctm is too small.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 09:50:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hiroyuki CHIBA
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
IMASY
>Environment:

	FreeBSD fuji.bop.imasy.org 4.8-STABLE FreeBSD 4.8-STABLE #3: Mon Apr 7 06:28:34 
	JST 2003     root:/usr/obj/usr/src/sys/FUJI

>Description:

	/usr/sbin/ctm can't process whole cvs repository file, because the size of
	the recent initial file is larger than the assumption of ctm.

>How-To-Repeat:

	1) fetch the initial file:
	  ftp://ftp*.jp.freebsd.org/pub/CTM/cvs-cur/cvs-cur.9100xEmpty.gz
	2) ctm it:
	  zcat /foo/cvs-cur.9100xEmpty.gz | /usr/sbin/ctm -T /huge-tmp

	the result is followings:
	  ctm: warning: .ctm_status not found
	  Writing tmp-file "/huge-tmp/CTMclient.1oUiaW9WaN"
	  - Fatal error: Bytecount too large.
	  ctm: exit(65)

>Fix:
	
	expand MAXSIZE in /usr/src/usr.sbin/ctm/ctm/ctm.h enough to process
        those files.
	(ex. 1024*1024*100)

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


More information about the freebsd-bugs mailing list