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

 
 

bug #21774: Assertion failure

Submitted by:  Ed Avis <epaepa>
Submitted on:  Tue 11 Dec 2007 05:55:14 PM UTC  
Votes:  100  
 
Category: Bug ReportSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Dec 2011 03:31:04 PM UTCmarciopdCarbon-Copy-=>Added marciopd

    Back to the top


    Powered by Savane 3.1-cleanup