Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#2318) consistent crash when playing games repeated
Home

[Freeciv-Dev] Re: (PR#2318) consistent crash when playing games repeated

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#2318) consistent crash when playing games repeatedly
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Jul 2004 07:12:20 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=2318 >

Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=2318 >
> 
>>[jing - Sun Jul 11 05:28:00 2004]:
>>
>>I can no longer reproduce the crash in CVS head.  Should this be
>>considered resolved?
> 
> 
> I doubt it.  It wouldn't be reproducable from the RC file because the
> games proceed differently.  To reproduce it now we'd have to run games
> from scratch with an update of the original patch.
> 
> But until someone does that, it's definitely stalled...

Well, I got another crash.

318         if (ai->government_want[gov->index] > best_val
(gdb) bt
#0  0x0811d7ed in ai_best_government (pplayer=0x81c2658) at aihand.c:318
#1  0x0811b252 in ai_data_turn_init (pplayer=0x81c2658) at aidata.c:294
#2  0x0804e721 in begin_phase (is_new_phase=true) at srv_main.c:483
#3  0x080500b5 in main_loop () at srv_main.c:1426
#4  0x0805027e in srv_main () at srv_main.c:1545
#5  0x0804a2ad in main (argc=5, argv=0xbffff864) at civserver.c:161
(gdb) select 0
(gdb) p gov->index
$1 = 0
(gdb) p ai->government_want
$2 = (int *) 0xd99e608
(gdb) p ai->government_want[0]
Cannot access memory at address 0xd99e608

Not quite the same one, I think, but it seems _some_ bug still remains.

jason




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