Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#4522) map.c error
Home

[Freeciv-Dev] Re: (PR#4522) map.c error

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4522) map.c error
From: "ue80@xxxxxxxxxxxxxxxxxxxxx" <ue80@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jul 2003 12:04:56 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, Jul 14, 2003 at 11:44:13AM -0700, Jason Short wrote:
> --On Monday, July 14, 2003 10:33:38 -0700 "ue80@xxxxxxxxxxxxxxxxxxxxx" 
> <ue80@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > i had some problems with starting a game:
> >
> ># 3  0x40099ae9 in __assert_fail () from /lib/libc.so.6
> ># 4  0x0809c3e9 in map_clear_special (x=137710776, y=137710776,
> > spe=S_NO_SPECIAL) at map.c:1262
> ># 5  0x08069b2a in init_new_game () at mathinline.h:440
> >
> > so i initialized that variables.
> > Now its working
> 
> This makes little sense.  Those variables are never used uninitialized (see 
> the attached patch which should make this clear).
> 
> It is far more likely this error happens because map.start_positions isn't 
> correctly allocated.  This was changed recently.  So if you start a game in 
> an unusual way you might hit a case we didn't catch...

It was a started game with standard rules and 1 player ...
 
> Can you reproduce this problem?  How?  Is it reproducable under the patch? 
> Can you get a more complete backtrace?  If it's not reproducable, can you 
> tell me how you were starting the game that got the error?

No i can't reproduce it, don't know why ...
Perhaps its because of some problems with my computer, had it with the
ping patch too ...

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.



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