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 17:14:30 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [jdorje - Fri Sep 10 23:56:45 2004]:
> 
> Ugh.  Here's a similar patch for freeciv (but without the comments 
it 
> obviously needs).  Does this work?  Are you sure we should use UTF-8 
> here and not ISO-8859-1?
> 
> Test to see if the output of non-ascii characters on the server 
command 
> line (like in "/list") is correct.  Try under UTF-8 and ISO-8859-1.

Two updates:

I updated to the current CVS and there was no change.

I added your "646" patch, and it now core dumps with no special 
FREECIV_LOCAL_ENCODING set.  Here's the backtrace.

#0  0xfec85004 in _doprnt () from /usr/lib/libc.so.1
#1  0xfec88c30 in vsnprintf () from /usr/lib/libc.so.1
#2  0x000629e4 in my_vsnprintf ()
#3  0x0005b9b4 in fc_fprintf ()
#4  0x0005d9f0 in vreal_freelog ()
#5  0x0005dbec in real_freelog ()
#6  0x0005b8dc in convert_string ()
#7  0x0005b9dc in fc_fprintf ()
#8  0x0005d9f0 in vreal_freelog ()
#9  0x0005dbec in real_freelog ()
#10 0x0005b8dc in convert_string ()
#11 0x0005b9dc in fc_fprintf ()
#12 0x0005d9f0 in vreal_freelog ()
#13 0x0005dbec in real_freelog ()
#14 0x0005b8dc in convert_string ()
#15 0x0005b9dc in fc_fprintf ()
#16 0x0005d9f0 in vreal_freelog ()
#17 0x0005dbec in real_freelog ()
#18 0x0005b8dc in convert_string ()
#19 0x0005b9dc in fc_fprintf ()
#20 0x0005d9f0 in vreal_freelog ()
#21 0x0005dbec in real_freelog ()
#22 0x0005b8dc in convert_string ()
 
 
-- 
Brett Albertson
brett.albertson@xxxxxxxxxxxx


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