[Freeciv-Dev] (PR#13998) crash in found_new_tech
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13998 >
> [bretta - Fri Sep 16 18:40:57 2005]:
>
> I was using CVS Head today and got the following crash in the server.
> This was when I moved onto a hut.
>
> (gdb) bt
> #0 0x0807c86c in found_new_tech ()
> #1 0x0807d77f in give_random_free_tech ()
> #2 0x08081cd8 in move_unit (punit=0x8400660, pdesttile=0x898c238,
> move_cost=3)
> at unittools.c:2234
> #3 0x080b7f93 in handle_unit_move_request (punit=0x8400660,
> pdesttile=0x898c238,
> igzoc=false, move_diplomat_city=false) at unithand.c:1145
> #4 0x08093d87 in server_handle_packet (type=PACKET_UNIT_MOVE,
> packet=0x83ee8f0,
> pplayer=0x828d88c, pconn=0x81a8ba0) at hand_gen.c:151
> #5 0x08070fea in handle_packet_input (pconn=0x81a8ba0,
> packet=0x83ee8f0, type=52)
> at srv_main.c:1020
> #6 0x080b2dc6 in sniff_packets () at sernet.c:368
> #7 0x08071c51 in main_loop () at srv_main.c:1597
> #8 0x08072999 in srv_main () at srv_main.c:1878
> #9 0x0806c40d in main (argc=1, argv=0x8046fa0) at civserver.c:242
>
> I'm using Solaris 10 x86 if it matters. Let me know what else I can
> provide. I have the core file if needed.
>
>
Thanks for the report.
I'd like to know the value of the 'tech' variable in
give_random_free_tech(). You can get that value by typing following
lines in gdb:
>select 1
>print tech
Here are some questions:
Is it reproducible?
Is it possible that the random tech from hut was a future tech?
Did you change any game option? (like freecost)
Do you remember what you were researching and what was your science goal?
Were there teams involved?
--
mateusz
|
|