Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[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: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/19063
From: Christian Knoke <ChrisK@xxxxxxxx>
Date: Sat, 4 Aug 2001 13:07:14 +0200

Am Samstag,  4. August 2001 02:32 schrieb Ross W. Wetmore:
> This code is all gone in the mapgen updates. There are hard loops
> that actually cover all cases in decreasing levels of "niceness"
> to provide some fairness, instead of guessing for awhile then
> throwing a fit ...
>
> But it may still do bad things in really pathalogical cases.
>

That's ok, and fine for me.

The point of my previous mail was, and I may not have
been explicit enough, a real segmentation fault, not a provoked
termination, with my second run. May I cite this again? But neither
I am able to reproduce it, nor do I claim that it's relevant:

> Speicherzugriffsfehler (core dumped)

> Here is the backtrace:

-------------------------------------
Program terminated with signal 11, Speicherzugriffsfehler.                      
                     
[...]
#0  0x80bc2bf in ai_manage_explorer (punit=0x822cb50) at aiunit.c:257
257       int range = get_unit_type(punit->type)->vision_range;
(gdb) bt
#0  0x80bc2bf in ai_manage_explorer (punit=0x822cb50) at aiunit.c:257
#1  0x80c0c61 in ai_manage_unit (pplayer=0x81410b4, punit=0x822cb50) at 
aiunit.c:1936
#2  0x80c0d69 in ai_manage_units (pplayer=0x81410b4) at aiunit.c:1983
#3  0x80babb2 in ai_do_first_activities (pplayer=0x81410b4) at aihand.c:488
#4  0x804db7f in ai_start_turn () at srv_main.c:363
#5  0x8050936 in main_loop () at srv_main.c:1678
#6  0x80510b1 in srv_main () at srv_main.c:1968
#7  0x804a296 in main (argc=3, argv=0xbffff604) at civserver.c:147
--------------------------------------

This happened during startup phase, x=40 y=25 aifill=30 gen=2;
corefile available.

Regards,
Christian

-- 
* Christian Knoke                           +49 4852 92248 *
* D-25541 Brunsbuettel                  Wurtleutetweute 49 *
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



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