From clin@imasy.or.jp  Sun Apr  6 09:44:28 2003
Return-Path: <clin@imasy.or.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3619D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  6 Apr 2003 09:44:28 -0700 (PDT)
Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9AEDD43FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  6 Apr 2003 09:44:24 -0700 (PDT)
	(envelope-from clin@imasy.or.jp)
Received: (from clin@localhost)
	by tasogare.imasy.or.jp (8.11.7+3.4W/8.11.7/tasogare) id h36GiN025313;
	Mon, 7 Apr 2003 01:44:23 +0900 (JST)
	(envelope-from clin)
Message-Id: <200304061644.h36GiN025313@tasogare.imasy.or.jp>
Date: Mon, 7 Apr 2003 01:44:23 +0900 (JST)
From: clin@imasy.org
Reply-To: clin@imasy.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: MAXSIZE of ctm is not enough to process recent initial cvs-cur file.
X-Send-Pr-Version: 3.2

>Number:         50647
>Category:       bin
>Synopsis:       MAXSIZE of ctm is too small.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 09:50:09 PDT 2003
>Closed-Date:    Sun Apr 06 11:26:31 PDT 2003
>Last-Modified:  Sun Apr 06 11:26:31 PDT 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Sun Apr 6 11:26:08 PDT 2003 
State-Changed-Why:  
Duplicate of bin/50461. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50647 
>Unformatted:
