Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9470) Received value isn't boolean: 99
Home

[Freeciv-Dev] Re: (PR#9470) Received value isn't boolean: 99

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: brett.albertson@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9470) Received value isn't boolean: 99
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Jul 2004 10:05:31 -0700
Reply-to: rt@xxxxxxxxxxx

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

Brett Albertson wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9470 >
> 
> Upon updating from the CVS version from 7/19/04 to 7/21/04, I started
> getting the message:
> 
> 1: Received value isn't boolean: 24
> 1: Received value isn't boolean: 99
> 1: Received value isn't boolean: 99
> 1: Received value isn't boolean: 24
> 1: Received value isn't boolean: 99

Can you apply this patch and run.  Then get a backtrace:

shell> gdb client/civclient core
gdb> bt

(assuming it's the civclient that crashes; if it's the civserver then 
change it...)

jason

Index: common/dataio.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/dataio.c,v
retrieving revision 1.11
diff -u -r1.11 dataio.c
--- common/dataio.c     2 Jun 2004 19:47:41 -0000       1.11
+++ common/dataio.c     21 Jul 2004 17:00:28 -0000
@@ -456,6 +456,7 @@
   if (ival != 0 && ival != 1) {
     freelog(LOG_ERROR, "Received value isn't boolean: %d", ival);
     ival = 1;
+    abort();
   }
 
   *dest = (ival != 0);

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