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


In the attempt to correct the borders wrong set as shown in

http://bugs.freeciv.org/Ticket/Display.html?id=40526

I switched to edit mode and set the terrain ownership, in a reasonable way,
as I think they should be.

After that I called "recalculate borders" which made civserver crash.

In another attempt, I didn't call "recalculate borders", and ended edit
mode. It crashed then at turn done.

Logs and dumps of both attempts attached.

Christian

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

CRASH AT CALLING RECALCULATE BORDERS (In Edit Mode, after editing terrain)
==========================================================================

3: sending packet type=PACKET_EDIT_RECALCULATE_BORDERS(152) len=3
3: sending request 96
3: got packet type=(PACKET_EDIT_RECALCULATE_BORDERS)152 len=3
3: sending packet type=PACKET_PROCESSING_STARTED(0) len=3
3: map_calculate_borders() sites
3: map_calculate_borders() cities
3: (33,14) claim border 19 "Mawson"[2]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 4mal wiederholt (insgesamt 8 Wiederholungen)
3: letzte Mitteilung 2mal wiederholt (insgesamt 10 Wiederholungen)
3: (31,16) claim border 20 "Vanimo"[3]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: sending packet type=PACKET_TILE_INFO(14) len=10
3: (28,18) claim border 19 "Popondetta"[2]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 1mal wiederholt (insgesamt 3 Wiederholungen)
3: (29,20) claim border 21 "Port Moresby"[4]
3: (33,18) claim border 24 "Lae"[7]
3: (35,16) claim border 22 "WHO"[5]
3: ( 7,17) claim border 25 "UNHCR"[8]
3: ( 0,13) claim border 25 "Trusteeship Council"[8]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: ( 2,17) claim border 25 "ECOSOC"[8]
3: ( 7,14) claim border 24 "General Assembly"[7]
3: ( 4,14) claim border 24 "Security Council"[7]
3: (12,18) claim border 22 "Lorengau"[5]
3: (18,20) claim border 19 "Alotau"[2]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: (22,20) claim border 21 "Madang"[4]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 3mal wiederholt (insgesamt 7 Wiederholungen)
3: (21,17) claim border 24 "Kimbe"[7]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: (25,16) claim border 21 "Arawa"[4]
3: sending packet type=PACKET_TILE_INFO(14) len=10
3: sending packet type=PACKET_TILE_INFO(14) len=8
civserver: maphand.c:1562: map_claim_ownership: Zusicherung »((void *)0) == 
playtile->site« nicht erfüllt.
1: Lost connection to server!
3: settings file is /home/chris/.civclientrc


Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves 
--debug 3 --log civclient.lo'.
Program terminated with signal 6, Aborted.
#0  0xb7fb0410 in ?? ()
(gdb) bt full
#0  0xb7fb0410 in ?? ()
No symbol table info available.
#1  0xbfd55ad8 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x00001b02 in ?? ()
No symbol table info available.
#4  0xb7e25811 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb7e26fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0xb7e1efbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#7  0x080e2ba5 in map_claim_ownership (ptile=0x8852340, powner=0x82aeaa4, 
psource=0x8851890) at maphand.c:1562
        playtile = (struct player_tile *) 0x0
        playsite = (struct player_tile *) 0x8300c1c
        psite = <value optimized out>
        pcity = (struct city *) 0x0
        ploser = (struct player *) 0x82adec8
        __PRETTY_FUNCTION__ = "map_claim_ownership"
#8  0x080e4cb2 in map_claim_border (ptile=0x8851890, powner=0x82aeaa4) at 
maphand.c:1775
        dsite = <value optimized out>
        r = <value optimized out>
        pcity = <value optimized out>
        psite = (struct vision_site *) 0x838ac58
#9  0x080e4ffa in map_calculate_borders () at maphand.c:1798
        myiter = (struct genlist_link *) 0x0
        pcity_player = (struct player *) 0x82aeaa4
#10 0x080e1594 in server_handle_packet (type=PACKET_EDIT_RECALCULATE_BORDERS, 
packet=0x6, pplayer=0x0,
    pconn=0x1b02) at hand_gen.c:324
No locals.
#11 0x080b98bd in server_packet_input (pconn=0x823a7e0, packet=0x835e140, 
type=152) at srv_main.c:1221
        pplayer = <value optimized out>
#12 0x0810992c in server_sniff_all_input () at sernet.c:399
        max_desc = <value optimized out>
        readfs = {fds_bits = {32, 0 <repeats 31 times>}}
        writefs = {fds_bits = {0 <repeats 32 times>}}
        exceptfs = {fds_bits = {0 <repeats 32 times>}}
        tv = {tv_sec = 0, tv_usec = 928000}
        last_noplayers = 0
        connections = true
#13 0x080bb415 in srv_running () at srv_main.c:1866
        pplayer = <value optimized out>
        eot_timer = (struct timer *) 0x83a4d40
        save_counter = 1
        is_new_turn = false
        __PRETTY_FUNCTION__ = "srv_running"
#14 0x080bbf86 in srv_main () at srv_main.c:2226
No locals.
#15 0x0804aff7 in main (argc=Cannot access memory at address 0x1b02
) at civserver.c:283
        inx = 12
        showhelp = false
        showvers = false
        option = <value optimized out>
(gdb)





WITHOUT CALL OF RECALCULATE BORDERS
===================================
crash at turn done

3: map_calculate_borders() sites
3: map_calculate_borders() cities
3: (33,14) claim border 19 "Mawson"[2]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 4mal wiederholt (insgesamt 8 Wiederholungen)
3: (31,16) claim border 20 "Vanimo"[3]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: (28,18) claim border 19 "Popondetta"[2]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 1mal wiederholt (insgesamt 5 Wiederholungen)
3: (29,20) claim border 21 "Port Moresby"[4]
3: (33,18) claim border 24 "Lae"[7]
3: (35,16) claim border 22 "WHO"[5]
:
3: ( 7,17) claim border 25 "UNHCR"[8]
3: ( 0,13) claim border 25 "Trusteeship Council"[8]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: ( 2,17) claim border 25 "ECOSOC"[8]
3: ( 7,14) claim border 24 "General Assembly"[7]
3: ( 4,14) claim border 24 "Security Council"[7]
3: (12,18) claim border 22 "Lorengau"[5]
3: (18,20) claim border 19 "Alotau"[2]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: (22,20) claim border 21 "Madang"[5]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 3mal wiederholt (insgesamt 7 Wiederholungen)
3: (21,17) claim border 24 "Kimbe"[8]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: (25,16) claim border 21 "Arawa"[5]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 2mal wiederholt (insgesamt 6 Wiederholungen)
3: (27, 6) claim border 19 "McMurdo"[2]
3: (24, 2) claim border 22 "Mirny"[5]
3: (31, 3) claim border 22 "Halley"[5]
3: (30,14) claim border 18 "Fossil Bluff"[1]
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 1mal wiederholt (insgesamt 5 Wiederholungen)
3: sending packet type=PACKET_TILE_INFO(14) len=10
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
3: sending packet type=PACKET_TILE_INFO(14) len=10
3: sending packet type=PACKET_TILE_INFO(14) len=8
3: letzte Mitteilung 2mal wiederholt
civserver: maphand.c:1562: map_claim_ownership: Zusicherung »((void *)0) == 
playtile->site« nicht erfüllt.
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 4mal wiederholt (insgesamt 8 Wiederholungen)
3: letzte Mitteilung 8mal wiederholt (insgesamt 16 Wiederholungen)
3: letzte Mitteilung 13mal wiederholt (insgesamt 29 Wiederholungen)
3: got packet type=(PACKET_CHAT_MSG)18 len=42
3: Neither of tags e_imp_build or (null) found
3: got packet type=(PACKET_CHAT_MSG)18 len=29
3: Neither of tags e_imp_auto or (null) found
3: got packet type=(PACKET_CHAT_MSG)18 len=47
3: Neither of tags e_imp_build or (null) found
3: got packet type=(PACKET_CHAT_MSG)18 len=29
3: Neither of tags e_imp_auto or (null) found
3: got packet type=(PACKET_CITY_SHORT_INFO)22 len=7
3: got packet type=(PACKET_TILE_INFO)14 len=9
3: got packet type=(PACKET_TILE_INFO)14 len=9
3: got packet type=(PACKET_CITY_INFO)21 len=49
3: Neither of tags b_temple or b_generic found
3: got packet type=(PACKET_CITY_INFO)21 len=43
3: Neither of tags b_barracks_ii or b_generic found
3: got packet type=(PACKET_CITY_INFO)21 len=19
3: got packet type=(PACKET_CITY_INFO)21 len=15
3: got packet type=(PACKET_CITY_INFO)21 len=17
3: got packet type=(PACKET_CITY_INFO)21 len=19
3: got packet type=(PACKET_CITY_INFO)21 len=17
3: got packet type=(PACKET_CITY_INFO)21 len=15
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 1mal wiederholt (insgesamt 3 Wiederholungen)
3: got packet type=(PACKET_END_TURN)138 len=3
3: got packet type=(PACKET_TILE_INFO)14 len=8
3: letzte Mitteilung 2mal wiederholt
3: letzte Mitteilung 2mal wiederholt (insgesamt 4 Wiederholungen)
3: letzte Mitteilung 4mal wiederholt (insgesamt 8 Wiederholungen)
3: letzte Mitteilung 8mal wiederholt (insgesamt 16 Wiederholungen)
3: letzte Mitteilung 16mal wiederholt (insgesamt 32 Wiederholungen)
3: letzte Mitteilung 15mal wiederholt (insgesamt 47 Wiederholungen)
3: got packet type=(PACKET_TILE_INFO)14 len=10
3: got packet type=(PACKET_TILE_INFO)14 len=8
3: letzte Mitteilung 2mal wiederholt
3: got packet type=(PACKET_TILE_INFO)14 len=10
3: got packet type=(PACKET_TILE_INFO)14 len=8
3: letzte Mitteilung 2mal wiederholt
1: Lost connection to server!
3: settings file is /home/chris/.civclientrc


Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves 
--debug 3 --log civclient.lo'.
Program terminated with signal 6, Aborted.
#0  0xb7f0f410 in ?? ()
(gdb) bt full
#0  0xb7f0f410 in ?? ()
No symbol table info available.
#1  0xbfd7cd08 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x00001d8d in ?? ()
No symbol table info available.
#4  0xb7d84811 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb7d85fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0xb7d7dfbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#7  0x080e2ba5 in map_claim_ownership (ptile=0x8850648, powner=0x82af680, 
psource=0x88505b8) at maphand.c:1562
        playtile = (struct player_tile *) 0x0
        playsite = (struct player_tile *) 0x88bd9e8
        psite = <value optimized out>
        pcity = (struct city *) 0x0
        ploser = (struct player *) 0x82adec8
        __PRETTY_FUNCTION__ = "map_claim_ownership"
#8  0x080e4cb2 in map_claim_border (ptile=0x88505b8, powner=0x82af680) at 
maphand.c:1775
        dsite = <value optimized out>
        r = <value optimized out>
        pcity = <value optimized out>
        psite = (struct vision_site *) 0x8302a98
#9  0x080e4ffa in map_calculate_borders () at maphand.c:1798
        myiter = (struct genlist_link *) 0x8302bd8
        pcity_player = (struct player *) 0x82af680
#10 0x080bab04 in end_turn () at srv_main.c:845
No locals.
#11 0x080bb97d in srv_running () at srv_main.c:1890
        pplayer_index = <value optimized out>
        eot_timer = (struct timer *) 0x83a4d40
        save_counter = 1
        is_new_turn = true
        __PRETTY_FUNCTION__ = "srv_running"
#12 0x080bbf86 in srv_main () at srv_main.c:2226
No locals.
#13 0x0804aff7 in main (argc=Cannot access memory at address 0x1d8d
) at civserver.c:283
        inx = 12
        showhelp = false
        showvers = false
        option = <value optimized out>
(gdb)
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to