X2Go Bug report logs - #804
slot argument mismatch in ONMainWindow::slotTunnelOk causes hang during connect

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Will Wagner <willw@carallon.com>

Date: Fri, 6 Mar 2015 11:30:02 UTC

Severity: normal

Tags: pending

Found in version 4.0.3.2

Fixed in version 4.0.4.0

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#804: slot argument mismatch in ONMainWindow::slotTunnelOk causes hang during connect
Reply-To: Will Wagner <willw@carallon.com>, 804@bugs.x2go.org
Resent-From: Will Wagner <willw@carallon.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 06 Mar 2015 11:30:02 +0000
Resent-Message-ID: <handler.804.B.14256413737789@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 804
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14256413737789
          (code B); Fri, 06 Mar 2015 11:30:02 +0000
Received: (at submit) by bugs.x2go.org; 6 Mar 2015 11:29:33 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.3.2
X-Greylist: delayed 340 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 06 Mar 2015 12:29:31 CET
Received: from mail.carallon.com (mail.carallon.com [95.177.28.122])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id C20735E156
	for <submit@bugs.x2go.org>; Fri,  6 Mar 2015 12:29:31 +0100 (CET)
X-MDAV-Result: clean
X-MDAV-Processed: mail.carallon.com, Fri, 06 Mar 2015 11:23:50 +0000
Received: from [x.x.x.x] by mail.carallon.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v14.5.3) 
	with ESMTPSA id md50001879190.msg for <submit@bugs.x2go.org>;
	Fri, 06 Mar 2015 11:23:50 +0000
X-MDArrival-Date: Fri, 06 Mar 2015 11:23:50 +0000
X-Authenticated-Sender: willw@carallon.com
X-Return-Path: prvs=150755f982=willw@carallon.com
X-Envelope-From: willw@carallon.com
X-MDaemon-Deliver-To: submit@bugs.x2go.org
Message-ID: <54F98E42.9090408@carallon.com>
Date: Fri, 06 Mar 2015 11:23:46 +0000
From: Will Wagner <willw@carallon.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Package: x2goclient
Version: 4.0.3.2

When trying to connect to certain servers I get 'Object::connect: No 
such slot ONMainWindow::slotTunnelOk()' in the debugging output of X2Go 
Client for Windows 4.0.3.2. The application hangs without ever connecting.

From looking at the code in ONMainWindow::slotTunnelOk() it has a check 
to see if winServersReady is true and if not it uses QTimer::singleShot 
to retry 100mS later. However the slot connection has an argument 
mismatch and so slotTunnelOk is never called again and this leads to the 
hang.

The full debug output is:
x2go-INFO-1> "Starting x2goclient..."
x2go-WARNING-1> "Can't load translator: :/x2goclient_en_gb"
x2go-WARNING-2> "Can't load translator: :/qt_en_GB"
x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray
x2go-DEBUG-onmainwindow.cpp:1176> Plugging apps in tray.
x2go-DEBUG-onmainwindow.cpp:9817> Getting Xorg settings.
x2go-INFO-3> "Started  x2goclient."
x2go-DEBUG-onmainwindow.cpp:495> "$HOME=C:/Users/willw"
x2go-DEBUG-onmainwindow.cpp:2123> Reading 4 sessions from config file.
x2go-DEBUG-onmainwindow.cpp:9543> Starting win servers...
x2go-DEBUG-onmainwindow.cpp:9895> "C:/Users/willw/.x2go/etc/sshd_config 
created."
x2go-DEBUG-onmainwindow.cpp:9312> got localhost
x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 7022
x2go-DEBUG-onmainwindow.cpp:9951> Creating desktop: x2go_willw
x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray
x2go-INFO-8> "Starting connection to server: 172.20.0.2:22"
x2go-DEBUG-onmainwindow.cpp:2702> Start new ssh connection to 
server:"172.20.0.2":"22" krbLogin: false
x2go-DEBUG-sshmasterconnection.cpp:202> starting ssh connection without 
kerberos authentication

x2go-DEBUG-sshmasterconnection.cpp:206> SshMasterConnection, instance 
SshMasterConnection(0x15a8d58)  created
x2go-DEBUG-sshmasterconnection.cpp:442> SshMasterConnection, instance 
SshMasterConnection(0x15a8d58)  entering thread
x2go-DEBUG-sshmasterconnection.cpp:478> libSsh not inited yet, initting

x2go-DEBUG-sshmasterconnection.cpp:522> setting SSH DIR to 
"C:/Users/willw/ssh"
x2go-DEBUG-sshmasterconnection.cpp:789> cserverAuth

x2go-DEBUG-sshmasterconnection.cpp:804> state: 1

x2go-DEBUG-sshmasterconnection.cpp:640> setting SSH DIR to 
"C:/Users/willw/ssh"
x2go-DEBUG-sshmasterconnection.cpp:963> Password authentication

x2go-DEBUG-sshmasterconnection.cpp:654> user auth OK

x2go-DEBUG-onmainwindow.cpp:2797> SSH connection established.
x2go-DEBUG-onmainwindow.cpp:3060> Continue normal x2go session
x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess 
object (0): "export HOSTNAME && x2golistsessions"

x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel

x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x37196b0

x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo 
X2GODATABEGIN:819aa939-7479-4d86-bbeb-8c9e041031a8; 
PATH=/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; 
echo X2GODATAEND:819aa939-7479-4d86-bbeb-8c9e041031a8;'"

x2go-DEBUG-sshmasterconnection.cpp:1492>  new exec channel created

x2go-DEBUG-sshmasterconnection.cpp:1541> EOF ON CHANNEL 0x37196b0 
(SshProcess: 0)

x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent

x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed

x2go-DEBUG-sshprocess.cpp:449> ssh finished: true - 
"39358|willw-50-1425634735_stDXFCE_dp32|50|waldorf2|S|2015-03-06T09:38:55|b7d8a7118d17318a0f0f5d435a497f0a|172.20.1.8|30001|30002|2015-03-06T09:41:52|willw|267|30003|
" (0).

x2go-DEBUG-onmainwindow.cpp:3404> 
"39358|willw-50-1425634735_stDXFCE_dp32|50|waldorf2|S|2015-03-06T09:38:55|b7d8a7118d17318a0f0f5d435a497f0a|172.20.1.8|30001|30002|2015-03-06T09:41:52|willw|267|30003|
"
x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray
x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray
x2go-DEBUG-onmainwindow.cpp:9312> got localhost
x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 6000
x2go-DEBUG-onmainwindow.cpp:9400> using internal X: true
x2go-DEBUG-onmainwindow.cpp:9423> WxH:"1024"x"768"
x2go-DEBUG-onmainwindow.cpp:9428> "-multiwindow -notrayicon -clipboard"
x2go-DEBUG-onmainwindow.cpp:9465> Running "C:/Program Files 
(x86)/x2goclient\vcxsrv\vcxsrv.exe" "-multiwindow -notrayicon -clipboard :0"
x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess 
object (1): "x2goresume-session willw-50-1425634735_stDXFCE_dp32 
1024x768 adsl 16m-jpeg-9 us auto 1 both"

x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel

x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x37197b8

x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo 
X2GODATABEGIN:67634731-3df8-4974-af0a-1f3568ca4bdb; 
PATH=/usr/local/bin:/usr/bin:/bin x2goresume-session 
willw-50-1425634735_stDXFCE_dp32 1024x768 adsl 16m-jpeg-9 us auto 1 
both; echo X2GODATAEND:67634731-3df8-4974-af0a-1f3568ca4bdb;'"

x2go-DEBUG-sshmasterconnection.cpp:1492>  new exec channel created

x2go-DEBUG-sshmasterconnection.cpp:1596> EOF ON CHANNEL 0x37197b8 
(SshProcess: 1)

x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent

x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed

x2go-DEBUG-sshprocess.cpp:449> ssh finished: true - "gr_port=30001
sound_port=30002
fs_port=30003
" (1).

x2go-DEBUG-onmainwindow.cpp:4727> Agent output: "gr_port=30001
sound_port=30002
fs_port=30003
"
x2go-DEBUG-onmainwindow.cpp:4905> New gr_port: "30001"
x2go-DEBUG-onmainwindow.cpp:4912> New sound_port: "30002"
x2go-DEBUG-onmainwindow.cpp:4919> New fs_port: "30003"
x2go-DEBUG-onmainwindow.cpp:9312> got localhost
x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 31001
x2go-DEBUG-sshprocess.cpp:294> Starting tunnel via SshProcess object 
(2): "localhost":30001 -> "localhost":31001

x2go-DEBUG-onmainwindow.cpp:5172> Waiting for win-servers.
Object::connect: No such slot ONMainWindow::slotTunnelOk()
x2go-DEBUG-sshprocess.cpp:157> Direct tunnel: waiting for connections on 
"localhost":31001

x2go-DEBUG-onmainwindow.cpp:9312> got localhost
x2go-DEBUG-onmainwindow.cpp:9340> Port already used: 6000
x2go-DEBUG-onmainwindow.cpp:9494> X is started.
x2go-DEBUG-onmainwindow.cpp:9861> All winservers are started.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Apr 23 16:50:30 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.