monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] mtn mv, assertion violated.


From: Neil Murphy
Subject: [Monotone-devel] mtn mv, assertion violated.
Date: Wed, 26 Apr 2006 11:34:16 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)


Hi,

I seem to have managed to crash montone. The error messages asks me to report the problem so I am. It seems monotone has gotten confused by the destination of a mv being a directory.

(BTW Monotone is great otherwise! Vastly better than CVS. Changesets are very nice. The netsync access control system could provide more feedback though; It took me ages to realize I had single not double quotes in my read-permissions file.)

Neil Murphy.


transcript:


/e/monotone/asic3/switch/verilog $
/e/monotone/asic3/switch/verilog $ mkdir ../../common
/e/monotone/asic3/switch/verilog $ mkdir ../../common/verilog
/e/monotone/asic3/switch/verilog $ mtn mv --execute ../../mac_plus/verilog/timescale.v ../../common/verilog/
mtn: adding common to workspace manifest
mtn: renaming mac_plus/verilog/timescale.v to common/verilog in workspace manifest mtn: warning: destination common/verilog already exists in workspace, skipping
/e/monotone/asic3/switch/verilog $ mtn status
mtn: warning: expected file 'common/verilog', but it is a directory.
mtn: warning: missing common/verilog
mtn: misuse: 1 missing files; use 'mtn ls missing' to view
mtn: misuse: to restore consistency, on each missing file run either
mtn: misuse: 'mtn drop FILE' to remove it permanently, or
mtn: misuse: 'mtn revert FILE' to restore it
mtn: misuse: or to handle all at once, simply 'monotone drop --missing'
mtn: misuse: or 'monotone revert --missing'
/e/monotone/asic3/switch/verilog $ mtn mv --execute ../../mac_plus/verilog/timescale.v ../../common/verilog/timescale.v mtn: fatal: std::logic_error: /home/lapo/packaging/tmp/monotone-0.26/roster.hh:128: invariant 'I(static_cast<bool>(d))' 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 address@hidden
mtn: wrote debugging log to /e/monotone/asic3/_MTN/debug
mtn: if reporting a bug, please include this file



_MTN/debug:


started up on CYGWIN_NT-4.0 1.5.19(0.150/4/2) 2006-01-20 13:28 i686
command line: 'mtn', 'mv', '--execute', '../../mac_plus/verilog/timescale.v', '../../common/verilog/timescale.v'
set locale: LC_ALL=C
initial abs path is: /e/monotone/asic3/switch/verilog
converting 3 bytes from US-ASCII to UTF-8
converting 2 bytes from US-ASCII to UTF-8
converting 9 bytes from US-ASCII to UTF-8
converting 34 bytes from US-ASCII to UTF-8
converting 32 bytes from US-ASCII to UTF-8
initializing from directory /e/monotone/asic3/switch/verilog
searching for '_MTN' directory with root '/'
'_MTN' not found in '/e/monotone/asic3/switch/verilog' with '' removed
'_MTN' not found in '/e/monotone/asic3/switch' with 'verilog' removed
search for '_MTN' ended at '/e/monotone/asic3' with 'switch/verilog' removed
working root is '/e/monotone/asic3'
initial relative path is 'switch/verilog'
options path is _MTN/options
local dump path is _MTN/debug
setting dump path to _MTN/debug
opening rcfile '/home/fnm/.monotone/monotonerc'
'/home/fnm/.monotone/monotonerc' is ok
skipping nonexistent rcfile '_MTN/monotonerc'
executing command 'mv'
branch name is 'com.cambridgebroadband.asic3.switch'
executing command 'rename'
branch name is 'com.cambridgebroadband.asic3.switch'
options path is _MTN/options
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 = ?
prepared statement SELECT roster_id FROM revision_roster WHERE rev_id = ?
prepared statement SELECT id FROM rosters WHERE id = ?
prepared statement SELECT data FROM rosters WHERE id = ?
base roster has 376 entries
work path is _MTN/work
checking for un-committed work file _MTN/work
read cset from _MTN/work
/home/lapo/packaging/tmp/monotone-0.26/roster.hh:128: invariant 'I(static_cast<bool>(d))' violated
saving current work set: 3 items
finished saving work set
statement cache statistics
prepared 6 statements
1 executions of SELECT 1 FROM revisions LIMIT 1
1 executions of SELECT 1 FROM rosters LIMIT 1
1 executions of SELECT data FROM rosters WHERE id = ?
1 executions of SELECT id FROM revisions WHERE id = ?
1 executions of SELECT id FROM rosters WHERE id = ?
1 executions of SELECT roster_id FROM revision_roster WHERE rev_id = ?
Current work set: 3 items
----- begin 'cmdline_string' (in int cpp_main(int, char**), at /home/lapo/packaging/tmp/monotone-0.26/monotone.cc:274) 'mtn', 'mv', '--execute', '../../mac_plus/verilog/timescale.v', '../../common/verilog/timescale.v' ----- end 'cmdline_string' (in int cpp_main(int, char**), at /home/lapo/packaging/tmp/monotone-0.26/monotone.cc:274) ----- begin 'locale_string' (in int cpp_main(int, char**), at /home/lapo/packaging/tmp/monotone-0.26/monotone.cc:278)
C
----- end 'locale_string' (in int cpp_main(int, char**), at /home/lapo/packaging/tmp/monotone-0.26/monotone.cc:278) ----- begin 'full_version_string' (in int cpp_main(int, char**), at /home/lapo/packaging/tmp/monotone-0.26/monotone.cc:283)
monotone 0.26 (base revision: unknown)
Running on          : CYGWIN_NT-4.0 1.5.19(0.150/4/2) 2006-01-20 13:28 i686
C++ compiler : GNU C++ version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
C++ standard library: GNU libstdc++ version 20050519
Boost version       : 1_33_1
Changes since base revision:
format_version "1"

new_manifest [622264d4ccf1461336f8f4a43032596ee8b4e98f]

old_revision [cdf0e31265a271a8e9a4126e022c3018306bf3dc]

add_file "bin/zshdiff"
 content [0166ccf2a008b6e18437b590b865a5e829349c14]

patch ".Xdefaults"
 from [d7ffb8c0dfb33a3e7b6a76a74c61ef508ecc7657]
   to [ac6d1239dba0b440920c1196fb152845ca4af1e3]

patch ".ssh/known_hosts"
 from [2be8faf9613dfacd44b9ffd900fb28b5c0c05ce7]
   to [bf358444e41111b0f752c028890e07ce68289c6e]

patch ".zshrc"
 from [ec8990aaaa138c84cf57b336a55f02ab2cc1dfb4]
   to [8534c39dcb175770811798a86164f2dbee1d50bd]

  set "bin/zshdiff"
 attr "mtn:execute"
value "true"
----- end 'full_version_string' (in int cpp_main(int, char**), at /home/lapo/packaging/tmp/monotone-0.26/monotone.cc:283)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]