Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#2963) Unlimited recursion
Home

[Freeciv-Dev] Re: (PR#2963) Unlimited recursion

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2963) Unlimited recursion
From: "ue80@xxxxxxxxxxxxxxxxxxxxx via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 1 Feb 2003 08:27:10 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, Feb 01, 2003 at 08:15:10AM -0800, Raimar Falke via RT wrote:
> 
> 
> During an auto-game I got a server with a stack trace like this:
> #0  0x0807650a in airspace_looks_safe (x=73, y=37, pplayer=0x814df80)
>     at gotohand.c:1455
> #1  0x08076668 in air_can_move_between (moves=14, src_x=79, src_y=34, 
>     dest_x=69, dest_y=37, pplayer=0x814df80) at gotohand.c:1525
> #2  0x0809dc2e in refuel_iterate_process (rp_list=0x8450e60, pfrom=0x841323c)
>     at airgoto.c:468
> #3  0x0809dddd in find_air_first_destination (punit=0x8450e60, 
>     dest_x=0xbfa87198, dest_y=0xbfa87194) at airgoto.c:570
> #4  0x0807602d in do_unit_goto (punit=0xe, restriction=GOTO_MOVE_ANY, 
>     trigger_special_ability=false) at gotohand.c:1291
> #5  0x080ce532 in ai_unit_goto (punit=0x8424ce8, x=1076528712, y=1076528712)
>     at aitools.c:172
> #6  0x080c9a9e in ai_manage_airunit (pplayer=0x12, punit=0xa) at aiair.c:345
> #7  0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #8  0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #9  0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #10 0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #11 0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #12 0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #13 0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #14 0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> #15 0x080c9b2c in ai_manage_airunit (pplayer=0x814df80, punit=0x8424ce8)
>     at aiair.c:364
> 
> It will get into this state after saving civgame+1957.sav.gz. However
> the can't be recreated by loading civgame+1957.sav.gz or
> civgame+1947.sav.gz. So I attached the script to recreate the problem.

it's the same as #2898

ai/aiair.c line 362
cause is that:
    } else {
      /* Ooops.  Now better come back home */
      ai_manage_airunit(pplayer, punit);
    }

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxxxx
Wenn Du nicht programmieren kannst und Dir für Arbeit zu schade bist:
Werde Berater, Analyst oder organisiere Kongresse.



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