Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 01:44:23 +0900 (JST)
From:      clin@imasy.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/50647: MAXSIZE of ctm is not enough to process recent initial cvs-cur file.
Message-ID:  <200304061644.h36GiN025313@tasogare.imasy.or.jp>
Resent-Message-ID: <200304061650.h36GoAKT040037@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304061644.h36GiN025313>