bugConcurrent Versions System - Bugs: bug #21774, Assertion failure

 
 

bug #21774: Assertion failure

Submitter:  Ed Avis <epaepa>
Submitted:  Tue 11 Dec 2007 05:55:14 PM UTC
Votes: 100
 
Category:  Bug Report Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 27 Dec 2007 04:02:20 PM UTC, comment #1: 

Here is a minimal test case to reproduce the bug.  Make an empty directory and cd to it.  Unpack the following shar archive (you can use unshar or sh):

if test ! -d 'opencvs_test'; then
  mkdir 'opencvs_test'
  mkdir 'opencvs_test/fix'
fi
  mkdir 'opencvs_test/fix/CVS'
  sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/CVS/Entries'
/productionFixTrades.py/0/Initial productionFixTrades.py//
SHAR_EOF
  sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/CVS/Root'
/home/eda/opencvs_test/cvsroot
SHAR_EOF
  sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/CVS/Repository' &&
cgi/fix
SHAR_EOF
  sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/productionFixTrades.py' &&
SHAR_EOF
  mkdir 'opencvs_test/cvsroot'
  mkdir 'opencvs_test/cvsroot/CVSROOT'
  mkdir 'opencvs_test/cvsroot/cgi'
  mkdir 'opencvs_test/cvsroot/cgi/fix'
  sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/cvsroot/cgi/fix/productionFixTrades.py,v' &&
head     ;
access   ;
desc
@@
SHAR_EOF
  chmod 0767 'opencvs_test/cvsroot/cgi/fix/productionFixTrades.py,v'


Now cd to opencvs_test/fix.  Edit the file CVS/Root to point to your temporary directory instead of my home directory home/eda.  Now run

% cvs commit -m.

For me, this crashes CVS with the assertion failure.

Ed Avis <epaepa>
Tue 11 Dec 2007 05:55:14 PM UTC, original submission:  

# cvs commit '-mCommitting some Andy leftover stuff.'
cvs commit: Examining .
cvs: hash.c:353: findnode: Assertion `key != ((void *)0)' failed.
cvs [commit aborted]: received abort signal

I can reproduce this both with 1.11.22 (current stable release) and 1.12.13 (latest feature release).

The FAQ mentions that this assertion failure can happen on Windows, but I am using Linux.  It says the failure is caused by a filename in the repository which differs only in capitalization from one in the working copy.  But that is not the case here.

Whatever the cause of the assertion failure, it needs to be fixed.  A web search will show that others have hit the same bug (but I didn't see an entry in Savannah).

Ed Avis <epaepa>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by marciopd (Voted in favor of this item)
  • -email is unavailable- added by epaepa (Submitted the item)
  •  

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-29 marciopd Carbon-Copy- Added marciopd

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code