bugmonotone - Bugs: bug #15748, backslash in file name causes...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15748: backslash in file name causes invariant failure

Submitter:  None
Submitted:  Tue 14 Feb 2006 04:26:40 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
mtn version --full: 

monotone 0.25 (base revision: 4f4cb0aa339ad70c5b2624db22073d9e9a36c115)
Running on: Linux 2.6.8-24.19-default #1 Tue Nov 29 14:32:45 UTC 2005 i686
Changes since base revision:
new_manifest [76b5ea65324372db9886d2c0a8cee8e759841c8c]

old_revision [4f4cb0aa339ad70c5b2624db22073d9e9a36c115]
old_manifest [76b5ea65324372db9886d2c0a8cee8e759841c8c]

Sun 16 May 2010 05:57:05 PM UTC, comment #3: 

This appears to have since been fixed.

$ touch '__RUN find -name \* '
$ mtn add __RUN*
mtn: misuse: path '__RUN find -name \* ' is invalid

Timothy Brownawell <tbrownaw>
Group Member
Thu 05 Jul 2007 12:04:14 AM UTC, comment #2: 

I confirm the same behaviour in monotone 0.33. A file named
"__RUN find -name _\*  _" causes mtn ls missing to crash, with this message:

mtn: fatal: std::logic_error: paths.cc:307: invariant 'I(is_valid_internal(data()))' violated
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn --full-version',
mtn: and a description of what you were doing to monotone-devel@nongnu.org.
mtn: wrote debugging log to /etc/apache2.frontend/_MTN/debug
mtn: if reporting a bug, please include this file

I'm attaching the _MTN/debug


(file #13248)

Anonymous
Thu 05 Jul 2007 12:02:16 AM UTC, comment #1: 

I confirm the same behaviour in monotone 0.33. A file named
"__RUN find -name _\*  _" causes mtn ls missing to crash, with this message:

mtn: fatal: std::logic_error: paths.cc:307: invariant 'I(is_valid_internal(data()))' violated
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn --full-version',
mtn: and a description of what you were doing to monotone-devel@nongnu.org.
mtn: wrote debugging log to /etc/apache2.frontend/_MTN/debug
mtn: if reporting a bug, please include this file

I'm attaching the _MTN/debug

Anonymous
Tue 14 Feb 2006 04:26:40 AM UTC, original submission:  

Monotone 0.25 "automate inventory" is reporting an invariant violation. The problem seems to be a file in my .kde directory.  I can reproduce the error by copying .kde into a clean sandbox created from a fresh database.  I just built the monotone from the source tarball on SuSE 9.2, using Boost 1.33 from the Packman archives and SuSE packages for everything else.  The debug file is attached.

[monotone]$ monotone db init --db=test.db
[monotone]$ monotone --db=test.db --branch=test.branch setup testdir
[monotone]$ cd testdir
[testdir]$ echo test file > test-file
[testdir]$ monotone add test-file
monotone: adding test-file to working copy add set
[testdir]$ monotone commit
monotone: beginning commit on branch 'test.branch'
enter passphrase for key ID [gjditchfield@acm.org]:
monotone: committed revision e80634917e6e100bb9f387f5888d3b542fb6cb35
[testdir]$ monotone automate inventory
    0 0 test-file
[testdir]$ cp -pr ~/.kde .
[testdir]$ monotone automate inventory
monotone: fatal: std::logic_error: paths.cc:215: invariant
'I(is_valid_internal(data()))' violated

Anonymous

 

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

Attached Files
file #13248:  debug added by None (4KiB - application/octet-stream - The _MTN/debug file for my crash)
file #1996:  debug added by None (34KiB - text/x-csrc - debug file generated by monotone)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tbrownaw (Posted a comment)
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-16 tbrownaw StatusNone Fixed
        Open/ClosedOpen Closed
    2007-07-05 None Attached File- Added debug, #13248
    2006-02-14 None Attached File- Added debug, #3402

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code