monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Getting a segfault when trying French


From: Richard Levitte - VMS Whacker
Subject: [Monotone-devel] Getting a segfault when trying French
Date: Thu, 26 Jan 2006 23:05:16 +0100 (CET)

Hi,

I'm getting a segfault when I try the French translation:

  : ; LC_MESSAGES=fr_FR.utf8 ./monotone pul
  monotone: connexion à off.net
  monotone: recherche d'éléments à synchroniser :
  monotone: certificates | clefs | révisions
  monotone:       14 165 |    16 |     4 688
  monotone: fatal: std::logic_error: ui.cc:38: invariant 
'I(ui.tickers.find(tickname) == ui.tickers.end())' violated
  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
  terminate called after throwing an instance of 'boost::io::too_many_args'
    what():  boost::too_many_args: format-string refered to less arguments than 
were passed
  terminate called recursively
  Segmenteringsfel

Taking a look at the translation, I noticed that Benoît used arrows to
indicate if the bytes, certs and revs are coming in or out.  I suspect
the error is caused by me not using the proper fonts or something like
that.

I tried to see what was happening by adding the following:

--- ui.cc       88bd082d78f7c8296dac0268ef6114200310207f
+++ ui.cc       540918ea24fb30b16ad60885c0b42904d35df5fe
@@ -34,6 +34,7 @@
   name(tickname),
   shortname(s)
 {
+  cerr << "DEBUG[ticker::ticker]: tickname = \"" << tickname << "\"" << endl;
   I(ui.tickers.find(tickname) == ui.tickers.end());
   ui.tickers.insert(make_pair(tickname,this));
 }

And here's the result:

  : ; LC_MESSAGES=fr_FR.utf8 ./monotone pul
  monotone: connexion à off.net
  monotone: recherche d'éléments à synchroniser :
  DEBUG[ticker::ticker]: tickname = "révisions"
  DEBUG[ticker::ticker]: tickname = "certificates"
  DEBUG[ticker::ticker]: tickname = "clefs"
  monotone: certificates | clefs | révisions
  monotone:       14 165 |    16 |     4 688
  DEBUG[ticker::ticker]: tickname = "octets ?"
  DEBUG[ticker::ticker]: tickname = "octets ?"
  monotone: fatal: std::logic_error: ui.cc:38: invariant 
'I(ui.tickers.find(tickname) == ui.tickers.end())' violated
  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
  terminate called after throwing an instance of 'boost::io::too_many_args'
    what():  boost::too_many_args: format-string refered to less arguments than 
were passed
  terminate called recursively
  Segmenteringsfel

Can someone tell me how to get this to work properly?  I'd bet it's a
locale thing again...

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]