Package: x2goclient
Version: 4.0.5.2-0~1205~ubuntu14.04.1
severity: critical

The session disconnects at some 'arbitrary' point in a way. Today I hit the 
issue whilest running the client in debug mode: x2goclient --debug and got 
this message (line 119 in the attached log):

x2go-DEBUG-../src/onmainwindow.cpp:6014> Proxy wrote on stderr: "Error: Can't 
add a message of 4143380232 bytes to write buffer.
Error: Assuming error handling data in context [B].
Session: Terminating session at 'Sun Dec 18 18:48:08 2016'.

One of the instances of the program run within the remote session stopped 
working with an internal error.
Sometimes the session crashes completely so that also the servers X session is 
gone, although that might be a different issue.

I run an up-to-date Ubuntu 14.04.5 LTS (kernel 3.13.0-105-generic, libc 
2.19-0ubuntu6.9) and X2Go Client 4.0.5.2 installed via 
http://ppa.launchpad.net/x2go/stable/ubuntu.

This is really annoying, especially as this may ruin some hours of work and/or 
compute. The bug seems to be only triggered by one of our most used EDA tools, 
Vivado, especially in its version 2016.2.

As this issue is probably complicated to reproduce, find and fix, a workaround 
is also very appreciated.

Thank you very much!

Ulrich
Session: Session started at 'Sun Dec 18 12:59:00 2016'.
Info: Established X server connection.
"
x2go-DEBUG-../src/onmainwindow.cpp:8040> "ssh-keygen -t rsa -b 1024 -N  -f /home/user/.x2go/ssh/gen/key.TwZ359 -q"
x2go-DEBUG-../src/onmainwindow.cpp:8047> ssh-keygen succeeded.
x2go-DEBUG-../src/onmainwindow.cpp:7865> Key created on: "/home/user/.x2go/ssh/gen/key.TwZ359"
x2go-DEBUG-../src/onmainwindow.cpp:9415> Starting Folder Sharing tunnel for: "user-87-1482062337_stDICEWM_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:9416> FS port: "30114"
x2go-DEBUG-../src/sshprocess.cpp:372> Starting tunnel via SshProcess object 3: "localhost":30114 -> "127.0.0.1":22

x2go-DEBUG-../src/sshmasterconnection.cpp:397> Requesting reverse tunnel from port 30114 to 22
x2go-DEBUG-../src/sshprocess.cpp:301> Copying file via SshProcess object 4: "/home/user/.x2go/ssh/gen/key.TwZ359" -> "~user/.x2go/ssh/key.TwZ359"
x2go-DEBUG-../src/sshmasterconnection.cpp:286> Listening for TCP/IP connections on 30114
x2go-DEBUG-../src/sshmasterconnection.cpp:1355> SSH Master Connection copy - dst path:"~user/.x2go/ssh" file:"key.TwZ359"

x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 5: "export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-user-87-1482062337_stDICEWM_dp24/.pulse-client.conf";setsid x2goruncommand 87 14889 user-87-1482062337_stDICEWM_dp24 30113 icewm-session nosnd D 1> /dev/null 2>/dev/null & exit"
x2go-DEBUG-../src/sshprocess.cpp:204> this=SshProcess(0x16638c0)  Running masterCon->addChannelConnection(this, ' "3147952b-e838-48b4-a4f2-dd62fde5b14a" ', ' "bash -l -c 'echo "X2GODATABEGIN:3147952b-e838-48b4-a4f2-dd62fde5b14a"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-user-87-1482062337_s" '); 
x2go-DEBUG-../src/sshmasterconnection.cpp:1324> Locking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1326> Passing new channel conenction object to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1328> Unlocking SSH channel connection MUTEX.
x2go-DEBUG-../src/onmainwindow.cpp:9460> FS tunnel through SSH seems to be up and running ...

x2go-DEBUG-../src/onmainwindow.cpp:6014> Proxy wrote on stderr: "Info: Using shared memory parameters 0/0K.
"
x2go-DEBUG-../src/sshmasterconnection.cpp:1416> scp ok: "/home/user/.x2go/ssh/gen/key.TwZ359" -> "user"@"server":"~user/.x2go/ssh/key.TwZ359"

x2go-DEBUG-../src/onmainwindow.cpp:8124> Exported key: "/home/user/.x2go/ssh/gen/key.TwZ359"
x2go-DEBUG-../src/onmainwindow.cpp:8127> Key removed.
x2go-DEBUG-../src/onmainwindow.cpp:9520> Temporarily activated public key from file "/home/user/.x2go/ssh/gen/key.TwZ359".pub.

x2go-DEBUG-../src/onmainwindow.cpp:9613> Calling startX2goMount command.

x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 6: "export HOSTNAME && x2gomountdirs dir user-87-1482062337_stDICEWM_dp24 user ~user/.x2go/ssh/key.TwZ359 /home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__30114"
x2go-DEBUG-../src/sshprocess.cpp:204> this=SshProcess(0x166ca40)  Running masterCon->addChannelConnection(this, ' "0a252129-8714-4322-8626-8b33200d902f" ', ' "bash -l -c 'echo "X2GODATABEGIN:0a252129-8714-4322-8626-8b33200d902f"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME && x2gomountdirs dir user-87-1482062337_stDICEW" '); 
x2go-DEBUG-../src/sshmasterconnection.cpp:1324> Locking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1326> Passing new channel conenction object to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1328> Unlocking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1516> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:1520> New channel:0x7fdd54012810

x2go-DEBUG-../src/sshmasterconnection.cpp:1551> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:3147952b-e838-48b4-a4f2-dd62fde5b14a"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-user-87-1482062337_stDICEWM_dp24/.pulse-client.conf";setsid x2goruncommand 87 14889 user-87-1482062337_stDICEWM_dp24 30113 icewm-session nosnd D 1> /dev/null 2>/dev/null & exit; echo "X2GODATAEND:3147952b-e838-48b4-a4f2-dd62fde5b14a";'"

x2go-DEBUG-../src/sshmasterconnection.cpp:1574> New exec channel created.

x2go-DEBUG-../src/sshmasterconnection.cpp:1516> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:1520> New channel:0x7fdd54013b60

x2go-DEBUG-../src/sshmasterconnection.cpp:1551> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:0a252129-8714-4322-8626-8b33200d902f"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME && x2gomountdirs dir user-87-1482062337_stDICEWM_dp24 user ~user/.x2go/ssh/key.TwZ359 /home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__30114; echo "X2GODATAEND:0a252129-8714-4322-8626-8b33200d902f";'"

x2go-DEBUG-../src/sshmasterconnection.cpp:1574> New exec channel created.

x2go-DEBUG-../src/sshmasterconnection.cpp:1623> EOF on channel 0x7fdd54012810; SshProcess object: 5
x2go-DEBUG-../src/sshmasterconnection.cpp:1746> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1750> Channel closed.
x2go-DEBUG-../src/sshprocess.cpp:517> SSH finished: raw output (stdout): "X2GODATABEGIN:3147952b-e838-48b4-a4f2-dd62fde5b14a
"
x2go-DEBUG-../src/sshprocess.cpp:523> Have stderr only, something must be wrong.
x2go-DEBUG-../src/sshprocess.cpp:528> SSH finished: false - "mv: cannot stat â/tmp/krb5cc_30146_vPy2LiZtBzâ: No such file or directory
" (5).
x2go-DEBUG-../src/onmainwindow.cpp:10759> "Searching proxy window: X2GO-user-87-1482062337_stDICEWM_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:12465> "Searching window with title: X2GO-user-87-1482062337_stDICEWM_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:10765> "Proxy window found: 150994979"
x2go-DEBUG-../src/onmainwindow.cpp:10636> "Resizing proxy window to fit display: 2 (x: 1920, y: 0, w: 1920, h: 1080"
x2go-DEBUG-../src/sshmasterconnection.cpp:309> New reverse connection on port 30114
x2go-DEBUG-../src/sshmasterconnection.cpp:319> Creating new channel for reverse tunnel 30114
x2go-DEBUG-../src/sshmasterconnection.cpp:333> Connecting to "127.0.0.1":22

x2go-DEBUG-../src/sshmasterconnection.cpp:361> New channel created
x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 7: "DISPLAY=:87 xrandr --output default --mode 1920x1080"
x2go-DEBUG-../src/sshprocess.cpp:204> this=SshProcess(0x2065500)  Running masterCon->addChannelConnection(this, ' "616a9b48-8260-4bd8-ad17-3e693c1b9f78" ', ' "bash -l -c 'echo "X2GODATABEGIN:616a9b48-8260-4bd8-ad17-3e693c1b9f78"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; DISPLAY=:87 xrandr --output default --mode 1920x1080; echo "X2GOD" '); 
x2go-DEBUG-../src/sshmasterconnection.cpp:1324> Locking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1326> Passing new channel conenction object to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1328> Unlocking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1516> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:1520> New channel:0x7fdd54014ce0

x2go-DEBUG-../src/sshmasterconnection.cpp:1551> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:616a9b48-8260-4bd8-ad17-3e693c1b9f78"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; DISPLAY=:87 xrandr --output default --mode 1920x1080; echo "X2GODATAEND:616a9b48-8260-4bd8-ad17-3e693c1b9f78";'"

x2go-DEBUG-../src/sshmasterconnection.cpp:1574> New exec channel created.

x2go-DEBUG-../src/sshmasterconnection.cpp:1623> EOF on channel 0x7fdd54013b60; SshProcess object: 6
x2go-DEBUG-../src/sshmasterconnection.cpp:1746> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1750> Channel closed.
x2go-DEBUG-../src/sshprocess.cpp:517> SSH finished: raw output (stdout): "X2GODATABEGIN:0a252129-8714-4322-8626-8b33200d902f
dirs:/home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__30114
ssh port:30114
Host:127.0.0.1
User:user
inserted, timeout 30 sshfs  -o idmap=user,uid=`id -u`,gid=`id -g`,default_permissions,ServerAliveInterval=300,Cipher=blowfish,IdentityFile=/home/fass/user/.x2go/ssh/key.TwZ359,UserKnownHostsFile=/home/fass/user/.x2go/ssh/key.TwZ359.ident "user"@127.0.0.1:"/home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool" "/tmp/.x2go-user/spool/C-user-87-1482062337_stDICEWM_dp24" -p 30114
mount /home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool ok
X2GODATAEND:0a252129-8714-4322-8626-8b33200d902f
"
x2go-DEBUG-../src/sshprocess.cpp:528> SSH finished: true - "dirs:/home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__30114
ssh port:30114
Host:127.0.0.1
User:user
inserted, timeout 30 sshfs  -o idmap=user,uid=`id -u`,gid=`id -g`,default_permissions,ServerAliveInterval=300,Cipher=blowfish,IdentityFile=/home/fass/user/.x2go/ssh/key.TwZ359,UserKnownHostsFile=/home/fass/user/.x2go/ssh/key.TwZ359.ident "user"@127.0.0.1:"/home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool" "/tmp/.x2go-user/spool/C-user-87-1482062337_stDICEWM_dp24" -p 30114
mount /home/user/.x2go/S-user-87-1482062337_stDICEWM_dp24/spool ok
" (6).
x2go-DEBUG-../src/onmainwindow.cpp:8183> Post-cleanup for startX2goMount triggered.

x2go-DEBUG-../src/onmainwindow.cpp:8208> Deactivating public key from "/home/user/.x2go/ssh/gen/key.TwZ359".pub again.

x2go-DEBUG-../src/sshmasterconnection.cpp:1623> EOF on channel 0x7fdd54014ce0; SshProcess object: 7
x2go-DEBUG-../src/sshmasterconnection.cpp:1746> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1750> Channel closed.
x2go-DEBUG-../src/sshprocess.cpp:517> SSH finished: raw output (stdout): "X2GODATABEGIN:616a9b48-8260-4bd8-ad17-3e693c1b9f78
X2GODATAEND:616a9b48-8260-4bd8-ad17-3e693c1b9f78
"
x2go-DEBUG-../src/sshprocess.cpp:523> Have stderr only, something must be wrong.
x2go-DEBUG-../src/sshprocess.cpp:528> SSH finished: false - "mv: cannot stat â/tmp/krb5cc_30146_vPy2LiZtBzâ: No such file or directory
xrandr: Failed to get size of gamma for output default
" (7).
x2go-DEBUG-../src/sshmasterconnection.cpp:1727> Socket 16 closed.

x2go-DEBUG-../src/onmainwindow.cpp:6014> Proxy wrote on stderr: "Error: Can't add a message of 4143380232 bytes to write buffer.
Error: Assuming error handling data in context [B].
Session: Terminating session at 'Sun Dec 18 18:48:08 2016'.
"
x2go-DEBUG-../src/sshmasterconnection.cpp:1746> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1750> Channel closed.
x2go-DEBUG-../src/onmainwindow.cpp:6014> Proxy wrote on stderr: "Session: Session terminated at 'Sun Dec 18 18:48:08 2016'.
"
x2go-DEBUG-../src/onmainwindow.cpp:5871> Deleting Proxy.
x2go-DEBUG-../src/onmainwindow.cpp:5920> Waiting for proxy to exit.
x2go-DEBUG-../src/onmainwindow.cpp:5940> Checking exit status.
x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 8: "x2gocmdexitmessage user-87-1482062337_stDICEWM_dp24"
x2go-DEBUG-../src/sshprocess.cpp:204> this=SshProcess(0x1617ae0)  Running masterCon->addChannelConnection(this, ' "e722ac5f-e15a-479f-891b-6adb3f47e20f" ', ' "bash -l -c 'echo "X2GODATABEGIN:e722ac5f-e15a-479f-891b-6adb3f47e20f"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; x2gocmdexitmessage user-87-1482062337_stDICEWM_dp24; echo "X2GO" '); 
x2go-DEBUG-../src/sshmasterconnection.cpp:1324> Locking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1326> Passing new channel conenction object to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1328> Unlocking SSH channel connection MUTEX.
x2go-DEBUG-../src/onmainwindow.cpp:5997> Finished proxy.
x2go-DEBUG-../src/sshmasterconnection.cpp:1516> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:1520> New channel:0x7fdd540143c0

x2go-DEBUG-../src/sshmasterconnection.cpp:1551> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:e722ac5f-e15a-479f-891b-6adb3f47e20f"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; x2gocmdexitmessage user-87-1482062337_stDICEWM_dp24; echo "X2GODATAEND:e722ac5f-e15a-479f-891b-6adb3f47e20f";'"

x2go-DEBUG-../src/sshmasterconnection.cpp:1574> New exec channel created.

x2go-DEBUG-../src/sshmasterconnection.cpp:1623> EOF on channel 0x7fdd540143c0; SshProcess object: 8
x2go-DEBUG-../src/sshmasterconnection.cpp:1746> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1750> Channel closed.
x2go-DEBUG-../src/sshprocess.cpp:517> SSH finished: raw output (stdout): "X2GODATABEGIN:e722ac5f-e15a-479f-891b-6adb3f47e20f
exec icewm-session
X2GODATAEND:e722ac5f-e15a-479f-891b-6adb3f47e20f
"
x2go-DEBUG-../src/sshprocess.cpp:528> SSH finished: true - "exec icewm-session
" (8).
x2go-DEBUG-../src/onmainwindow.cpp:9358> "Command message: exec icewm-session
"
x2go-DEBUG-../src/sshmasterconnection.cpp:717> SshMasterConnection, instance SshMasterConnection(0x16196d0)  waiting for thread to finish. 
x2go-DEBUG-../src/sshmasterconnection.cpp:1435> Disconnecting ...

x2go-DEBUG-../src/sshmasterconnection.cpp:1446> Deleting channel connections.

x2go-DEBUG-../src/sshmasterconnection.cpp:1746> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1750> Channel closed.
x2go-DEBUG-../src/sshmasterconnection.cpp:1454> Disconnecting session.

x2go-DEBUG-../src/sshmasterconnection.cpp:1460> Deleting sockets.

x2go-DEBUG-../src/sshmasterconnection.cpp:1467> All channels closed and session disconnected. Quiting session loop.

x2go-DEBUG-../src/sshmasterconnection.cpp:721> SshMasterConnection, instance SshMasterConnection(0x16196d0)  thread finished. 
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshmasterconnection.cpp:728> SshMasterConnection, instance SshMasterConnection(0x16196d0)  finished destructor.
_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-dev

Reply via email to