From unknown Fri Mar 29 01:57:00 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#804: [X2Go-Dev] Bug#804: slot argument mismatch in ONMainWindow::slotTunnelOk causes hang during connect Reply-To: Will Wagner , 804@bugs.x2go.org Resent-From: Will Wagner Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 10 Mar 2015 10:45:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 804 X-X2Go-PR-Package: x2goclient X-X2Go-PR-Keywords: pending Received: via spool by 804-submit@bugs.x2go.org id=B804.142598422124988 (code B ref 804); Tue, 10 Mar 2015 10:45:01 +0000 Received: (at 804) by bugs.x2go.org; 10 Mar 2015 10:43:41 +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,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from mail.carallon.com (mail.carallon.com [95.177.28.122]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B3E475E15C for <804@bugs.x2go.org>; Tue, 10 Mar 2015 11:43:38 +0100 (CET) X-MDAV-Result: clean X-MDAV-Processed: mail.carallon.com, Tue, 10 Mar 2015 10:43:37 +0000 Received: from [x.x.x.x] by mail.carallon.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v14.5.3) with ESMTPSA id md50001882108.msg for <804@bugs.x2go.org>; Tue, 10 Mar 2015 10:43:37 +0000 X-MDArrival-Date: Tue, 10 Mar 2015 10:43:37 +0000 X-Authenticated-Sender: willw@carallon.com X-Return-Path: prvs=151139ad4a=willw@carallon.com X-Envelope-From: willw@carallon.com X-MDaemon-Deliver-To: 804@bugs.x2go.org Message-ID: <54FECAD7.8030501@carallon.com> Date: Tue, 10 Mar 2015 10:43:35 +0000 From: Will Wagner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Mihai Moldovan , 804@bugs.x2go.org References: <54F98E42.9090408@carallon.com> <54FA5DDB.2040607@ionic.de> <54FDF871.4040300@carallon.com> <54FDF96D.3000805@ionic.de> In-Reply-To: <54FDF96D.3000805@ionic.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 09/03/2015 19:50, Mihai Moldovan wrote: > On 09.03.2015 08:45 PM, Will Wagner wrote: >> On 07/03/2015 02:09, Mihai Moldovan wrote: >>> Can you please test >>> http://code.x2go.org/releases/binary-win32/x2goclient/tmp/x2goclient-4.0.4.0-2015.03.07-982268a-setup.exe? >>> >> >> This build appears to fix the issue, I have done 20+ successful >> session resumes. > > Thanks for testing! > > The fix is part of my bugfix/general branch and will be merged into > master once I finish fixing another bug. > > In any case, it will be part of x2goclient's next release. So today I can unfortunately still reproduce this issue. It seems like yesterday there must have been something going on with my network which altered the timing of events. The debug log I get now 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-../src/onmainwindow.cpp:1208> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:1176> Plugging apps in tray. x2go-DEBUG-../src/onmainwindow.cpp:9821> Getting Xorg settings. x2go-INFO-3> "Started x2goclient." x2go-DEBUG-../src/onmainwindow.cpp:495> "$HOME=C:/Users/willw" x2go-DEBUG-../src/onmainwindow.cpp:2123> Reading 4 sessions from config file. x2go-DEBUG-../src/sessionbutton.cpp:319> creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'. x2go-DEBUG-../src/sessionbutton.cpp:319> creating QPixmap with session icon: '"C/:/Users/willw/Documents/scooter.jpg"'. QPixmap::scaled: Pixmap is a null pixmap x2go-DEBUG-../src/sessionbutton.cpp:319> creating QPixmap with session icon: '"C/:/Users/willw/Documents/waldorf.jpg"'. QPixmap::scaled: Pixmap is a null pixmap x2go-DEBUG-../src/sessionbutton.cpp:319> creating QPixmap with session icon: '"C/:/Users/willw/Documents/animal.jpg"'. QPixmap::scaled: Pixmap is a null pixmap x2go-DEBUG-../src/onmainwindow.cpp:9547> Starting win servers... x2go-DEBUG-../src/onmainwindow.cpp:9899> "C:/Users/willw/.x2go/etc/sshd_config created." x2go-DEBUG-../src/onmainwindow.cpp:9316> got localhost x2go-DEBUG-../src/onmainwindow.cpp:2601> creating QPixmap with session icon: '"C/:/Users/willw/Documents/animal.jpg"'. QPixmap::scaled: Pixmap is a null pixmap x2go-DEBUG-../src/onmainwindow.cpp:9338> Port is free: 7022 x2go-DEBUG-../src/onmainwindow.cpp:9955> Creating desktop: x2go_willw x2go-DEBUG-../src/onmainwindow.cpp:1208> Removing apps from tray x2go-INFO-8> "Starting connection to server: animal.office.carallon.com:22" x2go-DEBUG-../src/onmainwindow.cpp:2702> Start new ssh connection to server:"animal.office.carallon.com":"22" krbLogin: false x2go-DEBUG-../src/sshmasterconnection.cpp:202> starting ssh connection without kerberos authentication x2go-DEBUG-../src/sshmasterconnection.cpp:206> SshMasterConnection, instance SshMasterConnection(0x35673f8) created x2go-DEBUG-../src/sshmasterconnection.cpp:442> SshMasterConnection, instance SshMasterConnection(0x35673f8) entering thread x2go-DEBUG-../src/sshmasterconnection.cpp:478> libSsh not inited yet, initting x2go-DEBUG-../src/sshmasterconnection.cpp:522> setting SSH DIR to "C:/Users/willw/ssh" x2go-DEBUG-../src/sshmasterconnection.cpp:789> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:804> state: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:640> setting SSH DIR to "C:/Users/willw/ssh" x2go-DEBUG-../src/sshmasterconnection.cpp:963> Password authentication x2go-DEBUG-../src/sshmasterconnection.cpp:654> user auth OK x2go-DEBUG-../src/onmainwindow.cpp:2797> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3064> Continue normal x2go session x2go-DEBUG-../src/sshprocess.cpp:189> executing remote command via SshProcess object (0): "export HOSTNAME && x2golistsessions" x2go-DEBUG-../src/sshprocess.cpp:194> running masterCon->addChannelConnection(this, '"aaa08901-5dfe-4de4-9ef2-00b12e2a8e43"', '"sh -c 'echo X2GODATABEGIN:aaa08901-5dfe-4de4-9ef2-00b12e2a8e43; PATH=/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; echo X2GODATAEND:aaa08901-5dfe-4de4-9ef2-00b12e2a8e43;'"'); x2go-DEBUG-../src/sshmasterconnection.cpp:1245> locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1247> passing con to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1249> unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1437> creating new channel x2go-DEBUG-../src/sshmasterconnection.cpp:1441> new channel:0x35c6608 x2go-DEBUG-../src/sshmasterconnection.cpp:1472> executing remote: "sh -c 'echo X2GODATABEGIN:aaa08901-5dfe-4de4-9ef2-00b12e2a8e43; PATH=/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; echo X2GODATAEND:aaa08901-5dfe-4de4-9ef2-00b12e2a8e43;'" x2go-DEBUG-../src/sshmasterconnection.cpp:1495> new exec channel created x2go-DEBUG-../src/sshmasterconnection.cpp:1599> EOF ON CHANNEL 0x35c6608 (SshProcess: 0) x2go-DEBUG-../src/sshmasterconnection.cpp:1667> eof sent x2go-DEBUG-../src/sshmasterconnection.cpp:1671> channel closed x2go-DEBUG-../src/sshprocess.cpp:450> ssh finished: true - "3250|willw-51-1425923107_stDXFCE_dp32|51|animal|S|2015-03-09T17:45:07|bbdb13440494d0f6823c0b35b8f37d85|172.20.1.8|30004|30005|2015-03-10T10:38:37|willw|60814|30006| " (0). x2go-DEBUG-../src/onmainwindow.cpp:3408> "3250|willw-51-1425923107_stDXFCE_dp32|51|animal|S|2015-03-09T17:45:07|bbdb13440494d0f6823c0b35b8f37d85|172.20.1.8|30004|30005|2015-03-10T10:38:37|willw|60814|30006| " x2go-DEBUG-../src/onmainwindow.cpp:1208> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:1208> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:9316> got localhost x2go-DEBUG-../src/onmainwindow.cpp:9344> Port already used: 6000 x2go-DEBUG-../src/onmainwindow.cpp:9316> got localhost x2go-DEBUG-../src/onmainwindow.cpp:9338> Port is free: 6001 x2go-DEBUG-../src/onmainwindow.cpp:9404> using internal X: true x2go-DEBUG-../src/onmainwindow.cpp:9427> WxH:"1280"x"1024" x2go-DEBUG-../src/onmainwindow.cpp:9432> "-multiwindow -notrayicon -clipboard" x2go-DEBUG-../src/onmainwindow.cpp:9469> Running "C:/Program Files (x86)/x2goclient\vcxsrv\vcxsrv.exe" "-multiwindow -notrayicon -clipboard :1" x2go-DEBUG-../src/sshprocess.cpp:189> executing remote command via SshProcess object (1): "x2goresume-session willw-51-1425923107_stDXFCE_dp32 1280x1024 adsl 16m-jpeg-9 us auto 1 both" x2go-DEBUG-../src/sshprocess.cpp:194> running masterCon->addChannelConnection(this, '"40720929-3f5e-46de-a282-dd035a1add5c"', '"sh -c 'echo X2GODATABEGIN:40720929-3f5e-46de-a282-dd035a1add5c; PATH=/usr/local/bin:/usr/bin:/bin x2goresume-session willw-51-1425923107_stDXFCE_dp32 1280x1024 adsl 16m-jpeg-9 us auto 1 both; echo X2G"'); x2go-DEBUG-../src/sshmasterconnection.cpp:1245> locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1247> passing con to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1249> unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1437> creating new channel x2go-DEBUG-../src/sshmasterconnection.cpp:1441> new channel:0x35c6710 x2go-DEBUG-../src/sshmasterconnection.cpp:1472> executing remote: "sh -c 'echo X2GODATABEGIN:40720929-3f5e-46de-a282-dd035a1add5c; PATH=/usr/local/bin:/usr/bin:/bin x2goresume-session willw-51-1425923107_stDXFCE_dp32 1280x1024 adsl 16m-jpeg-9 us auto 1 both; echo X2GODATAEND:40720929-3f5e-46de-a282-dd035a1add5c;'" x2go-DEBUG-../src/sshmasterconnection.cpp:1495> new exec channel created x2go-DEBUG-../src/sshmasterconnection.cpp:1544> EOF ON CHANNEL 0x35c6710 (SshProcess: 1) x2go-DEBUG-../src/sshmasterconnection.cpp:1667> eof sent x2go-DEBUG-../src/sshmasterconnection.cpp:1671> channel closed x2go-DEBUG-../src/sshprocess.cpp:450> ssh finished: true - "gr_port=30004 sound_port=30005 fs_port=30006 " (1). x2go-DEBUG-../src/onmainwindow.cpp:4731> Agent output: "gr_port=30004 sound_port=30005 fs_port=30006 " x2go-DEBUG-../src/onmainwindow.cpp:4909> New gr_port: "30004" x2go-DEBUG-../src/onmainwindow.cpp:4916> New sound_port: "30005" x2go-DEBUG-../src/onmainwindow.cpp:4923> New fs_port: "30006" x2go-DEBUG-../src/onmainwindow.cpp:9316> got localhost x2go-DEBUG-../src/onmainwindow.cpp:9338> Port is free: 31004 x2go-DEBUG-../src/sshprocess.cpp:295> Starting tunnel via SshProcess object (2): "localhost":30004 -> "localhost":31004 x2go-DEBUG-../src/onmainwindow.cpp:5176> Waiting for win-servers. QObject::connect: Incompatible sender/receiver arguments QSingleShotTimer::timeout() --> ONMainWindow::slotTunnelOk(int) x2go-DEBUG-../src/sshprocess.cpp:157> Direct tunnel: waiting for connections on "localhost":31004 x2go-DEBUG-../src/onmainwindow.cpp:9316> got localhost x2go-DEBUG-../src/onmainwindow.cpp:9344> Port already used: 6001 x2go-DEBUG-../src/onmainwindow.cpp:9498> X is started. x2go-DEBUG-../src/onmainwindow.cpp:9865> All winservers are started. Looking at the change you made I don't believe you are allowed to connect a signal emitting no arguments to a slot that requires an argument and hence the incompatible sender/receiver argument error. Regards Will -- ------------------------------------------------------------------------ Will Wagner will_wagner@carallon.com Development Manager Office Tel: +44 (0)20 7471 9224 Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA ------------------------------------------------------------------------