Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] (PR#13451) client tech crash when connecting to server
Home

[Freeciv-Dev] (PR#13451) client tech crash when connecting to server

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13451) client tech crash when connecting to server
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 12 Jul 2005 00:08:30 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13451 >

> [jdorje - Mon Jul 11 23:28:24 2005]:
> 
> If I use one client to "start new game" then connect to this pregame
> server with another client, the second client crashes:
> 
> civclient: tech.c:504: base_total_bulbs_required: Assertion
> `pplayer->ai.science_cost > 0' failed.
> 
> #2  0xb78ca2df in __assert_fail () from /lib/tls/libc.so.6
> #3  0x080c7812 in base_total_bulbs_required (pplayer=0x813c2e4, tech=1)
>     at tech.c:504
> #4  0x080c70c2 in build_required_techs (pplayer=0x813c2e4, goal=1)
>     at tech.c:151
> #5  0x080c729c in update_research (pplayer=0x813c2e4) at tech.c:228
> #6  0x0806d267 in read_player_info_techs (pplayer=0x813c2e4,
>     inventions=0x87b2550 '0' <repeats 89 times>) at packhand.c:1384
> #7  0x0806d46c in handle_player_info (pinfo=0x87b2280) at packhand.c:1472
> #8  0x0806fb7e in client_handle_packet (type=PACKET_PLAYER_INFO,
>     packet=0x87b2280) at packhand_gen.c:141
> #9  0x08057c3b in handle_packet_input (packet=0x87b2280, type=39)
>     at civclient.c:390
> #10 0x0805afc5 in input_from_server (fd=5) at clinet.c:342
> 
> -jason
> 
Sorry, I can't reproduce this with the latest CVS version, nor have I
any valgrind errors (besides the gtk ones).
--
mateusz




[Prev in Thread] Current Thread [Next in Thread]