Summary: Server segfault in map_change_own_seen() when
loading savegame
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sun Jan 16 20:40:41 2011
                Category: None
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: S2_3 r18960
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 2.3.0



Reproducible for me with S2_3 r18960 and attached savegame. This savegame was
saved with an earlier version of S2_3 svn (circa 2010-12-16), using the
experimental ruleset.

The backtrace looks very similar to bug #17459, but I haven't investigated
enough, so separate bug for now.

Running on Ubuntu Lucid on amd64. Backtrace from GDB:

#0  map_change_own_seen (pplayer=0x2a88780, ptile=0x297db70,
    change=0x7fffb0282050, can_reveal_tiles=<value optimized out>)
    at maphand.c:879
#1  shared_vision_change_seen (pplayer=0x2a88780, ptile=0x297db70,
    change=0x7fffb0282050, can_reveal_tiles=<value optimized out>)
    at maphand.c:496
#2  0x000000000047d0a6 in map_claim_ownership_full (ptile=0x297db70,
    powner=0x2a88780, psource=<value optimized out>, ignore_loss=0x0)
    at maphand.c:1590
#3  0x000000000049c610 in sg_load_map_owner (loading=<value optimized out>)
    at savegame2.c:2530
#4  sg_load_map (loading=<value optimized out>) at savegame2.c:2111
#5  0x00000000004a4289 in savegame2_load_real (file=<value optimized out>)
    at savegame2.c:598
#6  savegame2_load (file=<value optimized out>) at savegame2.c:528
#7  0x000000000041403a in load_command (caller=<value optimized out>,
    filename=<value optimized out>, check=<value optimized out>)
    at stdinhand.c:3545
#8  0x000000000040c3e6 in srv_prepare () at srv_main.c:2251
#9  0x000000000040c504 in srv_main () at srv_main.c:2518
#10 0x0000000000404137 in main (argc=<value optimized out>,
    argv=0x7fffb0284678) at civserver.c:375


File Attachments:

Date: Sun Jan 16 20:40:41 2011  Name: freeciv-T0211-Y01555-manual.sav.bz2 
Size: 66kB   By: jtn
Savegame which segfaults with S2_3 r18960


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to