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

 
 

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

bug #15748: backslash in file name causes invariant failure

Submitted by:  None
Submitted on:  Tue 14 Feb 2006 04:26:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: crashStatus: Fixed
Privacy: PublicAssigned 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>
Project 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

 

Attached Files
file #13248:  debug added by None (4kB - application/octet-stream - The _MTN/debug file for my crash)
file #1996:  debug added by None (34kB - 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
  • -unavailable- added by tbrownaw (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 16 May 2010 05:57:05 PM UTCtbrownawStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 05 Jul 2007 12:04:14 AM UTCNoneAttached File-=>Added debug, #13248
    Tue 14 Feb 2006 04:26:40 AM UTCNoneAttached File-=>Added debug, #3402

    Back to the top


    Powered by Savane 3.1-cleanup