xfwl4 sometimes exits after virtual-console change

Issue Description

I've had several instances of xfwl4 running into an error and exiting. The one time I was able to trigger this quickly while logging was enabled, the trigger was switching to a text console and back. I suspect (but have not verified) that GPU suspend/resume may be another possible trigger.

Steps to Reproduce Issue

I have not yet found a guaranteed way to reproduce this error. It does not happen every time I switch to a text console and back; however, the way I reproduced it for the attached log was:

  1. Run RUST_BACKTRACE=1 XFWL4_LOG=debug xfwl4 2>&1 | tee xfwl4.log from a text console

  2. Switch to another text console with Ctrl+Alt+F2

  3. Switch back with Ctrl+Alt+F1

  4. After doing so the graphical environment had exited; however I had to press Ctrl+C to return to the command line.

    xfwl4.log

Expected Behavior

xfwl4 should continue running until logout.

Additional Information

This issue could relate to interacting with specific video drivers. I am using a very old NVidia card (GTX 960) with the Nouveau driver.

Environment & Versions

  • OS distribution and version: Devuan 6 Excalibur
  • Overall Xfce version: Latest development releases or main branches mostly.
  • xfwl4 version (git hash if not a release): fc68362f
  • libxfce4ui version (git hash if not a release): 4.21.8
  • xfce4-settings version (git hash if not a release): e7c5907eb420e5663b2bfdea01612ed0dfd9bbfd
  • GTK theme: Clearlooks-Phenix
  • Decorations theme: Agualemon
  • GPU make and model: NVidia GTK-960
  • Monitor scale factor(s): 1
Edited by Timothy N. Gaskell