[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Assertion at line 52 of fileattr.c
From: |
Mark D. Baushke |
Subject: |
Re: Assertion at line 52 of fileattr.c |
Date: |
Tue, 02 Nov 2004 09:31:04 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Gatt <james173@softcookie.com> writes:
> It appears that the pointer "unrecog_head" declared as static at line
> 39 of fileattr.c is never initialised. I have recently seen a server
> crash with the assertion at line 52 failing.
The unrecog_head should have been placed into the 'bss' section and
should be getting initialized to NULL when cvs is first loaded.
> It is just me, or is this a bug that has gone unnoticed for a long
> time? (The version of the server we have is old, but I am looking in
> the current source.)
If you have the core file, you should look to see what unrecognized type
was being preserved in the FILEATTR file in your repository.
If I had to guess, you have something corrupt in your repository in a
CVS/fileattr file.
If you can describe the problem you have, we can look into making cvs
more robust for future releases.
Good luck,
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBh8RY3x41pRYZE/gRAjESAJ9ommXUhpfzfJvciEylMEN09sCjfwCffkdK
E1lDt2U4fZeaOkn7Wgu6cbE=
=6ZqG
-----END PGP SIGNATURE-----