[Freeciv-Dev] Re: concerning the use of assert
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 1 Sep 2002, Per I. Mathisen wrote:
> On Sun, 1 Sep 2002, Per I. Mathisen wrote:
>
> And here is a proof of concept patch. It does not implement any fancy
> "let's try call gdb" stuff but it works, and it should be possible to use
> on civserver.freeciv.org. error(FALSE) will send us a text saying
>
> Server error detected: FALSE
> srv_main in srv_main.c line 1835
>
> and a corresponding savegame which will hopefully be helpful in
> reproducing the error. The server use will see this:
The good thing is that the game will continue, thus not upsetting people
too much. The bad thing is that it's highly doubtful that the savegame
will help and that there will be no core file which is usually _very_
helpful.
Hence a stupid question: is it possible to both dump core and save game
and continue execution?
G.
>
> "
> *** Server error detected! ***
> Error in srv_main in srv_main.c line 1835
> The check was: FALSE
> The error has been dodged and a savegame will be created.
> Please send it along with this message to bugs@xxxxxxxxxxxxxxxxxxx!
>
> Game saved as error.sav.gz
> "
>
> I've not made use of __DATE__ or made a client version of this function
> yet, and I intend to see if there is a way to get a backtrace still.
>
> Please read and comment.
>
> Yours
> Per
>
> "I don't see why people are so upset about cloning sheep. American
> television networks have been doing that to their audiences for years."
> -- Jello Biafra
>
- [Freeciv-Dev] concerning the use of assert, Per I. Mathisen, 2002/09/01
- [Freeciv-Dev] Re: concerning the use of assert, Per I. Mathisen, 2002/09/01
- [Freeciv-Dev] Re: concerning the use of assert,
Gregory Berkolaiko <=
- [Freeciv-Dev] Re: concerning the use of assert, Per I. Mathisen, 2002/09/01
- [Freeciv-Dev] Re: concerning the use of assert, Raimar Falke, 2002/09/06
- [Freeciv-Dev] Re: concerning the use of assert, Per I. Mathisen, 2002/09/08
- [Freeciv-Dev] Re: concerning the use of assert, Raimar Falke, 2002/09/09
- [Freeciv-Dev] Re: concerning the use of assert, Per I. Mathisen, 2002/09/09
- [Freeciv-Dev] autobacktrace (was: concerning the use of assert), Reinier Post, 2002/09/10
- [Freeciv-Dev] Re: autobacktrace (was: concerning the use of assert), Ross W. Wetmore, 2002/09/13
- [Freeciv-Dev] Re: autobacktrace (was: concerning the use of assert), Reinier Post, 2002/09/13
- [Freeciv-Dev] Re: autobacktrace (was: concerning the use of assert), Per I. Mathisen, 2002/09/13
- [Freeciv-Dev] Re: autobacktrace (was: concerning the use of assert), Jason Short, 2002/09/13
|
|