[Freeciv-Dev] Re: (PR#7009) Segfault in first turn
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7009 >
On Sun, Nov 30, 2003 at 11:30:20PM -0800, Guest wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7009 >
>
> Using CVS (HEAD) updated a few minutes ago, although this issue has been
> present for a few days:
> On ending the first turn, in civserver:
> Program received signal SIGSEGV, Segmentation fault.
> 0x080b2a5d in build_landarea_map_turn_0 (pcmap=0x817d904) at score.c:214
> 214 pcmap->player_landarea[owner]++;
> (gdb) bt full
> #0 0x080b2a5d in build_landarea_map_turn_0 (pcmap=0x817d904) at score.c:214
> i = 3
> x = 3
> y = 0
> WMI_index = 3
> turn = 0
> owner = 1075843300
That is the problem. The ptile->city field is probably garbage.
I can't reproduce this. Valgrind doesn't find any invalid memory
reads.
How can this problem be reproduces?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"SIGDANGER - The System is likely to crash soon"
- [Freeciv-Dev] Re: (PR#7009) Segfault in first turn,
Raimar Falke <=
|
|