Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: fix recent misuse of LOG_FATAL
Home

[Freeciv-Dev] Re: fix recent misuse of LOG_FATAL

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: fix recent misuse of LOG_FATAL
From: Thue Janus Kristensen <thue@xxxxxxx>
Date: Thu, 11 May 2000 20:27:18 +0200

On Thu, 11 May 2000, David Pfitzner wrote:
> Jeff Mallatt wrote:
> 
> > Here's a patch that changes these two back to LOG_FATAL, and makes them so.
> 
> > +     exit(1);
> 
> In cases like these abort() may be better, so you get a core dump
> which you can examine to try work out what/why it went wrong.
> 
> -- David

In the first case, the one that reports the wrap error, It would often be
very practical to keep on playing to study the map to see what went
wrong. (Can you restart the server from the core dump?)

-Thue



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