[Monotone-devel] Bug report: mtn annotate fails with wrong character case of the filename

2006-05-04 Thread Vesselin Kostadinov
OS: Windows 2000

I have a real file path/to/FILE.EXT in the monotone repository.

mtn annotate path/to/File.ext
mtn: fatal: std::logic_error: roster.cc:180: invariant 'fetching
nonexistent entry from children' violated
mtn:
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
[EMAIL PROTECTED]
mtn: wrote debugging log to C:/#/_MTN/debug
mtn: if reporting a bug, please include this file

* Note: the # bit has been edited

mtn --full-version
monotone 0.26 (base revision: unknown)
Running on  : Windows NT/2000/XP (5.0, build 2195) on ia32
(level 15, rev 521)
C++ compiler: GNU C++ version 3.4.5 (mingw special)
C++ standard library: GNU libstdc++ version 20051201
Boost version   : 1_33_1
Changes since base revision:
unknown

A severely edited version of file debug is attached. All edits have
been marked with #.

Hope this helps.


Regards

Vesselin.
started up on Windows NT/2000/XP (5.0, build 2195) on ia32 (level 15, rev 521)
command line: 'mtn', 'annotate', '##'
set locale: LC_ALL=English_United States.1252
initial abs path is: C:/##
converting 3 bytes from ASCII to UTF-8
converting 8 bytes from ASCII to UTF-8
converting 24 bytes from ASCII to UTF-8
initializing from directory C:/##
searching for '_MTN' directory with root '/'
search for '_MTN' ended at 'C:/##' with '' removed
working root is 'C:/##'
initial relative path is ''
options path is _MTN/options
local dump path is _MTN/debug
setting dump path to _MTN/debug
skipping nonexistent rcfile 'C:/Documents and Settings/##/Application 
Data/monotone/monotonerc'
skipping nonexistent rcfile '_MTN/monotonerc'
executing command 'annotate'
branch name is 'com.##'
options path is _MTN/options
using MoveFileEx for renames
revision path is _MTN/revision
loading revision id from _MTN/revision
executing SQL 'SELECT sql FROM sqlite_master WHERE (type = 'table' OR type = 
'index') AND sql IS NOT NULL AND name not like 'sqlite_stat%' ORDER BY name'
result: 0 (not an error)
prepared statement SELECT 1 FROM revisions LIMIT 1
prepared statement SELECT 1 FROM rosters LIMIT 1
prepared statement SELECT id FROM revisions WHERE id = ?
annotate file file_path '##'
prepared statement SELECT roster_id FROM revision_roster WHERE rev_id = ? 
prepared statement SELECT id FROM rosters WHERE id = ?
reconstructing cabb7ca63e57cdebab1be50defffa8d600cf925a in roster_deltas
prepared statement SELECT id FROM roster_deltas WHERE id = ?
prepared statement SELECT base FROM roster_deltas WHERE id = ?
prepared statement SELECT data FROM rosters WHERE id = ?
following delta f7bf644f4220f29454ecc6165ef155dc3d8edbeb - 
b12eb6fcf5161fe3124122047b503d485adc315e
prepared statement SELECT delta FROM roster_deltas WHERE id = ? AND base = ?
following delta b12eb6fcf5161fe3124122047b503d485adc315e - 
646f3c8d1ef29124d9920ef46f6e1098599938a8
following delta 646f3c8d1ef29124d9920ef46f6e1098599938a8 - 
cabb7ca63e57cdebab1be50defffa8d600cf925a
roster.cc:180: invariant 'fetching nonexistent entry from children' violated
saving current work set: 5 items
finished saving work set
statement cache statistics
prepared 9 statements
1 executions of SELECT 1 FROM revisions LIMIT 1
1 executions of SELECT 1 FROM rosters LIMIT 1
3 executions of SELECT base FROM roster_deltas WHERE id = ?
1 executions of SELECT data FROM rosters WHERE id = ?
3 executions of SELECT delta FROM roster_deltas WHERE id = ? AND base = ?
1 executions of SELECT id FROM revisions WHERE id = ?
1 executions of SELECT id FROM roster_deltas WHERE id = ?
5 executions of SELECT id FROM rosters WHERE id = ?
1 executions of SELECT roster_id FROM revision_roster WHERE rev_id = ? 
Current work set: 5 items
- begin 'cmdline_string' (in int cpp_main(int, char**), at monotone.cc:274)
'mtn', 'annotate', '##'
-   end 'cmdline_string' (in int cpp_main(int, char**), at monotone.cc:274)
- begin 'locale_string' (in int cpp_main(int, char**), at monotone.cc:278)
English_United States.1252
-   end 'locale_string' (in int cpp_main(int, char**), at monotone.cc:278)
- begin 'full_version_string' (in int cpp_main(int, char**), at 
monotone.cc:283)
monotone 0.26 (base revision: unknown)
Running on  : Windows NT/2000/XP (5.0, build 2195) on ia32 (level 15, 
rev 521)
C++ compiler: GNU C++ version 3.4.5 (mingw special)
C++ standard library: GNU libstdc++ version 20051201
Boost version   : 1_33_1
Changes since base revision:
unknown
-   end 'full_version_string' (in int cpp_main(int, char**), at 
monotone.cc:283)
- begin 'sp' (in node_t roster_t::get_node(const split_path) const, at 
roster.cc:494)
./##
-   end 'sp' (in node_t roster_t::get_node(const split_path) const, at 
roster.cc:494)
- begin '*this' (in node_t roster_t::get_node(const split_path) const, at 
roster.cc:495)
Root node: 1463
   at 0xca1070, uses: 2

Node 1463
address: 

Re: [Monotone-devel] Bug report: mtn annotate fails with wrong character case of the filename

2006-05-04 Thread Emile Snyder
Hi Vesselin,

I worked on the annotate stuff alot back in the day, but haven't had
much time to devote to monotone lately.  So I'll do my best to figure
this out, but I might not be able to give it the time it needs...

You mention wrong character case of the filename in the subject; can you
elaborate on what you mean there?  Like, 'mtn annotate path/to/file.ext'
works ok but 'mtn annotate path/to/FILE.EXT' doesn't?

I'm trying to scrounge up a Windows 2000 box to test things on.  Can you
give me any more details that might help me reproduce this issue: do you
have any un-checked in changes in the working copy where you tried this
(assuming you tried from within a working copy)?  Has the file in
question been renamed/moved/recently added?  Any funny characters in the
name?  Was the database recently rosterified?

Thanks for the report,
-emile

On Thu, 2006-05-04 at 15:02 +0930, Vesselin Kostadinov wrote:
 OS: Windows 2000
 
 I have a real file path/to/FILE.EXT in the monotone repository.
 
 mtn annotate path/to/File.ext
 mtn: fatal: std::logic_error: roster.cc:180: invariant 'fetching
 nonexistent entry from children' violated
 mtn:
 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
 [EMAIL PROTECTED]
 mtn: wrote debugging log to C:/#/_MTN/debug
 mtn: if reporting a bug, please include this file
 
 * Note: the # bit has been edited
 
 mtn --full-version
 monotone 0.26 (base revision: unknown)
 Running on  : Windows NT/2000/XP (5.0, build 2195) on ia32
 (level 15, rev 521)
 C++ compiler: GNU C++ version 3.4.5 (mingw special)
 C++ standard library: GNU libstdc++ version 20051201
 Boost version   : 1_33_1
 Changes since base revision:
 unknown
 
 A severely edited version of file debug is attached. All edits have
 been marked with #.
 
 Hope this helps.
 
 
 Regards
 
 Vesselin.
 ___
 Monotone-devel mailing list
 Monotone-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/monotone-devel


signature.asc
Description: This is a digitally signed message part
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel