Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14480) can open units window for peaceful trireme
Home

[Freeciv-Dev] Re: (PR#14480) can open units window for peaceful trireme

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14480) can open units window for peaceful trireme
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Thu, 27 Oct 2005 14:25:57 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14480 >

On Thu, Oct 27, 2005 at 01:05:13PM -0700, Jason Short wrote:
> 
> > I can open the unit window for a hungarian trireme. I'm in peace with
> > Hungary but definetely no alliance (my ally is in war with Hungary).
> > 
> > I can't do anything in the window except closing it.

20 or so turns later the following crash:


Core was generated by `civserver -p 5555 -q 1 -e --saves ~/.freeciv/saves'.
Program terminated with signal 6, Aborted.

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler

Reading symbols from /lib/libreadline.so.5...done.
Loaded symbols for /lib/libreadline.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  0x400bc83b in raise () from /lib/tls/libc.so.6

(gdb) bt full
#0  0x400bc83b in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x400bdfa2 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x400b62df in __assert_fail () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x08123f77 in pft_fill_unit_default_parameter (parameter=0xbffff890, 
punit=0x85666d8) at pf_tools.c:788
No locals.
#4  0x08123b41 in pft_fill_unit_overlap_param (parameter=0xbffff890, 
punit=0x85666d8) at pf_tools.c:679
        danger = true
#5  0x08118e7c in ai_fill_unit_param (parameter=0xbffff890, risk_cost=0x0, 
punit=0x85666d8, ptile=0x0)
    at aitools.c:658
        long_path = false
        barbarian = true
        is_ai = true
#6  0x08118eeb in ai_unit_goto (punit=0x85666d8, ptile=0x85fcff0) at 
aitools.c:784
        parameter = {start_tile = 0x85666d8, moves_left_initially = 0, 
fuel_left_initially = 13, 
  move_rate = -1073743936, fuel = 136873352, owner = 0x0, unit_flags = {vec = 
"\000\000\000\000�$\214\b"}, 
  omniscience = 216, turn_mode = TM_CAPPED, get_MC = 0xbffff8f8, unknown_MC = 
134707506, get_TB = 0x85fcff0, 
  get_EC = 0x85fcff0, get_zoc = 0x85fcff0, is_pos_dangerous = 0x2fb, get_costs 
= 0x9, data = 0x1c}
        risk_cost = {base_value = 1.6961548589405911e-268, fearfulness = 
5.2567828861396162e-270, 
  ocean_cost = 1.6961548960758353e-268, unsafe_terrain_cost = 
2.765535996430442e-313, 
  enemy_zoc_cost = 1.6961548589405911e-268}
#7  0x08118458 in ai_gothere (pplayer=0x0, punit=0x85666d8, 
dest_tile=0x85fcff0) at aitools.c:313
No locals.
#8  0x0811bde3 in ai_military_defend (pplayer=0x8288588, punit=0x85666d8) at 
aiunit.c:1044
        pcity = (struct city *) 0x847cc60
#9  0x0811d573 in ai_military_attack (pplayer=0x8288588, punit=0x85666d8) at 
aiunit.c:1763
        dest_tile = (struct tile *) 0x85feaf0
        id = 764
        ct = 3
        pcity = (struct city *) 0x3
        start_tile = (struct tile *) 0x85feaf0
#10 0x0811db37 in ai_manage_military (pplayer=0x8288588, punit=0x85666d8) at 
aiunit.c:1996
        id = 764
#11 0x0811e111 in ai_manage_unit (pplayer=0x8288588, punit=0x85666d8) at 
aiunit.c:2150
        bodyguard = (struct unit *) 0x10
#12 0x08110ce6 in ai_manage_ferryboat (pplayer=0x8288588, punit=0x88c24e0) at 
aiferry.c:914
        boss = (struct unit *) 0x85666d8
        ptile = (struct tile *) 0x85666d8
        pcity = (struct city *) 0x0
        sanity = 763
#13 0x0811e081 in ai_manage_unit (pplayer=0x8288588, punit=0x88c24e0) at 
aiunit.c:2134
        bodyguard = (struct unit *) 0x10
#14 0x0811e526 in ai_manage_units (pplayer=0x8288588) at aiunit.c:2249
        punit = (struct unit *) 0x0
        _ids = 0xbffffa7c
        _i = 2
        _size = 3
#15 0x08112500 in ai_do_first_activities (pplayer=0x8288588) at aihand.c:427
No locals.
#16 0x0805047b in ai_start_phase () at srv_main.c:449
        pplayer = (struct player *) 0x8288588
        i = 0
#17 0x08050646 in begin_phase (is_new_phase=true) at srv_main.c:570
        pplayer = (struct player *) 0x8282ea8
        i = 5
#18 0x08052402 in main_loop () at srv_main.c:1555
        eot_timer = (struct timer *) 0x84829c8
        save_counter = 1
        is_new_turn = true
#19 0x080525af in srv_main () at srv_main.c:1685
No locals.
#20 0x0804ab69 in main (argc=135601198, argv=0xbffffc24) at civserver.c:242
        inx = 8
        showhelp = false
        showvers = false
        option = 0x5 <Address 0x5 out of bounds>
(gdb) 


-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.





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