bugConcurrent Versions System - Bugs: bug #25458, cvs: Program terminated with...


bug #25458: cvs: Program terminated with signal 11, Segmentation fault.

Submitter:  nomad <nomad>
Submitted:  Sun 01 Feb 2009 01:56:51 PM UTC
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

Sun 01 Feb 2009 01:59:31 PM UTC, comment #1: 


[QUESTION3] is it known? when it was fixed if yes.
[QUESTION4] could rlog/log continue with warining?

nomad <nomad>
Sun 01 Feb 2009 01:56:51 PM UTC, original submission:  

cvs log/rlog(most probably others cause problems also) failing with: Program terminated with signal 11, Segmentation fault.

Cause: some how files (under Attic in my case) has the following format:

more /path/to/file/Attic/File.java
head    1.2;
locks; strict;
comment @# @;

date    2004.;    author nomad; state dead;
next    1.1;

The problem is "symbols" keyword. At some point in time this file was deleted, "symbols" keyword present, but no actual "symbols" specified.

[QUESTION1] How does this used to happen I don't know.

Tested workaround (manually) is to replace "symbols" with "symbols;" or to add actual symbols.

[QUESTION2] Reasonable error code could be returned by cvs.

cvs version:
cvs -v
Concurrent Versions System (CVS) 1.11.17 (client/server)

Copyright (c) 1989-2004 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

GDB stack trace of core:
(gdb) bt
#0  0x0807db0c in do_symbols ()
#1  0x0807f66a in RCS_symbols ()
#2  0x08070dd4 in log_fileproc ()
#3  0x0808908b in do_file_proc ()
#4  0x08067f4f in walklist ()
#5  0x08088e29 in do_recursion ()
#6  0x08089a78 in unroll_files_proc ()
#7  0x08067f4f in walklist ()
#8  0x08088851 in start_recursion ()
#9  0x08070487 in rlog_proc ()
#10 0x08077531 in my_module ()
#11 0x08078202 in do_module ()
#12 0x0806ffff in cvslog ()
#13 0x08075e54 in main ()

nomad <nomad>


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

Attach Files:

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 nomad (Submitted the item)

    There are 0 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.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code