URL:
  <http://gna.org/bugs/?16656>

                 Summary: Arithmetic exception in improvement_effect_value()
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: mardi 07.09.2010 à 11:28
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0

    _______________________________________________________

Details:

Running with the experimental ruleset (maybe linked with tech upkeep?):

Program received signal SIGFPE, Arithmetic exception.
0x0000000000427d20 in improvement_effect_value (pplayer=<value optimised
out>, 
    pcity=<value optimised out>, pimprove=0x8d73a0, 
    already=<value optimised out>) at aicity.c:526
526               turns = MIN(turns,
#0  0x0000000000427d20 in improvement_effect_value (
    pplayer=<value optimised out>, pcity=<value optimised out>, 
    pimprove=0x8d73a0, already=<value optimised out>) at aicity.c:526
        potential = -1
        aplayer = 0x16634e0
        _pslot = <value optimised out>
        turns = 81
        bulbs = 90
        amount = 2
        uclass = <value optimised out>
        move = LAND_MOVING
        num = <value optimised out>
#1  adjust_improvement_wants_by_effects (pplayer=<value optimised out>, 
    pcity=<value optimised out>, pimprove=0x8d73a0, 
    already=<value optimised out>) at aicity.c:1014
        v1 = <value optimised out>
        mypreq = 0x2
        active = true
        n_needed_techs = 0
        myiter = 0x0
        peffect = 0x51
        v = <value optimised out>
        cities = {0, 0, 1, 8, 10, 10}
        nplayers = <value optimised out>
        ai = 0x1d4e8a0
        capital = false
        can_build = <value optimised out>
        source = {value = {advance = 0x8d73a0, govern = 0x8d73a0, 
            building = 0x8d73a0, nation = 0x8d73a0, specialist = 0x8d73a0, 
            terrain = 0x8d73a0, uclass = 0x8d73a0, utype = 0x8d73a0, 
            base = 0x8d73a0, ai_level = 9270176, citytile = 9270176, 
            minsize = 9270176, minyear = 9270176, outputtype = 9270176, 
            terrainclass = 9270176, terrainalter = 9270176, special =
9270176, 
            unitclassflag = 9270176, unitflag = 9270176}, 
          kind = VUT_IMPROVEMENT}
        is_coinage = false
        __FUNCTION__ = "adjust_improvement_wants_by_effects"
#2  0x0000000000428801 in adjust_wants_by_effects (
    pplayer=<value optimised out>) at aicity.c:1292
        already = false
        myiter = 0x1615b50
        is_coinage = false
        pimprove = 0x8d73a0
#3  ai_manage_buildings (pplayer=<value optimised out>) at aicity.c:1410
        ai = <value optimised out>
        wonder_city = 0x1613a90
        __FUNCTION__ = "ai_manage_buildings"
#4  0x0000000000428ff1 in ai_manage_cities (pplayer=0x16904a0) at
aicity.c:1939
        __FUNCTION__ = "ai_manage_cities"
#5  0x00000000004bdade in ai_do_last_activities (pplayer=0x16904a0)
    at aihand.c:479
No locals.
#6  0x0000000000406f15 in end_phase () at srv_main.c:876
        MY_i = 1
        pplayer = 0x16904a0
        __FUNCTION__ = "end_phase"
#7  0x000000000040b97d in srv_running () at srv_main.c:2087
        save_counter = 1
        is_new_turn = true
        eot_timer = 0x16afff0
        need_send_pending_events = <value optimised out>
#8  srv_main () at srv_main.c:2467
        __FUNCTION__ = "srv_main"
#9  0x00000000004039af in main (argc=<value optimised out>, 
    argv=0x7fffffffe2d8) at civserver.c:376
        inx = 7
        showhelp = false
        showvers = false
        option = 0xa3c0b0 "\320\300\243"
        __FUNCTION__ = "main"






    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16656>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to