Subject: Unhandled exception on Windows after remote connection lost

From: "Chavez, Christopher A. (Assoc)" <[email-masked]>
Date: Tue, 26 Jul 2016 18:23:45 +0000

Package: x2goclient
Version: 4.0.5.1

Using Windows 7 Enterprise 64bit. This issue occurs after the connection was somehow lost (possibly due to an ssh-related setting on the server, but this issue can still be triggered by disconnecting the network connection and waiting 120 seconds).

Message dialog that appears:
"The connection with the remote server was shut down. Please check the state of your network connection."

When that message appears, the main X2Go Client window is no longer responsive.
Last few messages in session log that appear for this issue:

Warning: No data received from remote proxy within 30 seconds.
x2go-WARNING-1> "English language requested, not loading translator."
x2go-WARNING-1> "English language requested, not loading translator."
Error: No data received from remote proxy within 120 seconds.
Session: Terminating session at '...'

Windows then brings up a message:
"x2goclient.exe has stopped working.
A problem caused the program to stop working correctly. Please close the program."
(options: Close the program, Debug the program)

Visual Studio Debugger says:

Unhandled exception at 0x61AE3784 (libssh.dll) in x2goclient.exe: 0xC0000005: Access violation reading location 0x00000010.

I installed X2Go Client using the installer rather than compiling it, so I don't have any further debugging info.

Christopher A. Chavez
National Institute of Standards and Technology