bugmonotone - Bugs: bug #22417, fatal botan error if unreadable...

 
 

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

bug #22417: fatal botan error if unreadable files are encountered in a workspace

Submitter:  Thomas Keller <tommyd>
Submitted:  Tue 26 Feb 2008 12:12:34 AM UTC
   
 
Category:  error handling Severity:  3 - Normal
Item Group:  incorrect behavior Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
mtn version --full: 

monotone 0.38 (Basis-Revision: c1757f6cde49bddd77c82580059105bc470145b2)
Laufe auf              : Darwin 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386
C++-Compiler           : GNU C++ version 4.0.1 (Apple Inc. build 5465)
C++-Standard-Bibliothek: GNU libstdc++ version 20050421
Boost-Version          : 1_34
"Anderungen seit der Basis-Revision:
format_version "1"

new_manifest [085f4d04a0bbbc06b44cf6194ca9c2079f924cdd]

old_revision [c1757f6cde49bddd77c82580059105bc470145b2]

Sat 08 May 2010 09:39:29 PM UTC, comment #2: 

Monotone currently also fails for missing files which are somewhat similar to unreadable files. Perhaps we should still fail but with a nicer message rather than a hard crash.

Derek Scherger <dscherger>
Group Member
  Spam posted by anonymous
Tue 26 Feb 2008 12:12:34 AM UTC, original submission:  

Steps to reproduce (assuming you have a copy of a mtn db laying around):

$ mtn co -d monotone.mtn net.venge.monotone mtn
$ cd mtn
$ chmod 100 NEWS
$ mtn status
mtn: fatal: Botan::Stream_IO_Error: Botan: I/O error: DataSource_Stream: Failure opening NEWS
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn version --full',
mtn: and a description of what you were doing to monotone-devel@nongnu.org.
mtn: wrote debugging log to /Users/tommyd/mtn/_MTN/debug
mtn: if reporting a bug, please include this file

We certainly should just ignore unreadable files in the workspace and print out a warning at most.

Thomas Keller <tommyd>
Group administrator

 

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

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dscherger (Posted a comment)
  • -email is unavailable- added by tommyd (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-26 tommyd Dependencies- Depends on bugs #15691

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code