URL:
<http://gna.org/bugs/?18546>
Summary: segfault when loading an incomplete map
Project: Freeciv
Submitted by: akfaew
Submitted on: Mon Aug 22 15:22:16 2011
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: S2.3
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
I know this is rather unimportant, but I also believe this should be
reported.
The save is basically this, plus the map itself:
1 [scenario]
2 name=_("Earth (classic/giant)")
3 description=_("Map of the Earth.")
4
5 [map]
6 topology_id=1
7 height=180
8 width=468
#0 0x00000000002ad6e8 in my_has_capability (cap=0x40e379 "version2",
capstr=0x0, cap_len=8) at capability.c:48
48 GET_TOKEN(capstr, next);
(gdb) bt
#0 0x00000000002ad6e8 in my_has_capability (cap=0x40e379 "version2",
capstr=0x0, cap_len=8) at capability.c:48
#1 0x00000000002ad898 in has_capabilities (us=0x40e378 "+version2",
them=0x0) at capability.c:81
#2 0x00000000001a481c in savegame2_load (file=0x2086f8080) at
savegame2.c:527
#3 0x0000000000117594 in load_command (caller=Variable "caller" is not
available.
) at stdinhand.c:3584
#4 0x000000000010bfb0 in srv_prepare () at srv_main.c:2265
#5 0x000000000010dc2c in srv_main () at srv_main.c:2536
#6 0x0000000000103e78 in main (argc=16, argv=0xfffffffffffbf008) at
civserver.c:375
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18546>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev