X11 segfaulting since update (Arch Linux)

I have an issue with X11 crashing while using Plasma, this mostly happens while:
-Browsing Firefox
-Browsing Discord
-Scrolling in Konsole

My specs:
OS: Arch Linux x86_64
Kernel: 6.13.4-arch1-1
DE: Plasma 6.3.1
GPU: NVIDIA GeForce RTX 4060 (using official nvidia drivers)

Last updated yesterday; the issue persists since performing a full system update last week.

journalctl shows me the following: Feb 24 14:32:48 daddler systemd-coredump[6855]: Process 5765 (Xorg) of user 0 - Pastebin.com
Also tried backtracing a crashed X11 process with coredump gdb.
After a lot of lines that look like this:

#261782 0x0000735295316949 in ?? () from /usr/lib/xorg/modules/extensions/libvnc.so

It finishes with the following lines:

#261783 0x00005a3635f54edb in ?? ()
#261784 0x00005a3635f564e9 in miPointerSetPosition ()
#261785 0x00005a3635f9713d in ?? ()
#261786 0x00005a3635f98211 in ?? ()
#261787 0x00005a3635f98ec4 in GetPointerEvents ()
#261788 0x00005a363608ec0f in xf86PostMotionEventM ()
#261789 0x00007352831898a0 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
#261790 0x000073528318a068 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
#261791 0x00005a363605a779 in ?? ()
#261792 0x00005a363605c084 in ?? ()
#261793 0x00005a363605f959 in ?? ()
#261794 0x0000735295b6270a in ?? () from /usr/lib/libc.so.6
#261795 0x0000735295be6aac in ?? () from /usr/lib/libc.so.6

Xorg logs show me nothing about the crash.

Is there anything I can do to fix this? This is pretty severe and caused data loss, as the whole session was crashing while copying/downloading/uploading files.

Thanks!

Do have debuginfod active ? Try turning it on and get the stack trace again, it should be more informative.

/usr/lib/xorg/modules/extensions/libvnc.so

That’s not in KDE software, neither is Xorg.
Are you using vnc, remote screen ?

It looks like:

You might want to consider the workaround: Random Log Outs in X11 - #19 by meven

Hey, thanks a lot for your reply.

I was not using VNC server but had it installed, as I have used it ~1yr ago. I have removed my VNC packages for now.

debuginfod was not installed on my system, I have installed it now. Tried backtracing the previous pid that had crashed, but it didn’t ask me to enable debuginfod - should I reboot first, enter a different command to enable it, and/or wait for another crash altogether?

Also I’m sorry if the issue doesn’t have anything to do with KDE. Plasma has also been updated during the last week, so I thought there might be a connection. I’d very much appreciate if you have any more tips regardless.

Thanks!

That’s weird it should offer you that.
Do you have DEBUGINFOD_URLS set ?
If not export DEBUGINFOD_URLS="https://debuginfod.archlinux.org"
And retry.

Sometimes gdb can’t work, but I am still surprised, that would the current installed binary differ from the ones that created this crash.

Chances Plasma wasn’t the only package updated.

Hey, indeed I had not set the debuginfod urls. I have set them and retried, but still no offer of using debuginfod. Should I maybe wait for another crash?

Thanks!

After deleting all VNC packages and updating nvidia once again, I haven’t had a crash so far. Interestingly, this also solved another issue - everything ran under 50fps, even though I should have 60. This is no longer the case.

I will report back if I encounter another crash, but so far this seems to be fixed.
@meven Thanks alot for your help, you are a saint :pray:

1 Like