|
From: <no...@so...> - 2002-04-08 12:38:10
|
Bugs item #540964, was opened at 2002-04-08 12:20 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=380760&aid=540964&group_id=24184 Category: Server Group: None >Status: Pending Resolution: None >Priority: 9 Submitted By: Manuel Nickschas (sputnick) >Assigned to: Tom Howard (tomhoward) Summary: Server segfaults with clang! Initial Comment: Hi, since server version 8.04, it is necessary for players to introduce the supported coach language by sending (clang (ver 8 8)) to the server. The server then sends that information to the online coach. Unfortunately, it segfaults instead. I could reproduce that error whenever I connect my coach to the server. This is the backtrace that is created: -------------------------------------------------------- Program received signal SIGSEGV, Segmentation fault. OnlineCoach::sendPlayerClangVer (this=0x88a5c60, player=@0x84a7bb8) at field.C:2888 2888 player.getClangMinVer() ); (gdb) bt #0 OnlineCoach::sendPlayerClangVer (this=0x88a5c60, player=@0x84a7bb8) at field.C:2888 #1 0x806a0b6 in OnlineCoach::sendPlayerClangVer (this=0x88a5c60) at field.C:2877 #2 0x805c5bf in Stadium::newCoach (this=0x8183040, host=2130706433, port=52794, init_message=0xbfffd664 "(init BS01 (version 8.04))") at field.C:1282 #3 0x806d10f in Stadium::parseOnlineCoachInit (this=0x8183040, message=0xbfffd664 "(init BS01 (version 8.04))", cli_addr={sin_family = 2, sin_port = 15054, sin_addr = {s_addr = 16777343}, sin_zero = "\000\000\000\000\000\000\000"}) at netif.C:428 #4 0x806d005 in Stadium::udp_recv_from_online_coach (this=0x8183040) at netif.C:405 #5 0x8056f22 in Stadium::MainLoop (this=0x8183040) at field.C:333 -------------------------------------------------------- Obviously the problem is caused by getClangMinVer(), which causes the segfault. Since the German Open starts in a few days and the server should be used during the event, this bug needs to be fixed urgently. It is impossible to use the online coach otherwise. Sincerely, M.Nickschas (Karlsruhe Brainstormers) ---------------------------------------------------------------------- >Comment By: Tom Howard (tomhoward) Date: 2002-04-08 12:38 Message: Logged In: YES user_id=189676 Hi, This was fixed with 8.04 release 5. Please update to release 5 and confirm the problem does go away. Otherwise a temporary work around is to wait until after you coach has connected before sending the 'clang ver' message. Cheers, Tom ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=380760&aid=540964&group_id=24184 |