kwin_x11 triggers core dumps in my home/user dir. Why?

Hi, I build a new rig with Manjaro KDE a couple of weeks ago and ran in quite some issues that I all managed to solve except this one. I hope someone can help me out a bit. Thanks in advance!

It looks like kwin_x11 is triggering core dumps, I found a bunch in my user dir (/home/rob/core.1759 for example)

File gave the following result:

(base) [rob@jaws etc]$ file /home/rob/core.1759  
/home/rob/core.1759: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kwin_x11', real uid: 1000, effective uid: 1000, real gid: 1001, effective gid: 1001, execfn: '/usr/bin/kwin_x11', platform: 'x86_64'

Then I used GDB to analyze further but that failed because the core files all seem to be truncated:

(base) [rob@jaws opt]$ gdb -c core.1773
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.                                                                                                                                                                                                                                                                            
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 1773]
[New LWP 27849]
[New LWP 2067]
[New LWP 1894]
[New LWP 63099]

warning: Unexpected size of section `.reg-xstate/1773' in core file.
Core was generated by `/usr/bin/kwin_x11'.
Program terminated with signal SIGABRT, Aborted.

warning: Unexpected size of section `.reg-xstate/1773' in core file.
#0  0x00007f9fc2d65355 in ?? ()
[Current thread is 1 (LWP 1773)]
(gdb) Quit

Some system info:

(base) [rob@jaws ~]$ inxi -Fx
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_MONETARY = "nl_NL.UTF-8",
        LC_MEASUREMENT = "nl_NL.UTF-8",
        LC_TIME = "nl_NL.UTF-8",
        LC_COLLATE = "nl_NL.UTF-8",
        LC_NUMERIC = "nl_NL.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
System:    Host: jaws Kernel: 5.7.0-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 
           Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING EDGE WIFI (MS-7C37) v: 1.0 serial: <root required> 
           UEFI: American Megatrends v: 1.80 date: 04/20/2020 
CPU:       Topology: 16-Core (2-Die) model: AMD Ryzen 9 3950X bits: 64 type: MT MCP MCM arch: Zen L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 224083 
           Speed: 3080 MHz min/max: 2200/3500 MHz Core speeds (MHz): 1: 3080 2: 1987 3: 2200 4: 2200 5: 2106 6: 2076 7: 3745 
           8: 2036 9: 2238 10: 2095 11: 2089 12: 2090 13: 2078 14: 2199 15: 2200 16: 2200 17: 2199 18: 2200 19: 2200 20: 2199 
           21: 2200 22: 2106 23: 2103 24: 2063 25: 3684 26: 2085 27: 2200 28: 2200 29: 2200 30: 2199 31: 2200 32: 2199 
Graphics:  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: Micro-Star MSI driver: nvidia v: 440.82 bus ID: 2d:00.0 
           Display: x11 server: X.Org 1.20.8 driver: nvidia tty: N/A 
           OpenGL: renderer: GeForce RTX 2080 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 440.82 direct render: Yes 
Audio:     Device-1: NVIDIA TU104 HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 2d:00.1 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel 
           v: kernel bus ID: 2f:00.4 
           Sound Server: ALSA v: k5.7.0-3-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI X570-A PRO driver: r8169 
           v: kernel port: d000 bus ID: 27:00.0 
           IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: 00:d8:61:d2:df:40 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 931.51 GiB used: 1.00 TiB (110.4%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB temp: 39 C 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB temp: 39 C 
Partition: ID-1: / size: 58.81 GiB used: 13.36 GiB (22.7%) fs: ext4 dev: /dev/nvme0n1p3 
           ID-2: /home size: 840.59 GiB used: 325.93 GiB (38.8%) fs: ext4 dev: /dev/nvme0n1p4 
           ID-3: swap-1 size: 16.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 45.5 C mobo: 32.0 C gpu: nvidia temp: 33 C 
           Fan Speeds (RPM): fan-1: 0 fan-2: 528 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 fan-7: 0 gpu: nvidia fan: 24% 
Info:      Processes: 485 Uptime: 51m Memory: 31.38 GiB used: 3.25 GiB (10.4%) Init: systemd Compilers: gcc: 10.1.0 
           Shell: bash v: 5.0.17 inxi: 3.0.37

kwin_x11 kept on creating core dumps and more analysis from my side didn't reveal anything. As it effected my system I reinstalled Manjaro and all packages I need and everything is good again. I'm marking this thread as solved, although it clearly is not.

Should anybody have an idea what the problem might have been, do let me know. Thanks.

1 Like

I too have same issue. Kwin_x11 gives error with core dump. But I see this when I try to logout and login. However I first did not have had this issue. But After I installed Kvantum theme, I get this error. Waiting for an update to fix this! Hopefully

Jul 31 01:23:01 dsys systemd-coredump[91263]: Process 88859 (kwin_x11) of user 1000 dumped core.
                                              
                                              Stack trace of thread 88859:
                                              #0  0x00007ff250ba0355 n/a (n/a + 0x0)

For now only this short errors. Last time it had given very long errors.
I will report back if I can reproduce with other circumstances!

I confirmed. The core dump happens when I logout and login. I thought this is theming issue. So I changed theme. But still the error remains.

FYI, 2 months later and everything is still stable, no explainable errors, no core dumps.Strange that so few people mention this issue (or have an idea how to fix it).

Forum kindly sponsored by