Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2003:
[Freeciv-Dev] (PR#7009) Segfault in first turn
Home

[Freeciv-Dev] (PR#7009) Segfault in first turn

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7009) Segfault in first turn
From: "Guest" <rt-guest@xxxxxxxxxxx>
Date: Sun, 30 Nov 2003 23:30:20 -0800
Reply-to: rt@xxxxxxxxxxx

<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
        nextedge = (struct map_position *) 0x4094c010
        pclaim = (struct claim_cell *) 0x8390718
        ptile = (struct tile *) 0x402010c8
#1  0x080b3034 in build_landarea_map (pcmap=0x817d904) at score.c:312
No locals.
#2  0x080b349b in civ_score (pplayer=0x8263ec8) at score.c:433
        pcity = (struct city *) 0x804ee8a
        landarea = -1073745192
        settledarea = 1000
        cmap = {claims = 0x83906e8, player_landarea = 0x842c7b0,
player_owndarea = 0x8426d88, edges = 0x4094c008}
#3  0x0809a7e8 in make_history_report () at report.c:1050
        pplayer = (struct player *) 0x8263ec8
        PI_p_itr = 0
        report = HISTORIAN_RICHEST
        time_to_report = 20
#4  0x0804f611 in end_turn () at srv_main.c:532
No locals.
#5  0x080517cc in main_loop () at srv_main.c:1396
        eot_timer = (struct timer *) 0x836beb0
        save_counter = 1
#6  0x080520b7 in srv_loop () at srv_main.c:1694
        i = 61
#7  0x08051a83 in srv_main () at srv_main.c:1481
No locals.
#8  0x0804a5c0 in main (argc=3, argv=0xbffff444) at civserver.c:157
        inx = 3
        showhelp = false
        showvers = false
        option = 0xbffff5c4 "b2"
(gdb) 



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7009) Segfault in first turn, Guest <=