xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 2 years ago

Closed 2 years ago

Last modified 16 months ago

#2575 closed defect (fixed)

x11 client crashes when the display does not have randr support

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: client Version: 3.0.x
Keywords: Cc:


(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib64/python3.7/site-packages/xpra/platform/xposix/gui.py", line 369, in get_vrefresh
    v = randr.get_vrefresh()
  File "/usr/lib64/python3.7/site-packages/xpra/client/ui_client_base.py", line 207, in init_ui
    v = get_vrefresh()
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/main.py", line 1583, in get_client_app
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/main.py", line 1430, in run_client
    app = get_client_app(error_cb, opts, extra_args, mode)
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/main.py", line 447, in run_mode
    return run_client(error_cb, options, args, mode)
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/main.py", line 115, in main
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/usr/bin/xpra", line 9, in <module>
    sys.exit(main(sys.argv[0], sys.argv))
(gdb) q

get_vrefresh() calls XRRGetScreenInfo and we shouldn't call it on a system that doesn't have randr.
The server already handles screen without randr gracefully.

Change History (2)

comment:1 Changed 2 years ago by Antoine Martin

Resolution: fixed
Status: newclosed


Backports in r25149 + r25150.

Last edited 2 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2575

Note: See TracTickets for help on using tickets.