Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
Home

[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Development List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/43529
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Wed, 9 Oct 2002 13:35:17 +0100 (BST)

On Tue, 8 Oct 2002 freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:

> # examining core.23821 in /home/freeciv/.freeciv/games/43529/. ...
> # using $FREECIV_PATH 
> /home/freeciv/.freeciv/code/installed/latest/freeciv-1.13.0-pl4+none/share/freeciv
> # running: (echo bt; echo quit; exec yes '') | gdb  
> /home/freeciv/.freeciv/code/installed/latest/freeciv-1.13.0-pl4+none/share/freeciv/../../bin/civserver
>  core.23821

[...]

> Core was generated by 
> `/home/freeciv/.freeciv/code/installed/latest/freeciv-1.13.0-pl4+none/share/free'.
> Program terminated with signal 11, Segmentation fault.

> #0  handle_unit_change_homecity (pplayer=0x813924c, req=0x83ebf40)
>     at unithand.c:366
> 366     struct city *old_pcity = player_find_city_by_id(pplayer, 
> punit->homecity);

Obviously ounit is NULL.  But this is fixed in CVS.

G.



> (gdb) #0  handle_unit_change_homecity (pplayer=0x813924c, req=0x83ebf40)
>     at unithand.c:366
> #1  0x0804d0ae in handle_packet_input (pconn=0x80fded8, packet=0x83ebf40, 
>     type=34) at srv_main.c:751
> #2  0x08084c58 in sniff_packets () at sernet.c:572
> #3  0x0804e685 in main_loop () at srv_main.c:1690
> #4  0x0804ec74 in srv_main () at srv_main.c:1970
> #5  0x08049e01 in main (argc=10, argv=0xbffffc44) at civserver.c:153
> #6  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
> (gdb) 
> 
> 



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/43529, Gregory Berkolaiko <=