Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
Home

[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/162970
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 29 Nov 2003 23:33:36 +0000 (GMT)

On Sat, 29 Nov 2003 freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> #20x40076364 in abort () from /lib/libc.so.6
> #30x4006f15d in __assert_fail () from /lib/libc.so.6
> #40x0808f47f in check_units () at sanitycheck.c:239
> #50x0808f6b4 in sanity_check () at sanitycheck.c:285
> #60x0805091d in main_loop () at srv_main.c:1792

Is there actually any point in doing asserts in sanity_check()? The
backtraces generated from such asserts are usually useless, while the
errors are often recoverable if they didn't assert. Much better to output
some useful error logging, IMHO.

  - Per



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