bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

assertion failure with symlinked repository and LockDir.


From: Tanaka Akira
Subject: assertion failure with symlinked repository and LockDir.
Date: 23 Feb 2001 20:51:00 +0900
User-agent: T-gnus/6.14.5 (based on Gnus v5.8.7) (revision 08) SEMI/1.14.0 (Iburihashi) Deisui/1.14.0 (Kikuhime) APEL/10.2 Emacs/21.0.95 (i386-unknown-freebsd4.0) MULE/5.0 (SAKAKI)

I encounts assertion failure with symlinked cvs repository with
LockDir as follows.

* creating cvs repository and setup LockDir.

% mkdir /tmp/cvsroot; ln -s cvsroot /tmp/linked-cvsroot
% ./cvs -d /tmp/linked-cvsroot init
% chmod +w /tmp/linked-cvsroot/CVSROOT/config
% echo LockDir=/var/lock/cvs >> /tmp/linked-cvsroot/CVSROOT/config

* following command causes assertion failure.

% ./cvs -d /tmp/linked-cvsroot rdiff -r xxx CVSROOT
assertion "strncmp (repository, current_parsed_root->directory, strlen 
(current_parsed_root->directory)) == 0" failed: file "lock.c", line 178
cvs [rdiff aborted]: received abort signal
assertion "strncmp (repository, current_parsed_root->directory, strlen 
(current_parsed_root->directory)) == 0" failed: file "lock.c", line 178
cvs [rdiff aborted]: received abort signal

* following commands causes assertion failure on differing line.

% ./cvs -d :fork:/tmp/linked-cvsroot rdiff -r xxx CVSROOT
assertion "strncmp (repository, CVSroot_directory, strlen (CVSroot_directory)) 
== 0" failed: file "lock.c", line 177
cvs [server aborted]: received abort signal
cvs [server aborted]: received abort signal
assertion "strncmp (repository, CVSroot_directory, strlen (CVSroot_directory)) 
== 0" failed: file "lock.c", line 177

* non-symlinked cvs repository works well as follows.

% ./cvs -d :fork:/tmp/cvsroot rdiff -r xxx CVSROOT 
cvs [server aborted]: cannot stat /var/lock/cvs: No such file or directory
cvs [server aborted]: cannot stat /var/lock/cvs: No such file or directory
% ./cvs -d /tmp/cvsroot rdiff -r xxx CVSROOT     
cvs [rdiff aborted]: cannot stat /var/lock/cvs: No such file or directory
cvs [rdiff aborted]: cannot stat /var/lock/cvs: No such file or directory

* the cvs command is build from latest cvs repository.

% ./cvs --version

Concurrent Versions System (CVS) 1.11.0.1 (client/server)

Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, 
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
% uname -a
FreeBSD flux 4.2-RELEASE FreeBSD 4.2-RELEASE #2: Fri Jan 12 22:55:02 JST 2001   
  address@hidden:/usr/src/sys/compile/AKR  i386
-- 
Tanaka Akira



reply via email to

[Prev in Thread] Current Thread [Next in Thread]