Author Topic: r2271 host: Error when 3.5.1 user disconnects  (Read 1263 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
r2271 host: Error when 3.5.1 user disconnects
« on: 20 May 2011, 18:46:42 »
I was hosting on r2271 and one client ("sCaR" from Canada) was connected using 3.5.1 (release).

He joined my lobby, then disconnected to change his player name. At this moment I got this message:
Code: [Select]
[2011-05-20 19:54:20] *ERROR* SOCKET WRITE TIMEOUT In [[redacted]/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1457] i = 0 sock = -1
[2011-05-20 19:54:20] *ERROR* SOCKET WRITE TIMEOUT In [[redacted]/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1457] i = 0 sock = -1
[2011-05-20 19:54:20] *ERROR* In [[redacted]/source/glest_game/network/connection_slot.cpp::update Line: 780] Error [In [[redacted]/source/shared_lib/sources/platform/sdl/thread.cpp::p Line: 114] mutex == NULL refCount = 0 owner [[redacted]/source/shared_lib/sources/platform/posix/socket.cpp_841]]

The first two lines are, to my understanding, completely normal, but the last one is not and also displayed on-screen in-game.

I then restarted my game and hosted again and he reconnected to the lobby, and I asked him to disconnect once more.  He did and it happened again - so it seems reproducible, at least with him.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r2271 host: Error when 3.5.1 user disconnects
« Reply #1 on: 20 May 2011, 19:44:50 »
Please try svn rev#2272 and see if this solves the problem

General-sCaR

  • Guest
Re: r2271 host: Error when 3.5.1 user disconnects
« Reply #2 on: 22 May 2011, 14:24:29 »
my name is General-sCaR now ,thx bro

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: r2271 host: Error when 3.5.1 user disconnects
« Reply #3 on: 23 May 2011, 04:11:40 »
Here's the latest development version, it should fix the problem.
http://www.mediafire.com/?0chgdnqgxxpc24e
(It's compatible with 3.5.1) :)