[Freeciv-Dev] Re: (PR#6396) assertion on server start
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Oct 04, 2003 at 02:25:46PM -0700, Per I. Mathisen wrote:
>
> On Sat, 4 Oct 2003, Guest wrote:
> > For introductory help, type 'help'.
> > > loadcat5civ.sav.gz
> > Loading saved game: cat5civ.sav.gz...
> > 2: Loading rulesets
> ...
> > civserver: timing.c:241: start_timer: Assertion `t != ((void *)0)'
> > failed.
> > Abortado -> Aborted
>
> This happens whenever you load a savegame from _within_ the server (as
> opposed to from --file parameter). I can reproduce. Don't know how to fix.
#0 0x400f3831 in kill () from /lib/libc.so.6
#1 0x400f35ed in raise () from /lib/libc.so.6
#2 0x400f49f4 in abort () from /lib/libc.so.6
#3 0x400ecfa9 in __assert_fail () from /lib/libc.so.6
#4 0x080c172e in start_timer (t=0x0) at timing.c:248
#5 0x080e0b25 in cm_query_result (pcity=0x85be728, parameter=0xbffff7e0,
result=0x0) at cm.c:1454
#6 0x0806be38 in auto_arrange_workers (pcity=0x85be728) at cityturn.c:198
#7 0x080d21eb in ai_best_government (pplayer=0x81f9a88) at aihand.c:203
#8 0x080d12ec in ai_data_turn_init (pplayer=0x81f9a88) at aidata.c:293
#9 0x0804e3ec in begin_turn () at srv_main.c:467
#10 0x0804fced in main_loop () at srv_main.c:1436
#11 0x0804ff6a in srv_main () at srv_main.c:1590
#12 0x0804a088 in main (argc=135302144, argv=0xbffff9f4) at civserver.c:154
#13 0x400e0767 in __libc_start_main () from /lib/libc.so.6
struct stats in cm.c is not getting initialized.
-mike
|
|