Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktex
Home

[Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktex

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Fri, 10 Sep 2004 12:22:13 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10027 >

> [jdorje - Fri Sep 10 19:08:08 2004]:
> 
> 
> First, make sure you have updated code and rerun autogen.sh.

done.  I did a cvs update and then autogen'ed from scratch.  BTW, I use
the --disable-nls option, if it matters.

> Do you have iconv installed?

yes
system      SUNWuiu8                         Iconv modules for UTF-8 Locale

 
> What is the result of "cat config.h|grep ICONV"?

dev-null:{bretta}$ cat config.h | grep -i iconv
/* Define if you have the iconv() function. */
#define HAVE_ICONV 1
/* Define as const if the declaration of iconv() needs const. */
#define ICONV_CONST const

> What is the result of "echo $LANG" and "locale"?

dev-null:{bretta}$ echo $LANG
C
dev-null:{bretta}$ locale
LANG=C
LC_CTYPE=C
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=C

> If you enable this code in utility/fciconv.c:
> 
>    #ifdef DEBUG
>      /* FIXME: Remove this output when this code has stabilized. */
>      fprintf(stderr, "Encodings: Data=%s, Local=%s, Internal=%s\n",
>              data_encoding, local_encoding, internal_encoding);
>    #endif
> 
> what does it output (for server and client)?

dev-null:{bretta}$ civclient &
[1] 21689
dev-null:{bretta}$ Encodings: Data=UTF-8, Local=646, Internal=UTF-8

dev-null:{bretta}$ civserver -f civgame+1110md.sav.gz
Encodings: Data=UTF-8, Local=646, Internal=UTF-8

 
> Finally, are you sure you don't have an old installation lying around 
> whose data is being used?  I don't know exactly in what order the server 
> searches for ruleset files, but if it's using an old nation ruleset this 
> would cause the above error.

I did a "make install" which copies all the current files over to
/usr/local (on top of the old ones).  It's possible I have a ruleset
laying around, but I doubt it.  I will clean out everything freeciv
related under /usr/local and rebuild.
 
-- 
Brett Albertson
brett.albertson@xxxxxxxxxxxx


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