Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Possible save bug (PR#1497)
Home

[Freeciv-Dev] Re: Possible save bug (PR#1497)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Possible save bug (PR#1497)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Fri, 24 May 2002 07:31:29 -0700 (PDT)

On Fri, May 24, 2002 at 02:35:18PM +0200, Christian Knoke wrote:
> On Fri, May 24, 2002 at 02:25:07PM +0200, Reinier Post wrote:
> > On Fri, May 24, 2002 at 01:22:14PM +0200, Christian Knoke wrote:
> > > I suddenly get:
> > > 
> > > > 
> > > Konnte das Spiel nicht in der Datei 'khan+1240.sav.gz' speichern
> > > > save khan3.sav
> > > Konnte das Spiel nicht in der Datei 'khan3.sav.gz' speichern
> > > 
> > > It seems to me that the file system is not the reason. I deleted
> > > a bunch of files in the directory and still got the error.
> > 
> > What happens when you /save with a full pathname?
> 
> Good question, didn't come to my mind ...
> 
> I get the same error, when I save with full pathname on
> another filesystem:
> 
> > save /tmp/khan3.sav
> Konnte das Spiel nicht in der Datei '/tmp/khan3.sav.gz' speichern
> 
> The machine runs quite stable ...

Ok, remove 'possible' from subject.

CVS 24 MAY 2002

Only if the file to save already exists, it is possible, to save.
I verified this with different file systems, compression levels
( 0 and 6 ) and names, using auto-generated names and not.

Reproducible.

I put a savegame with the name khan3.sav.gz in incoming.

Just load the game, connect, start, and type "save".
civserver will avoid to save then.

Then go in a terminal and type:

touch khan+1410m.sav.gz

Back in civserver, type "save" again.
Should work now.

At least for me. If you still can't reproduce it, I can provide a compressed
corefile (700 KB).

Most curious bug I ever found ;-)

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.




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