Bug 484108 - kwin_x11 coredump
Summary: kwin_x11 coredump
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 00:04 UTC by Richard Ullger
Modified: 2024-11-14 20:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Ullger 2024-03-21 00:04:58 UTC
SUMMARY
Plasma randomly crashes while using the system

STEPS TO REPRODUCE
Frequent random crashes. Has happened on Alt+Tab, using a custom keyboard shortcut to start Dolphin and other unknown causes while using the system 

OBSERVED RESULT
sddm restarts displaying the login screen

EXPECTED RESULT
Continue using the system without it crashing

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2
Manufacturer: Notebook
Product Name: P7xxTM1

ADDITIONAL INFORMATION

          PID: 10928 (kwin_x11)
           UID: 1000 (richard)
           GID: 1000 (richard)
        Signal: 6 (ABRT)
     Timestamp: Wed 2024-03-20 21:23:02 GMT (1h 39min ago)
  Command Line: /usr/bin/kwin_x11 --replace
    Executable: /usr/bin/kwin_x11
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_x11.service
          Unit: user@1000.service
     User Unit: plasma-kwin_x11.service
         Slice: user-1000.slice
     Owner UID: 1000 (richard)
       Boot ID: 3dd131e75c424a23ab2bd4382875717d
    Machine ID: c993dfb5ce9241edb8a5bf0d15e772c4
      Hostname: richards-clevo
       Storage: /var/lib/systemd/coredump/core.kwin_x11.1000.3dd131e75c424a23ab2bd4382875717d.10928.1710969782000000.zst (present)
  Size on Disk: 1.1M
       Message: Process 10928 (kwin_x11) of user 1000 dumped core.

[Thread debugging using libthread_db enabled]                                   
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_x11 --replace'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, 
    signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x77c11be1ba00 (LWP 10928))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x000077c121cab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x000077c121c5a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x000077c121c424b8 in __GI_abort () at abort.c:79
#4  0x000077c120e8a924 in qAbort () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qglobal.cpp:161
#5  qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:2030
#6  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *)
    (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x77c121aa5d52 "%s", ap=ap@entry=0x7ffed28600c0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:378
#7  0x000077c120e8b135 in QMessageLogger::fatal (this=this@entry=0x7ffed2860480, msg=msg@entry=0x77c121aa5d52 "%s")
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:901
#8  0x000077c1214d9be9 in init_platform (argv=<optimized out>, argc=@0x7ffed286083c: 2, platformThemeName=..., platformPluginPath=..., pluginNamesWithArguments=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1284
#9  QGuiApplicationPrivate::createPlatformIntegration (this=0x5d301553b1b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1532
#10 0x000077c121574a18 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1551
#11 0x000077c120f3db15 in QCoreApplicationPrivate::init (this=this@entry=0x5d301553b1b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:900
#12 0x000077c121574ac1 in QGuiApplicationPrivate::init (this=this@entry=0x5d301553b1b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1579
#13 0x000077c121ef53ee in QApplicationPrivate::init (this=0x5d301553b1b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:473
#14 0x000077c121ef5542 in QApplication::QApplication
    (this=this@entry=0x7ffed2860900, argc=@0x7ffed286083c: 2, argv=argv@entry=0x7ffed2860b48, this=<optimized out>, argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:461
#15 0x000077c123a3f595 in KWin::Application::Application
    (this=this@entry=0x7ffed2860900, mode=mode@entry=KWin::Application::OperationModeX11, argc=@0x7ffed286083c: 2, argv=argv@entry=0x7ffed2860b48, this=<optimized out>, mode=<optimized out>, argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-6.0.2/src/main.cpp:83
#16 0x00005d301533f7ca in KWin::ApplicationX11::ApplicationX11 (argv=0x7ffed2860b48, argc=@0x7ffed286083c: 2, this=0x7ffed2860900) at /usr/src/debug/kwin/kwin-6.0.2/src/main_x11.cpp:176
#17 main (argc=<optimized out>, argv=0x7ffed2860b48) at /usr/src/debug/kwin/kwin-6.0.2/src/main_x11.cpp:408
(gdb)
Comment 1 Richard Ullger 2024-03-21 00:21:17 UTC
This crash happened at the exact same time.

           PID: 11196 (gmenudbusmenupr)
           UID: 1000 (richard)
           GID: 1000 (richard)
        Signal: 6 (ABRT)
     Timestamp: Wed 2024-03-20 21:23:03 GMT (2h 51min ago)
  Command Line: /usr/bin/gmenudbusmenuproxy
    Executable: /usr/bin/gmenudbusmenuproxy
 Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-gmenudbusmenuproxy.service
          Unit: user@1000.service
     User Unit: plasma-gmenudbusmenuproxy.service
         Slice: user-1000.slice
     Owner UID: 1000 (richard)
       Boot ID: 3dd131e75c424a23ab2bd4382875717d
    Machine ID: c993dfb5ce9241edb8a5bf0d15e772c4
      Hostname: richards-clevo
       Storage: /var/lib/systemd/coredump/core.gmenudbusmenupr.1000.3dd131e75c424a23ab2bd4382875717d.11196.1710969783000000.zst (present)
  Size on Disk: 400.7K
       Message: Process 11196 (gmenudbusmenupr) of user 1000 dumped core.

Core was generated by `/usr/bin/gmenudbusmenuproxy'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, 
    signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7d0c04974400 (LWP 11196))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, 
    signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007d0c05aab393 in __pthread_kill_internal (signo=6, 
    threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007d0c05a5a6c8 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/posix/raise.c:26
#3  0x00007d0c05a424b8 in __GI_abort () at abort.c:79
#4  0x00007d0c0608a924 in qAbort ()
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qglobal.cpp:161
#5  qt_message_fatal<QString&> (message=..., context=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:2030
#6  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., 
    msg=msg@entry=0x7d0c06ca5d52 "%s", ap=ap@entry=0x7ffc2d5c3380)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:378
#7  0x00007d0c0608b135 in QMessageLogger::fatal (
    this=this@entry=0x7ffc2d5c3740, msg=msg@entry=0x7d0c06ca5d52 "%s")
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:901
#8  0x00007d0c066d9be9 in init_platform (argv=<optimized out>, 
--Type <RET> for more, q to quit, c to continue without paging--c
    argc=@0x7ffc2d5c3a9c: 1, platformThemeName=..., platformPluginPath=..., 
    pluginNamesWithArguments=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1284
#9  QGuiApplicationPrivate::createPlatformIntegration (this=0x624f67f4a7a0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1532
#10 0x00007d0c06774a18 in QGuiApplicationPrivate::createEventDispatcher (
    this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1551
#11 0x00007d0c0613db15 in QCoreApplicationPrivate::init (
    this=this@entry=0x624f67f4a7a0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:900
#12 0x00007d0c06774ac1 in QGuiApplicationPrivate::init (this=0x624f67f4a7a0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1579
#13 0x00007d0c0676c4fb in QGuiApplication::QGuiApplication (
    this=<optimized out>, argc=<optimized out>, argv=<optimized out>, 
    this=<optimized out>, argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.h:172
#14 0x0000624f67d97c23 in main (argc=<optimized out>, argv=0x7ffc2d5c3c48)
    at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/gmenu-dbusmenu-proxy/main.cpp:20
(gdb)
Comment 2 Richard Ullger 2024-03-21 00:30:09 UTC
This crash also happened at the exact same time.

           PID: 11197 (xembedsniproxy)
           UID: 1000 (richard)
           GID: 1000 (richard)
        Signal: 6 (ABRT)
     Timestamp: Wed 2024-03-20 21:23:03 GMT (3h 2min ago)
  Command Line: /usr/bin/xembedsniproxy
    Executable: /usr/bin/xembedsniproxy
 Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-xembedsniproxy.service
          Unit: user@1000.service
     User Unit: plasma-xembedsniproxy.service
         Slice: user-1000.slice
     Owner UID: 1000 (richard)
       Boot ID: 3dd131e75c424a23ab2bd4382875717d
    Machine ID: c993dfb5ce9241edb8a5bf0d15e772c4
      Hostname: richards-clevo
       Storage: /var/lib/systemd/coredump/core.xembedsniproxy.1000.3dd131e75c424a23ab2bd4382875717d.11197.1710969783000000.zst (present)
  Size on Disk: 391.0K
       Message: Process 11197 (xembedsniproxy) of user 1000 dumped core.

Core was generated by `/usr/bin/xembedsniproxy'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;                                                                                                                 
[Current thread is 1 (Thread 0x72ee93b5fdc0 (LWP 11197))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x000072ee95ec4393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x000072ee95e736c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x000072ee95e5b4b8 in __GI_abort () at abort.c:79
#4  0x000072ee9508a924 in qAbort () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qglobal.cpp:161
#5  qt_message_fatal<QString&> (message=..., context=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:2030
#6  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x72ee95ca5d52 "%s", 
    ap=ap@entry=0x7ffdbbad3250) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:378
#7  0x000072ee9508b135 in QMessageLogger::fatal (this=this@entry=0x7ffdbbad3610, msg=msg@entry=0x72ee95ca5d52 "%s")
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qlogging.cpp:901
#8  0x000072ee956d9be9 in init_platform (argv=<optimized out>, argc=@0x7ffdbbad396c: 1, platformThemeName=..., platformPluginPath=..., pluginNamesWithArguments=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1284
#9  QGuiApplicationPrivate::createPlatformIntegration (this=0x555ddffc3300) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1532
#10 0x000072ee95774a18 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1551
#11 0x000072ee9513db15 in QCoreApplicationPrivate::init (this=this@entry=0x555ddffc3300) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:900
#12 0x000072ee95774ac1 in QGuiApplicationPrivate::init (this=0x555ddffc3300) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:1579
#13 0x000072ee9576c4fb in QGuiApplication::QGuiApplication (this=<optimized out>, argc=<optimized out>, argv=<optimized out>, this=<optimized out>, argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.h:172
#14 0x0000555ddfbcb233 in main (argc=<optimized out>, argv=0x7ffdbbad3b18) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/xembed-sni-proxy/main.cpp:34
(gdb)
Comment 3 Richard Ullger 2024-03-21 00:32:49 UTC
There were also coredumps from ksmserver and neochat at the same time.
Comment 4 Christophe Marin 2024-04-02 11:01:51 UTC

*** This bug has been marked as a duplicate of bug 483073 ***
Comment 5 Christophe Marin 2024-06-27 09:29:00 UTC
Since I'm getting doubts about whether it's really a duplicate, let's reopen this report
Comment 6 Christophe Marin 2024-06-27 09:29:38 UTC
I thought it was gone, but it's not the case:

(In reply to Christophe Marin from comment #4)
> I don't have a clear way to reproduce but each time I see this crash, it
> happens when restoring an application using the tray icon if the screens
> were turned off due to inactivity before (not immediately before, but I
> don't think I ever had the crash if the screens didn't turn off before)
> 
> coredumpctl always saves bt for gmenudbusmenuproxy, kwalletd6 and kwin_x11
> in this case (and sometimes xembedsniproxy)


If what I see is indeed the same bug as initially reported, I'm still seeing it

ksmserver crashes and drags everything:

Thu 2024-06-27 11:07:53 CEST  2859 1000 1000 SIGSEGV present      /usr/bin/ksmserver
Thu 2024-06-27 11:07:53 CEST 17084 1000 1000 SIGABRT present      /usr/bin/gmenudbusmenuproxy
Thu 2024-06-27 11:07:53 CEST 17085 1000 1000 SIGABRT present      /usr/bin/xembedsniproxy
Thu 2024-06-27 11:07:53 CEST 17154 1000 1000 SIGABRT present      /usr/bin/xembedsniproxy
Thu 2024-06-27 11:07:53 CEST 17153 1000 1000 SIGABRT present      /usr/bin/gmenudbusmenuproxy
Thu 2024-06-27 11:07:54 CEST  3005 1000 1000 SIGSEGV present      /usr/bin/plasmashell
Thu 2024-06-27 11:07:56 CEST 17276 1000 1000 SIGABRT present      /usr/libexec/drkonqi