Skip to content
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

Crash upon connection (SSH) #2281

Closed
totaam opened this issue Apr 22, 2019 · 17 comments
Closed

Crash upon connection (SSH) #2281

totaam opened this issue Apr 22, 2019 · 17 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Apr 22, 2019

Issue migrated from trac ticket # 2281

component: client | priority: critical | resolution: worksforme | keywords: crash

2019-04-22 16:50:33: godevilove created the issue


[Xubuntu 18.04, xpra v2.5.1-22431] -> [Xubuntu 18.04 xpra v2.5.1-22431]

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 16:51:31: godevilove uploaded file xpra.log (97.8 KiB)

xpra_launcher -d all &> xpra.log

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 17:08:49: antoine changed owner from antoine to godevilove

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 17:08:49: antoine commented


Does it happen if you connect using the command line instead of the launcher?

Can you post the output of xpra opengl-probe && echo $??

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 17:44:55: godevilove commented


~/: xpra opengl-probe && echo $?
The program 'Xpra' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 176 error_code 2 request_code 155 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 17:46:50: godevilove commented


~/: xpra attach ssh://myhostalias
The program 'Xpra' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 176 error_code 2 request_code 155 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
2019-04-22 19:46:12,221 Xpra GTK2 client version 2.5.1-22431 64-bit
2019-04-22 19:46:12,222  running on Linux Ubuntu 18.04 bionic
2019-04-22 19:46:12,224  window manager is 'Xfwm4'
2019-04-22 19:46:15,213 GStreamer version 1.14.1 for Python 2.7.15 64-bit
2019-04-22 19:46:15,881 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
The program 'xpra' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 212 error_code 2 request_code 155 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 17:49:06: antoine commented


Looks like your opengl drivers are buggy. Are you using an intel chipset?
Run the attach command with --opengl=no and it should be fine.

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 17:59:20: godevilove uploaded file xpra.attach.log (2.9 KiB)

xra attach -d opengl ssh://myalias &> xpra.attach.log

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 18:00:30: antoine changed priority from major to critical

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 18:00:30: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 18:00:30: antoine changed owner from godevilove to antoine

@totaam
Copy link
Collaborator Author

totaam commented Apr 22, 2019

2019-04-22 18:00:30: antoine commented


From IRC:

~/: xpra opengl-probe ; echo $?

returned 1.

2019-04-22 19:57:29,862 OpenGL probe command returned 1 for command=['python2', '/usr/bin/xpra', 'opengl-probe', '-d', 'opengl']

After that, we should NOT be trying to use the driver.

@totaam
Copy link
Collaborator Author

totaam commented Apr 23, 2019

2019-04-23 02:30:14: antoine changed status from assigned to new

@totaam
Copy link
Collaborator Author

totaam commented Apr 23, 2019

2019-04-23 02:30:14: antoine changed owner from antoine to godevilove

@totaam
Copy link
Collaborator Author

totaam commented Apr 23, 2019

2019-04-23 02:30:14: antoine commented


Please apply r22509 and see if that fixes things.
If it does not, add this trivial patch:

--- xpra/client/gtk_base/gtk_client_base.py	(revision 22509)
+++ xpra/client/gtk_base/gtk_client_base.py	(working copy)
@@ -978,7 +978,7 @@
         parts = enable_opengl.split(":", 1)
         enable_option = parts[0]            #ie: "on"
         opengllog("init_opengl: enable_option=%s", enable_option)
-        if enable_option in ("probe-failed", "probe-error", "probe-crash"):
+        if enable_option in ("probe-failed", "probe-error", "probe-crash", "probe-warning"):
             msg = enable_option.replace("-", " ")
             if len(parts)>1:
                 msg += ": %s" % csv(parts[1:])

@totaam
Copy link
Collaborator Author

totaam commented Apr 29, 2019

2019-04-29 16:26:06: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 29, 2019

2019-04-29 16:26:06: antoine set resolution to worksforme

@totaam
Copy link
Collaborator Author

totaam commented Apr 29, 2019

2019-04-29 16:26:06: antoine commented


Not heard back, so I assume that r22509 fixed things.

@totaam totaam closed this as completed Apr 29, 2019
@totaam totaam added the v2.5.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant