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

After updating my working tree with latest S2_2 branch
(r14422) I get an assertion failure in the client when
trying to start a new game.

Steps to reproduce:

1. Start a server in one console (e.g. run ./ser).
2. Start a client in another console (e.g. with ./civ -a).
3. Once the client connects press "Pick Nation" and select
any nation from the list.
4. Now press "Ok".

civclient: player.c:293: player_number: Assertion `pplayer' failed.

#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40764e49 in raise () from /lib/tls/libc.so.6
#2  0x40766872 in abort () from /lib/tls/libc.so.6
#3  0x4075e718 in __assert_fail () from /lib/tls/libc.so.6
#4  0x080f5814 in player_number (pplayer=0x0) at player.c:293
#5  0x0811e031 in races_response (w=0x85aad08, response=0, data=0x0) at 
#6  0x40527035 in IA__g_cclosure_marshal_VOID__INT (closure=0x95dabd8, 
    n_param_values=2, param_values=0xbfee32b0, 
invocation_hint=0xbfee3178, marshal_data=0x0)
    at gmarshal.c:216
#7  0x4050fd3b in IA__g_closure_invoke (closure=0x95dabd8, 
return_value=0x0, n_param_values=0, 
    param_values=0x0, invocation_hint=0x0) at gclosure.c:490
(more gtk callback stuff all the way to ui_main)

I will see if I cannot fix this (kind of hard to work
on the editor if I cannot start a game ;)).

Freeciv-dev mailing list

Reply via email to