Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#10927) Crash freeciv beta3 linux
Home

[Freeciv-Dev] (PR#10927) Crash freeciv beta3 linux

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: nijpels@xxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10927) Crash freeciv beta3 linux
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Nov 2004 22:26:10 -0800
Reply-to: rt@xxxxxxxxxxx

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

> [vasc - Mon Nov 08 01:53:50 2004]:
> 
> > [jdorje - Sun Nov 07 18:00:27 2004]:
> > 
> > Well, here is a patch to just work around the bug.  It will only apply 
> > to S2_0 since the dev branch has rather different code here.  For the 
> > dev branch I think we're better off without this "fix" but if we
want it 
> > it'll be even easier to do there.
> 
> Yeah, but does the map exist in the client at this time or not? I
> remember someone mentioned things like goto mode not going away on
> disconnect, which could be causing this I think.

Even after the game ends, there's still a map.

But this could be the problem.  I don't know how we'd find out or what
we would do to fix it though.  Any possible return value here is likely
to cause a crash in the caller if there's no map.

> A simple check for map_exists() should be enough to find out.
> 
> I have a patch for the goto mode bug, but had zero feedback thus far.
> See PR#10176.

Seems unrelated.

jason




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