info-cvs
[Top][All Lists]
Advanced

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

Assertion failed at setting branch tag using rtag


From: chaessig
Subject: Assertion failed at setting branch tag using rtag
Date: Thu, 17 May 2001 15:53:33 +0100

Hi CVS-experts !

I've got a strange error while setting a branch tag using rtag :

when running the CVS command :
cvs -d <repository> rtag -b R1 IHM
(I'm using the :ext: connection protocol)

I get :

cvs [rtag aborted]: received abort signal
cvs: lock.c:178: lock_name:  the assertion `(__extension__
(__builtin_constant_p ( strlen (current_parsed_root->directory)) && (
(__builtin_constant_p (repository) && strlen (repository) < ((size_t) (
strlen (current_parsed_root->directory)))) || (__built
in_constant_p ( current_parsed_root->directory) && strlen (
current_parsed_root->directory) < ((size_t) ( strlen (current_pars
ed_root->directory))))) ? __extension__ ({ size_t __s1_len, __s2_len;
(__builtin_constant_p (repository) && __builtin_constant
_p ( current_parsed_root->directory) && (__s1_len = strlen (repository),
__s2_len = strlen ( current_parsed_root->directory),
(!((size_t)(const void *)((repository) + 1) - (size_t)(const void
*)(repository) == 1) || __s1_len >= 4) && (!((size_t)(const
void *)(( current_parsed_root->directory) + 1) - (size_t)(const void *)(
current_parsed_root->directory) == 1) || __s2_len >=
4)) ? memcmp ((__const char *) (repository), (__const char *) (
current_parsed_root->directory), (__s1_len < __s2_len ? __s1_l
en : __s2_len) + 1) : (__builtin_constant_p (repository) &&
((size_t)(const void *)((repository) + 1) - (size_t)(const void *)
(repository) == 1) && (__s1_len = strlen (repository), __s1_len < 4) ?
(__builtin_constant_p ( current_parsed_root->directory)
 && ((size_t)(const void *)(( current_parsed_root->directory) + 1) -
(size_t)(const void *)( current_parsed_root->directory) =
= 1) ? (__extension__ ({ register int __result = (((__const unsigned
char *) (__const char *) (repository))[0] - ((__const uns
igned char *) (__const char *)( current_parsed_root->directory))[0]); if
( __s1_len > 0 && __result == 0) { __result = (((__co
nst unsigned char *) (__const char *) (repository))[1] - ((__const
unsigned char *) (__const char *) ( current_parsed_root->di
rectory))[1]); if ( __s1_len > 1 && __result == 0) { __result =
(((__const unsigned char *) (__const char *) (repository))[2]
- ((__const unsigned char *) (__const char *) (
current_parsed_root->directory))[2]); if ( __s1_len > 2 && __result ==
0) __re
sult = (((__const unsigned char *) (__const char *) (repository))[3] -
((__const unsigned char *) (__const char *) ( current_p
arsed_root->directory))[3]); } } __result; })) : (__extension__ ({
__const unsigned char *__s2 = (__const unsigned char *) (__
const char *) ( current_parsed_root->directory); register int __result =
(((__const unsigned char *) (__const char *) (reposit
ory))[0] - __s2[0]); if ( __s1_len > 0 && __result == 0) { __result =
(((__const unsigned char *) (__const char *) (repository
))[1] - __s2[1]); if ( __s1_len > 1 && __result == 0) { __result =
(((__const unsigned char *) (__const char *) (repository))[
2] - __s2[2]); if ( __s1_len > 2 && __result == 0) __result = (((__const
unsigned char *) (__const char *) (repository))[3] -
__s2[3]); } } __result; }))) : (__builtin_constant_p (
current_parsed_root->directory) && ((size_t)(const void *)(( current_pa
rsed_root->directory) + 1) - (size_t)(const void *)(
current_parsed_root->directory) == 1) && (__s2_len = strlen (
current_par
sed_root->directory), __s2_len < 4) ? (__builtin_constant_p (repository)
&& ((size_t)(const void *)((repository) + 1) - (size_
t)(const void *)(repository) == 1) ? (__extension__ ({ register int
__result = (((__const unsigned char *) (__const char *) (r
epository))[0] - ((__const unsigned char *) (__const char *)(
current_parsed_root->directory))[0]); if ( __s2_len > 0 && __res
ult == 0) { __result = (((__const unsigned char *) (__const char *)
(repository))[1] - ((__const unsigned char *) (__const cha
r *) ( current_parsed_root->directory))[1]); if ( __s2_len > 1 &&
__result == 0) { __result = (((__const unsigned char *) (__c
onst char *) (repository))[2] - ((__const unsigned char *) (__const char
*) ( current_parsed_root->directory))[2]); if ( __s2_
len > 2 && __result == 0) __result = (((__const unsigned char *)
(__const char *) (repository))[3] - ((__const unsigned char *
) (__const char *) ( current_parsed_root->directory))[3]); } } __result;
})) : (__extension__ ({ __const unsigned char *__s1 =
 (__const unsigned char *) (__const char *) (repository); register int
__result = __s1[0] - ((__const unsigned char *) (__cons
t char *) ( current_parsed_root->directory))[0]; if ( __s2_len > 0 &&
__result == 0) { __result = (__s1[1] - ((__const unsigne
d char *) (__const char *) ( current_parsed_root->directory))[1]); if (
__s2_len > 1 && __result == 0) { __result = (__s1[2] -
 ((__const unsigned char *) (__const char *) (
current_parsed_root->directory))[2]); if ( __s2_len > 2 && __result ==
0) __res
ult = (__s1[3] - ((__const unsigned char *) (__const char *) (
current_parsed_root->directory))[3]); } } __result; }))) : strc
mp (repository, current_parsed_root->directory)))); }) : strncmp
(repository, current_parsed_root->directory, strlen (current_
parsed_root->directory)))) == 0' failed

Actually, I got this assertion error twice.

I reproduce this behavior using the :local: connection protocol.

But when I do a checkout of the IHM module, put the same tag in this
module using the tag command, and then update -r R1, it works !
The commands run are :
cvs -d <repository> checkout IHM
cd IHM
cvs -d <repository> tag -b R1
cvs -d <repository> update -r R1

Does anyone have the same problem ? Is this a bug, or is it my cvs rtag
use which is bad ?
Thanks for your help,

Chris




reply via email to

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