monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Interesting bug in French locale :-)


From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] Interesting bug in French locale :-)
Date: Fri, 09 Sep 2005 00:54:34 +0200 (CEST)

In message <address@hidden> on Thu, 08 Sep 2005 19:54:07 +0200 (CEST), Richard 
Levitte - VMS Whacker <address@hidden> said:

richard> : ; LC_ALL=fr_FR monotone pull 
richard> monotone: récupération anonyme; utilisez -kNOMCLEF si vous avez besoin 
d'une authentification
richard> monotone: connexion à off.net
richard> monotone: recherche d'éléments à synchroniser :
richard> monotone:   certs |   clefs | révisions
richard> monotone:   15717 |      31 |    3310
richard> monotone: fatal: std::logic_error: ui.cc:34: invariant 
'I(ui.tickers.find(tickname) == ui.tickers.end())' violated
richard> monotone: 
richard> monotone: 
richard> monotone: this is almost certainly a bug in monotone.
richard> monotone: please send this error message, the output of 'monotone 
--full-version',
richard> monotone: and a description of what you were doing to address@hidden
richard> monotone: wrote debugging log to 
/home/levitte/monotonework/off.net/monotone/monotone/MT/debug
richard> 
richard> 
richard> I think I understand what happens.  Anyone else get it :-)?

So I did a small test:

--- ui.cc       77a48bddc373a115f5ec6cc0077afa17a2a762d0
+++ ui.cc       67f0bfaf42b9afed031e9d1b4d183423f7596bbc
@@ -31,6 +31,10 @@
   name(tickname),
   shortname(s)
 {
+  std::map<std::string,ticker *>::const_iterator i = ui.tickers.find(tickname);
+  cerr << "new tickname: " << tickname;
+  if (i != ui.tickers.end()) cerr << ", found tickname: " << i->first;
+  cerr << endl;
   I(ui.tickers.find(tickname) == ui.tickers.end());
   ui.tickers.insert(make_pair(tickname,this));
 }

Lo' and behold:

: ; LC_ALL=fr_FR ./monotone pull 
monotone: récupération anonyme; utilisez -kNOMCLEF si vous avez besoin d'une 
authentification
monotone: connexion à off.net
monotone: recherche d'éléments à synchroniser :
new tickname: révisions
new tickname: certs
new tickname: clefs
monotone:   certs |   clefs | révisions
monotone:   15717 |      31 |    3310
new tickname: octets ?
new tickname: octets ?, found tickname: octets ?
monotone: fatal: std::logic_error: ui.cc:38: invariant 
'I(ui.tickers.find(tickname) == ui.tickers.end())' violated
monotone: 
monotone: 
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone 
--full-version',
monotone: and a description of what you were doing to address@hidden
monotone: wrote debugging log to 
/home/levitte/monotonework/off.net/monotone/monotone/MT/debug

This is on Debian [unstable], freshly updated.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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