Summary: Observing game crashes server
                 Project: Freeciv
            Submitted by: andreasr
            Submitted on: Thu 23 May 2013 09:11:29 PM GMT
                Category: general
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 



Observing a game crashes the server upon end turn.
Start a new game, then observe it with a different client using global
observer command.
Press end turn on the playing client, which cases a segmentation faul on the

This is using Freeciv trunk. It also occurs on freeciv-web,
but this build is using an unmodified freeciv trunk build.

gdb output:

Program received signal SIGSEGV, Segmentation fault.
dbv_isset (pdbv=pdbv@entry=0xaf0, bit=1970) at bitvector.c:120
120       fc_assert_ret_val(pdbv->vec != NULL, FALSE);
(gdb) bt full
#0  dbv_isset (pdbv=pdbv@entry=0xaf0, bit=1970) at bitvector.c:120
        __FUNCTION__ = "dbv_isset"
#1  0x0000000000554562 in tile_get_known (ptile=ptile@entry=0x2078240,
    pplayer=pplayer@entry=0x0) at tile.c:462
No locals.
#2  0x0000000000548c47 in can_player_see_unit_at (pplayer=0x0,
    punit=0x21fbbf0, ptile=0x2078240) at player.c:857
        pcity = <optimized out>
#3  0x000000000041fbcd in remove_unit_gone_out_of_sight (
    punit=punit@entry=0x21fbbf0, old_tile=old_tile@entry=0x2078240,
    dest=<optimized out>) at unittools.c:2386
        pplayer = 0x0
        pconn_iter = 0x0
        pconn = <optimized out>
#4  0x0000000000423381 in unit_move (punit=punit@entry=0x21fbbf0,
    pdesttile=pdesttile@entry=0x2078290, move_cost=<optimized out>)
    at unittools.c:3472
        pplayer = 0x3802480
        psrctile = 0x2078240
        pcity = <optimized out>
        ptransporter = <optimized out>
        old_vision = <optimized out>
        new_vision = <optimized out>
---Type <return> to continue, or q <return> to quit---
        pcargo_units = 0x21fb4a0
        saved_id = 119
        unit_lives = true


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to