xfce4-display-settings crashes after stable update (2019-08-13)

gdb xfce4-display-settings
...
(gdb) run
Starting program: /usr/bin/xfce4-display-settings 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff49c7700 (LWP 14450)]
[New Thread 0x7fffeffff700 (LWP 14451)]

Thread 1 "xfce4-display-s" received signal SIGSEGV, Segmentation fault.
0x00007ffff6eb4c90 in free () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff6eb4c90 in free () at /usr/lib/libc.so.6
#1  0x0000555555565975 in  ()
#2  0x000055555555dad5 in  ()
#3  0x0000555555560896 in  ()
#4  0x000055555555b201 in  ()
#5  0x00007ffff6e53ee3 in __libc_start_main () at /usr/lib/libc.so.6
#6  0x000055555555bd0e in  ()

my gdb output looks different

(gdb) run
Starting program: /usr/bin/xfce4-display-settings 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff4b11700 (LWP 11528)]
[New Thread 0x7fffeffff700 (LWP 11529)]

Thread 1 "xfce4-display-s" received signal SIGSEGV, Segmentation fault.
0x00007ffff6f8115e in __strcmp_avx2 () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff6f8115e in __strcmp_avx2 () at /usr/lib/libc.so.6
#1  0x0000555555565a0c in  ()
#2  0x000055555555dad5 in  ()
#3  0x0000555555560896 in  ()
#4  0x000055555555b201 in  ()
#5  0x00007ffff6e4dee3 in __libc_start_main () at /usr/lib/libc.so.6
#6  0x000055555555bd0e in  ()

This XFCE 2+ monitors break xfsettingsd with 2019-08-13 update look like it is related... at least the 3 Monitor thing

$ gdb xfce4-display-settings
GNU gdb (GDB) 8.3
...
Reading symbols from xfce4-display-settings...
(No debugging symbols found in xfce4-display-settings)
(gdb) run
Starting program: /usr/bin/xfce4-display-settings
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff4b5f700 (LWP 30914)]
[New Thread 0x7fffeffff700 (LWP 30915)]

Thread 1 "xfce4-display-s" received signal SIGSEGV, Segmentation fault.
0x00007ffff6edfc90 in free () from /usr/lib/libc.so.6
(gdb) thread apply all bt

Thread 3 (Thread 0x7fffeffff700 (LWP 30915)):
#0 0x00007ffff6f49667 in poll () at /usr/lib/libc.so.6
#1 0x00007ffff7085a80 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007ffff7086a63 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff71f2a38 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007ffff7062a31 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007ffff640557f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007ffff6f540e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffff4b5f700 (LWP 30914)):
#0 0x00007ffff6f49667 in poll () at /usr/lib/libc.so.6
#1 0x00007ffff7085a80 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007ffff7085b51 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff7085ba2 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ffff7062a31 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007ffff640557f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007ffff6f540e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff5583680 (LWP 30910)):
#0 0x00007ffff6edfc90 in free () at /usr/lib/libc.so.6
#1 0x0000555555565975 in ()
#2 0x000055555555dad5 in ()
#3 0x0000555555560896 in ()
#4 0x000055555555b201 in ()
#5 0x00007ffff6e7eee3 in __libc_start_main () at /usr/lib/libc.so.6
#6 0x000055555555bd0e in ()
(gdb)

I'm now back to xfce-settings 4.12. That's the lastest working for me.

System:
  Host: manjaro-pc Kernel: 5.2.8-1-MANJARO x86_64 bits: 64 
  Desktop: Xfce 4.14.1 Distro: Manjaro Linux 
Graphics:
  Device-1: AMD Vega 10 XL/XT [Radeon RX Vega 56/64] driver: amdgpu 
  v: kernel 
  Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati unloaded: modesetting 
  resolution: 3840x2160~60Hz, 1920x1080~60Hz, 1920x1080~60Hz, 1920x1080~50Hz 
  OpenGL: 
  renderer: Radeon RX Vega (VEGA10 DRM 3.32.0 5.2.8-1-MANJARO LLVM 8.0.1) 
  v: 4.5 Mesa 19.1.4 

Thx. Will forward this info to upstream and might provide a package with debug symbols for deeper testing.

With xfce-settings 4.14.0-1 and if I save a display profile, as also activate "configure new displays after connecting" and "set profile automatic after connecting a new display" it seem to work for me.
It seem to notice If I power off the 4k screen and does not rembemer it after powering on again.
Edit: No. xfce-settings crashing constantly if I turn off my main-screen

Does this patch solves the issue? Please also try xfce4-settings-gtk3-4.14.0-2 to confirm if this improves things.

https://bugzilla.xfce.org/attachment.cgi?id=8887

2 Likes

Works like a charm.

Thank you for providing a patch so fast. :grinning:

xfce4-settings 4.14.0-1.1 that came with today's hotfix seems to solve the issue, thanks!

Sadly, I still have problems if I turn my 4k off. And also after turning on again I get these graphic issues

Hmm not so good. You may also look at this:

https://bugzilla.xfce.org/show_bug.cgi?id=15816

Does a package downgrade work?

By any chance you have an amdgpu driver running? If so try to disable compositing in xfwm4 and use compton if a compositor is needed.

I'm using a V64 with amd-gpu, amdgpu-experimental, opencl-amd
My snapshot with xfce-settings 4.12.4-2 "only" rearranges my screens after powering my 4k screen off and on again. But doesnt make such bigger issues.
If you may need some outputs feel free to ask for.
With Compton the artefects getting a bit better, but still there.

I've updated xfce4-settings and xfce4-settings-gtk3 to see if a newer patch fixes it. Would be appreciated any positive feedback.

@philm, I confirm that the issue seems to be resolved for me with the Dell 3100 hub, but I currently only use 1080 displays. Thanks for the fast turn around on the patches.

Seems upstream also found a more generic solution. Will update the package once more.

I'm still in trouble with these artefects.
They appear as soon as I turn on/off one screen.
I would be pleased to provide you a log/error message, but don't know where to search.

Forum kindly sponsored by Bytemark