[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]
Hi
On Wed, Oct 09, 2002 at 01:52:39AM -0700, freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> #0 0x0809bd93 in send_attribute_block (pplayer=0x0, pconn=0x80fd7a8)
> at packets.c:4423
> 4423 if (!pplayer->attribute_block.data)
> (gdb) #0 0x0809bd93 in send_attribute_block (pplayer=0x0, pconn=0x80fd7a8)
> at packets.c:4423
> #1 0x0804c4df in send_all_info (dest=0x80fd7d8) at srv_main.c:221
> #2 0x0804debd in handle_request_join_game (pconn=0x80fd7a8, req=0x823fe20)
> at srv_main.c:1338
> #3 0x0804ce51 in handle_packet_input (pconn=0x80fd7a8, packet=0x823fe20,
> type=0) at srv_main.c:613
i have no solution for that error but i can reproduce it.
You need 2 civclients, and a game with a huge map and many units or
cities. A plain map isn't enough. (for modemplayers smaller maps should
be enough)
Its good that one of the players is dead so that there is a big amount
of traffic have to sent to the client.
Then connect - disconnect with both clients as fast as you can and
whoops the server will crash after some tries ..
> st
Starting game.
>
2: Lost connection: pille from localhost (player Hitler).
2: Lost connection: chlodwig from localhost (player Chlodwig).
>
2: Connection request from chlodwig from localhost
2: chlodwig has client version 1.14.0-beta1
2: chlodwig has joined as player Chlodwig.
>
2: Connection request from pille from localhost
2: pille has client version 1.14.0-beta1
2: pille has joined as player Hitler.
>
2: Lost connection: chlodwig from localhost (player Chlodwig).
>
2: Lost connection: pille from localhost (player Hitler).
>
2: Connection request from pille from localhost
2: pille has client version 1.14.0-beta1
2: pille has joined as player Hitler.
>
2: Connection request from chlodwig from localhost
2: chlodwig has client version 1.14.0-beta1
2: chlodwig has joined as player Chlodwig.
>
2: Lost connection: pille from localhost (player Hitler).
>
2: Lost connection: chlodwig from localhost (player Chlodwig).
>
2: Connection request from chlodwig from localhost
2: chlodwig has client version 1.14.0-beta1
2: chlodwig has joined as player Chlodwig.
>
2: Connection request from pille from localhost
2: pille has client version 1.14.0-beta1
2: pille has joined as player Hitler.
2: Lost connection: pille from localhost (player Hitler).
Segmentation fault (core dumped)
freeciv@hhi214:~/freeciv-1.14.0-beta1$ gdb server/civserver core
#0 0x080bddcd in send_attribute_block (pplayer=0x0, pconn=0x812b138)
at packets.c:3080
3080 if (!pplayer->attribute_block.data)
(gdb) bt
#0 0x080bddcd in send_attribute_block (pplayer=0x0, pconn=0x812b138)
at packets.c:3080
#1 0x0804dcfe in send_all_info (dest=0x812b168) at srv_main.c:222
#2 0x080502d2 in handle_request_join_game (pconn=0x812b138,
req=0x82cb148)
at srv_main.c:1363
#3 0x0804eac2 in handle_packet_input (pconn=0x812b138,
packet=0x82cb148,
type=0) at srv_main.c:633
One connect (packet statistics) from a dead player:
2: [ 1]: 1 packets; 50 bytes total; 50 bytes/packet
2: [ 2]: 1 packets; 3 bytes total; 3 bytes/packet
2: [ 3]: 1 packets; 3 bytes total; 3 bytes/packet
2: [ 5]: 299 packets; 8671 bytes total; 29 bytes/packet
2: [ 9]: 40000 packets; 360000 bytes total; 9 bytes/packet
2: [13]: 7 packets; 3205 bytes total; 457 bytes/packet
2: [14]: 2 packets; 1328 bytes total; 664 bytes/packet
2: [15]: 1 packets; 6 bytes total; 6 bytes/packet
2: [16]: 19 packets; 1387 bytes total; 73 bytes/packet
2: [39]: 1 packets; 7 bytes total; 7 bytes/packet
2: [51]: 1 packets; 3 bytes total; 3 bytes/packet
2: [61]: 89 packets; 2632 bytes total; 29 bytes/packet
2: [62]: 52 packets; 10825 bytes total; 208 bytes/packet
2: [63]: 68 packets; 16597 bytes total; 244 bytes/packet
2: [65]: 7 packets; 294 bytes total; 42 bytes/packet
2: [68]: 12 packets; 1945 bytes total; 162 bytes/packet
2: [69]: 1 packets; 450 bytes total; 450 bytes/packet
2: [70]: 6 packets; 7041 bytes total; 1173 bytes/packet
2: [71]: 80 packets; 2126 bytes total; 26 bytes/packet
2: [72]: 1 packets; 24 bytes total; 24 bytes/packet
2: [75]: 62 packets; 7223 bytes total; 116 bytes/packet
2: [77]: 5 packets; 166 bytes total; 33 bytes/packet
2: [81]: 1 packets; 16 bytes total; 16 bytes/packet
2: [82]: 2 packets; 88 bytes total; 44 bytes/packet
2: [83]: 274 packets; 5577 bytes total; 20 bytes/packet
2: [90]: 1 packets; 80 bytes total; 80 bytes/packet
2: [92]: 1 packets; 3 bytes total; 3 bytes/packet
2: [94]: 3 packets; 9 bytes total; 3 bytes/packet
2: [95]: 2 packets; 6 bytes total; 3 bytes/packet
2: received 429765 bytes in 41000 packets;average size per packet 10
bytes
Thomas
--
Thomas Strub *** eMail ue80@xxxxxxxxxxxxxxxxxxx
Nur weil das Aufzeichnen, Kopieren und Schnüffeln bei elektronischem
Datenverkehr leichter als bei der klassischen Post ist, darf man es nicht
einfach tun.
- [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/43550,
Thomas Strub <=
|
|