Follow-up Comment #2, bug #16281 (project freeciv):

Reproduced some trouble with S2_3 r19764 (latest), built with --enable-debug.
Not identical, but similar.

When I load the savefile I get some warnings which I think is to do with bug
#18209 (unrelated?).

I don't see the "get_defender bug" messages. If I run without fatal
assertions, nothing crashes and I see this on the server:

1: in begin_phase() [srv_main.c::930]: assertion 'punit->transported_by !=
-1' failed.
1: Please report this message at
1: in begin_phase() [srv_main.c::930]: assertion 'transporter != ((void *)0)
&& can_unit_transport(transporter, punit)' failed.
1: Please report this message at

With -F on the server, 

0: in begin_phase() [srv_main.c::930]: assertion 'punit->transported_by !=
-1' failed.
0: Please report this message at
Aborted (core dumped)

and backtrace:

#0  0x00007f9d4247da75 in *__GI_raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimised out>
        selftid = <value optimised out>
#1  0x000000000058587f in fc_assert_fail (file=0x5c40ad "srv_main.c", 
    function=0x5c4e67 "begin_phase", line=930, 
    assertion=<value optimised out>, message=0x0) at log.c:476
        level = LOG_FATAL
#2  0x00000000004950c8 in check_units (file=<value optimised out>, 
    function=0x5c4e67 "begin_phase", line=930) at sanitycheck.c:429
        pcity = <value optimised out>
        phome = <value optimised out>
        transporter2 = <value optimised out>
        ptile = 0x2fb50a8
        transporter = 0x0
        punit_iter = 0x28c06c0
        punit = 0x28c0340
        pplayer = 0x2d8f290
        _pslot = 0x21e89b0
        __FUNCTION__ = "check_units"
#3  0x0000000000496eee in real_sanity_check (file=<value optimised out>, 
    function=0x5c4e67 "begin_phase", line=930) at sanitycheck.c:569
No locals.
#4  0x000000000040cbfd in begin_phase () at srv_main.c:930
No locals.
#5  srv_running () at srv_main.c:2114
        save_counter = 1
        is_new_turn = true
        eot_timer = 0x2582fe0
        need_send_pending_events = false
#6  srv_main () at srv_main.c:2552
        __FUNCTION__ = "srv_main"
#7  0x0000000000404237 in main (argc=<value optimised out>, 
    argv=0x7fff81cd82b8) at civserver.c:375
        inx = 4
        showhelp = false
        showvers = false
        option = 0x0
        __FUNCTION__ = "main"


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to