Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#14473) civserver segfault
Home

[Freeciv-Dev] (PR#14473) civserver segfault

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14473) civserver segfault
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Thu, 27 Oct 2005 06:19:14 -0700
Reply-to: bugs@xxxxxxxxxxx

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


SVN HEAD 27 OCT 2005 GTK2

Need more info?


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

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
#0  0x080fada4 in num_known_tech_with_flag (pplayer=0x54, flag=TF_FARMLAND) at 
player.c:409
409       return get_player_research(pplayer)->num_known_tech_with_flag[flag];

(gdb) bt full
#0  0x080fada4 in num_known_tech_with_flag (pplayer=0x54, flag=TF_FARMLAND) at 
player.c:409
No locals.
#1  0x080fae58 in player_knows_techs_with_flag (pplayer=0x54, flag=84) at 
player.c:444
No locals.
#2  0x080ae3ce in base_get_output_tile (ptile=0x84c40e8, pcity=0x856bd40, 
city_x=2, city_y=2, 
    is_celebrating=false, otype=O_FOOD) at city.c:617
        pterrain = (const struct terrain *) 0x820abb0
        tile = {x = 0, y = 135828464, nat_x = 0, nat_y = 137813504, index = 0, 
terrain = 0x820abb0, special = {
    vec = "\006\001"}, city = 0x80ad3de, units = 0x0, tile_known = {vec = 
"\000\000\000"}, tile_seen = {{
      vec = "8���"}, {vec = "��\n\b"}}, worked = 0x2, continent = 2, owner = 
0x0, spec_sprite = 0x0}
        prod = 1
        output = (const struct output_type *) 0x81893a0
#3  0x080ae537 in base_city_get_output_tile (city_x=2, city_y=2, 
pcity=0x856bd40, is_celebrating=false, otype=84)
    at city.c:732
        ptile = (struct tile *) 0x6
#4  0x080b0717 in set_city_tile_output (pcity=0x856bd40) at city.c:1601
        o = O_SHIELD
        x = 2
        y = 2
        _index = 0
        is_celebrating = false
#5  0x080afaa1 in generic_city_refresh (pcity=0x856bd40, full_refresh=true, 
    send_unit_info=0x8063760 <send_unit_info>) at city.c:2120
        pplayer = (struct player *) 0x8da04d8
        prev_tile_trade = 6
        faces = 6
#6  0x0806c4d6 in city_refresh (pcity=0x856bd40) at cityturn.c:91
No locals.
#7  0x080a09f4 in real_unit_change_homecity (punit=0x8578918, 
new_pcity=0x856bd40) at unithand.c:306
        old_pcity = (struct city *) 0x0
        old_owner = (struct player *) 0x8284460
        new_owner = (struct player *) 0x8288588
#8  0x08068a9b in transfer_city_units (pplayer=0x8288588, pvictim=0x8284460, 
units=0x841b348, pcity=0x856bd40, 
    exclude_city=0x0, kill_outside=1, verbose=true) at citytools.c:598
        new_home_city = (struct city *) 0x0
        vunit = (struct unit *) 0x8578918
        ptile = (struct tile *) 0x84c40e8
#9  0x08069186 in transfer_city (ptaker=0x8288588, pcity=0x856bd40, 
kill_outside=84, transfer_unit_verbose=true, 
    resolve_stack=true, raze=false) at citytools.c:818
        i = 1
        i = 0
        pgiver = (struct player *) 0x8284460
        old_trade_routes = {136873352, 136856672, -1073743784, 134739929}
        had_small_wonders = {vec = '\0' <repeats 24 times>}
        old_city_name = 
"Mazeikiai\000����\017\b\210\205(\b\000\000\000\000(���ϲ\017\b"
        old_vision = (struct vision *) 0x861e008
#10 0x080a6082 in diplomat_incite (pplayer=0x8288588, pdiplomat=0x8d50dc8, 
pcity=0x856bd40) at diplomats.c:758
        cplayer = (struct player *) 0x8284460
        revolt_cost = 153
#11 0x0811f2e3 in ai_diplomat_city (punit=0x8d50dc8, ctarget=0x856bd40) at 
aidiplomat.c:309
        pplayer = (struct player *) 0x8288588
        tplayer = (struct player *) 0x8284460
        count_impr = 0
        count_tech = 0
        gold_avail = 469
        incite_cost = 84
#12 0x0811fcdb in ai_manage_diplomat (pplayer=0x8288588, punit=0x8d50dc8) at 
aidiplomat.c:682
        dist = 1
        path = (struct pf_path *) 0x85a4ad8
        pcity = (struct city *) 0x85a4ad8
        ctarget = (struct city *) 0x856bd40
        parameter = {start_tile = 0x84c2d28, moves_left_initially = 6, 
fuel_left_initially = 1, move_rate = 6, 
  fuel = 1, owner = 0x8288588, unit_flags = {vec = 
"\030\000\002\000\000\000\000"}, omniscience = true, 
  turn_mode = TM_WORST_TIME, get_MC = 0x8123120 <normal_move_unit>, unknown_MC 
= 6, get_TB = 0, get_EC = 0, 
  get_zoc = 0, is_pos_dangerous = 0x8123830 <is_pos_dangerous>, get_costs = 0, 
data = 0xbffff9b0}
        map = (struct pf_map *) 0x88fb610
        pos = {tile = 0xbffff934, turn = 1075048504, moves_left = 2, fuel_left 
= 134920389, total_MC = 137966712, 
  total_EC = -1073743528, dir_to_next_pos = 1074952336, dir_to_here = 
3221223744}
#13 0x0811df15 in ai_manage_unit (pplayer=0x8288588, punit=0x8d50dc8) at 
aiunit.c:2111
        bodyguard = (struct unit *) 0x0
#14 0x0811e526 in ai_manage_units (pplayer=0x8288588) at aiunit.c:2249
        punit = (struct unit *) 0x54
        _ids = 0xbffff9ec
        _i = 24
        _size = 39
#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 = 6
#17 0x08050646 in begin_phase (is_new_phase=true) at srv_main.c:570
        pplayer = (struct player *) 0x828b0f8
        i = 10
#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) quit

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





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