xpra icon
Bug tracker and wiki

Opened 4 months ago

Closed 4 months ago

#2281 closed defect (worksforme)

Crash upon connection (SSH)

Reported by: John Smith Owned by: John Smith
Priority: critical Milestone: 3.0
Component: client Version: 2.5.x
Keywords: crash Cc:

Description

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

Attachments (2)

xpra.log (97.8 KB) - added by John Smith 4 months ago.
xpra_launcher -d all &> xpra.log
xpra.attach.log (2.9 KB) - added by John Smith 4 months ago.
xra attach -d opengl ssh://myalias &> xpra.attach.log

Download all attachments as: .zip

Change History (9)

Changed 4 months ago by John Smith

Attachment: xpra.log added

xpra_launcher -d all &> xpra.log

comment:1 Changed 4 months ago by Antoine Martin

Owner: changed from Antoine Martin to John Smith

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

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

comment:2 Changed 4 months ago by John Smith

~/: 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.)
Last edited 4 months ago by Antoine Martin (previous) (diff)

comment:3 Changed 4 months ago by John Smith

~/: 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-r22431 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.)
Last edited 4 months ago by Antoine Martin (previous) (diff)

comment:4 Changed 4 months ago by Antoine Martin

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.

Changed 4 months ago by John Smith

Attachment: xpra.attach.log added

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

comment:5 Changed 4 months ago by Antoine Martin

Owner: changed from John Smith to Antoine Martin
Priority: majorcritical
Status: newassigned

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.

Last edited 4 months ago by Antoine Martin (previous) (diff)

comment:6 Changed 4 months ago by Antoine Martin

Owner: changed from Antoine Martin to John Smith
Status: assignednew

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:])

comment:7 Changed 4 months ago by Antoine Martin

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.