-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault in nxagent and screen flickering when maximizing x2go session window #161
Comments
Is this new? Does it also happen with last week's version before the Event patches? Vom Smartphone gesendet. ----- Ursprüngliche Nachricht ----- Server O/S: Ubuntu 14.04 |
Unfortunately i don't know - i ran into this while debugging #162 but as this segfaults in another location i created a seperate bug and #162 might not be new - i might remember some reports from my first tests with 3.6.0 (3.5.99) when i ran into the segfault from #118 but did not dug any deeper into this issue. We might have multiple things in resolution changing/setting that run into segfaults and not only on session-resume as fixed in #118 |
Hmm does it also happen with -rrxinerama? Vom Smartphone gesendet. ----- Ursprüngliche Nachricht ----- Unfortunately i don't know - i ran into this while debugging #162 but as this segfaults in another location i created a seperate bug and #162 might not be new - i might remember some reports from my first tests with 3.6.0 (3.5.99) when i ran into the segfault from #118 but did not dug any deeper into this issue. We might have multiple things in resolution changing/setting that run into segfaults and not only on session-resume as fixed in #118 |
Using "-rrxinerama" as X2GO_NXAGENT_DEFAULT_OPTIONS xinerama is no longer working as expected. The "flickering" of setting the resolution a few times per second on maximizing is still present and the segfault is still occuring Sorry, #162 is still happening even with -rrxinerama |
So just to get this straight:
Is that correct? Do you have coredumps you can examine? |
Unfortunately i'm not familiar with creating core dumps from aldready running processes. Since this segfault does not appear if i start nxagent manually i'm unable to use the method i used in #118 to debug the process. |
I tried to setup an LXDE session using the nightly arctica build on Ubuntu 14.04. It crashed after some seconds with a coredump. Here's the backtrace:
I am wondering about the output. Why is it using _XSend from libX11 instead of libNX_X11? @sunweaver: can you please check the build? |
I can get the crash by running
When there's no LXDE running resizing works fine without crash (tested empty x2goagent and xterm with and without fvwm running). It works when I add |
A self compiled nxagent reveals some more info:
So I suppose there something wrong with xrender |
11:55 < sunweaver> Sephi: about #161 and #162... |
@HolySephi: Can you please provide output of ldd /usr/lib/nx/bin/nxagent ? Thanks. |
removing the old Xinerama folder does not change the segfaulting behaviour. |
LD_LIBRARY_PATH is directing to:
X11 is empty because i deleted Xinerama as mentioned before. |
Adding "-norender" to X2GO_NXAGENT_DEFAULT_OPTIONS does not change anything regarding the segfaults or the "screen flickering" when maximizing the window. |
The above is the linker command as taken from jenkins's last trusty build job for nx-libs. Some files are duplicated in this cmdline. |
Damn it... another Ubuntu issue that does not exist in Debian. |
BTW: it also happens in my self compiled version on Ubuntu |
Update: Setting the resolution a few times per second after maximizing the window stops after about one minute and the session behaves normally then |
@HolySephi Is this working now? |
No - but there isn't any new version available - still nxagent 3.5.99.0-0.1~git20160707.1403+14.04.nightly.1 tested with the new August-build ofthe windows x2goclient |
I have been trying (and failing) to see that with a linux client (I do
not have windows at hand). I am unsure what exactly you mean with
"Connect to the server as a normal window (800x600)". So you run any
desktop environment in there? What environment?
Second, "Maximize the x2goclient window of the session" is also not
very specific. Are you using the maxinimize button of the window? Or
are you pressing Ctrl-Alt-F? Or anything else?
Uli
|
Just as i said. session setting is set to "window 800x600" and i'm pressing the "maximize window"-button on the top right corner of the window - i created a video file for you: https://cloud.sephi.de/f/7b813481ba/ (valid for 14 days) |
On Wed, Aug 24, 2016 at 4:50 PM, Florian Wicke [email protected] wrote:
This could be caused by your desktop inside the session, that is And in the video I cannow see how you trigger the window One further question: Do you have xinerama enabled in that session? Uli |
XFCE is used as DE and yes, xinerama is enabled. |
Ok, thanks. This works for me with the Linux client. Can you please retry with 3.5.99 with disabled xinerama and the $ cat /etc/x2go/x2goagent.options For everyone else: don't touch the line below!!!X2GO_NXAGENT_DEFAULT_OPTIONS+=" -nolisten tcp" Uli On Wed, Aug 24, 2016 at 8:54 PM, Florian Wicke [email protected] wrote:
|
No change in behaviour. Xinerama is disabled in the client and the x2goserver.options are set to your settings (+extension XFIXES instead of -extension) |
Hmm, I have no idea of the reason. You could try enabling debugging output by defining TEST and DEBUG in |
Window resizing starts on line 95 looks like a functions is sending a false return code: |
Your log shows that there are requests to change the size to same values again and again. I suppose I should add a better check and do nothing then. There are new nightlies now, please test with those. |
Sorry, it's still the same. The maximised resolution still gets set a few times per second in the session.log:
|
So the process isn't segfaulting anymore but the rapid repeated setting of the screen size is still occuring |
Hmm, can you please try this: In
to
and recompile. Please also enable DEBUG and TEST in Does it still happen then? |
Any news on this issue? Still happens with x2go server 4.1.0.0. |
No, sorry. I still cannot reproduce that because I don't use Windows. |
We used X2Go for 1 year at Mint XFCE with Windows-Clients and had no problems. Now we have the same issue since 1 week at all clients. I can't reproduce whats happend, but I guess it was triggerd by a Mint-Update. But not on full-screen, only on maximized screen. Full-screen is very unsatisfying, because it's reloading the complete screen on every change between local and remote screen. |
Same flickering started few days ago for me. I connect from Windows 10 x2go Client to Debian Stretch x2go server. The issue started right away after I installed updates on Debian. The Debian runs MATE desktop. Besides flickering there is another symptom, I run Windows client off a laptop with a display extended to an external monitor, so the x2go cleint window opens on laptops monitor, if I drug the window to the external monitor, the session crashes, saying that the network connection was closed. |
Please update again, the crash is fixed in nx-libs 3.5.99.15. Regarding the
flickering see #600 (no fix yet, I am still analyzing)
valeryvdr <[email protected]> schrieb am Mo., 19. März 2018, 16:38:
… Same flickering started few days ago for me. I connect from Windows 10
x2go Client to Debian Stretch x2go server. The issue started right away
after I installed updates on Debian. The Debian runs MATE desktop. Besides
flickering there is another symptom, I run Windows client off a laptop with
a display extended to an external monitor, so the x2go cleint window opens
on laptops monitor, if I drug the window to the external monitor, the
session crashes, saying that the network connection was closed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#161 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGBw5MKv2VKw1e6kjDuwaf0sdwrSrbIwks5tf9DagaJpZM4I_Cqj>
.
|
Confirm, updated Debian just now and the crush does not happen anymore, thanks! Waiting eagerly for the solution for flickering, in a mean time instead of maximising I just resize the window manually to the desktop size, which works fine. |
Same issue x2go server on debian 9 and x2go client win10 please waiting for your help ! |
We are also seeing this, but only on higher latency connections... connections from on campus to campus servers dont seem to have the problem. Off campus connections from home ISP's see it more We are on Debian 9 with all latest everything: root@nori:~# uname -a root@nori:~# apt-show-versions | grep -iE '(nx|x2go)' libnx-x11-6:amd64/stretch 2:3.5.99.16-1+git20180317.2985+9.main.1 uptodate Original user report:
|
so I made it up - having same issue (Debian 8 / XP) right after we update our PCs so installed new x2go from reps.. signed there NoMachine label appears in upper left corner instead of x2go (lol guys) and all these happened.. now made purge remove the server, added Saimaa ESR links instead, and it works as should, and without NoMachine label too.. wanted to ask - is there any way to roll back / install old version of server if further needs as above? |
Thus, closing. The issue is not an nx-libs issue, but burried in old versions of VcXsrv. Please upgrade VcXsrv to vcxsrv 1.19.6.4 or newer, if you encounter this issue. |
... see #600, for more info... |
Server O/S: Ubuntu 14.04
x2goserver version: 4.1.0.0-0
1315ubuntu14.04.1nxagent version: 3.5.99.0-0~git20160625.1249+t
Client O/S: Windows 10
X2Goclient Version: 4.0.5.1
maybe related to #162
Steps to reproduce:
I now get a very flickering screen because the resolution of the maximized window gets set multiple times per second:
After an undefined amount of time the process segfaults:
The text was updated successfully, but these errors were encountered: