[cvsnt] Bug in cvsnt admin command(-o option)

Дмитрий Жилин zhilindy at mail.ru
Thu Mar 30 04:51:35 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,
We have found a serious bug in the cvsnt admin command(-o option)
When this command used to outdate some revision from a compressed repository file ,
the file becames corrupted(no one can checkout it).

Example:
cvs add -kBz some_file.bin
cvs ci -m first_rev some_file.bin

//change file ,then commit it:

cvs ci -m second_rev some_file.bin

//remove revision 1.2
cvs admin -o1.2 some_file.bin

//try to checkout the file

cvs co some_file.bin

//we get reply:
cvs [server aborted]: out of memory; can not allocate 1380930350 bytes

the same command ,trace level 2
08:41:45:   -> Tracelevel set to 2.  PID is 920
08:41:45:   -> Session ID is 398442b5379303b
08:41:45:   -> Session time is Thu Mar 30 03:41:45 2006
08:41:45:   -> main loop with CVSROOT=:SSPI:@FS05:/CVS
08:41:46:   -> Server codepage is CP1251
08:41:46:   -> Client codepage is CP1251
08:41:46:   -> Server version is CVSNT 2.5.03 (Scorpio) Build 2151
08:41:46:   -> Client version is CVSNT 2.5.03 (Scorpio) Build 2244
08:41:46:   -> Requesting server cvsignore
08:41:46:   -> Requesting server cvswrappers
08:41:46:   -> Requesting server cvsrc (read-cvsrc2)
08:41:46:   -> Create_Admin (mod, mod, /CVS/mod, , , 0, 0)
08:41:47:   -> unlink_file(CVS/Tag)
cvs [server aborted]: out of memory; can not allocate 1380930350 bytes
08:41:47:   -> rename(CVS/Entries.Backup,CVS/Entries)
08:41:47:   -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
08:41:47:   -> unlink_file(CVS/Entries.Log)
08:41:47:   -> unlink_file(CVS/Entries.Extra.Log)


We hope that the bug will be removed in new releases.

Thank you for support.
Best regards,
Dmitry Zhilin,Russia.



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook