Bug 498839 - Multiple core files in /tmp after Ctrl-Alt-F1+init 3 after upgrade to plasma 6.3 beta
Summary: Multiple core files in /tmp after Ctrl-Alt-F1+init 3 after upgrade to plasma ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.2.90
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 10:34 UTC by Vadym Krevs
Modified: 2025-01-24 17:42 UTC (History)
2 users (show)

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


Attachments
gmenudbusmenuproxy gdb stack trace (5.61 KB, text/plain)
2025-01-18 10:35 UTC, Vadym Krevs
Details
kaccess gdb stack trace (6.00 KB, text/plain)
2025-01-18 10:36 UTC, Vadym Krevs
Details
xembedsniproxy gdb stack trace (5.77 KB, text/plain)
2025-01-18 10:36 UTC, Vadym Krevs
Details
kwin gdb stack trace (10.33 KB, text/plain)
2025-01-18 10:57 UTC, Vadym Krevs
Details
ksmserver-logout-greeter gdb stack trace (13.38 KB, text/plain)
2025-01-18 10:58 UTC, Vadym Krevs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2025-01-18 10:34:54 UTC
SUMMARY
Multiple core files in /tmp after Ctrl-Alt-F1+init 3 after upgrade to plasma 6.3 beta

STEPS TO REPRODUCE
1.  Login into KDE
2.  Hit Ctrl-Alt-F1
3.  In console become root and run "init 3".

OBSERVED RESULT
file /tmp/core*
ore_gmenudbusmenupr_1000.5250: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/gmenudbusmenuproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/gmenudbusmenuproxy', platform: 'x86_64'
core_gmenudbusmenupr_1000.5342: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/gmenudbusmenuproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/gmenudbusmenuproxy', platform: 'x86_64'
core_gmenudbusmenupr_1000.5355: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/gmenudbusmenuproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/gmenudbusmenuproxy', platform: 'x86_64'
core_gmenudbusmenupr_1000.5367: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/gmenudbusmenuproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/gmenudbusmenuproxy', platform: 'x86_64'
core_gmenudbusmenupr_1000.5379: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/gmenudbusmenuproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/gmenudbusmenuproxy', platform: 'x86_64'
core_kaccess_1000.5252:         ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kaccess', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kaccess', platform: 'x86_64'
core_kaccess_1000.5343:         ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kaccess', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kaccess', platform: 'x86_64'
core_kaccess_1000.5356:         ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kaccess', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kaccess', platform: 'x86_64'
core_kaccess_1000.5368:         ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kaccess', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kaccess', platform: 'x86_64'
core_kaccess_1000.5380:         ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kaccess', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kaccess', platform: 'x86_64'
core_xembedsniproxy_1000.5254:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/xembedsniproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/xembedsniproxy', platform: 'x86_64'
core_xembedsniproxy_1000.5344:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/xembedsniproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/xembedsniproxy', platform: 'x86_64'
core_xembedsniproxy_1000.5357:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/xembedsniproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/xembedsniproxy', platform: 'x86_64'
core_xembedsniproxy_1000.5369:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/xembedsniproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/xembedsniproxy', platform: 'x86_64'
core_xembedsniproxy_1000.5381:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/xembedsniproxy', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/xembedsniproxy', platform: 'x86_64'


EXPECTED RESULT
No core files in /tmp

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.4.0-150600.23.33-default (64-bit)
Graphics Platform: X11
Graphics Processor: NVIDIA GeForce RTX 4060 Ti

gdb stack traces from gmenudbusmenupr, kaccess, xembedsniproxy are attached.
Comment 1 Vadym Krevs 2025-01-18 10:35:43 UTC
Created attachment 177491 [details]
gmenudbusmenuproxy gdb stack trace
Comment 2 Vadym Krevs 2025-01-18 10:36:02 UTC
Created attachment 177492 [details]
kaccess gdb stack trace
Comment 3 Vadym Krevs 2025-01-18 10:36:21 UTC
Created attachment 177493 [details]
xembedsniproxy gdb stack trace
Comment 4 Vadym Krevs 2025-01-18 10:37:04 UTC
Prior to upgrade to 6.3  beta, plasma 6.2.x crash as described.
Comment 5 Vadym Krevs 2025-01-18 10:44:57 UTC
(In reply to Vadym Krevs from comment #4)
> Prior to upgrade to 6.3  beta, plasma 6.2.x crash as described.

Sorry, mistyped. I meant plasma 6.2.x did not crash after Ctrl-Alt-F1+init 3.
Comment 6 Vadym Krevs 2025-01-18 10:56:31 UTC
Additionally, if I log out and then hit Ctrl-Alt-F1+init 3, then the same core files as in comment #1 appear plus the following additional core files:

core_kwin_x11_1000.7585:        ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kwin_x11 --replace', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kwin_x11', platform: 'x86_64'
core_kwin_x11_1000.7600:        ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kwin_x11 --replace', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kwin_x11', platform: 'x86_64'
core_kwin_x11_1000.7647:        ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kwin_x11 --replace', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kwin_x11', platform: 'x86_64'
core_kwin_x11_1000.7685:        ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kwin_x11 --replace', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kwin_x11', platform: 'x86_64'
core_kwin_x11_1000.7703:        ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kwin_x11 --replace', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kwin_x11', platform: 'x86_64'
core_QSGRenderThread_1000.7480: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/lib/ksmserver-logout-greeter', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/lib/ksmserver-logout-greeter', platform: 'x86_64'

gdb stack traces for kwin and kwin_logout_greeter are also attacked.
Comment 7 Vadym Krevs 2025-01-18 10:57:06 UTC
Created attachment 177495 [details]
kwin gdb stack trace
Comment 8 Vadym Krevs 2025-01-18 10:58:04 UTC
Created attachment 177496 [details]
ksmserver-logout-greeter gdb stack trace
Comment 9 Vadym Krevs 2025-01-18 11:02:22 UTC
Also, plasma 6.2.x did not crash after Log out followed by Ctrl-Alt-F1+init 3.
Comment 10 Vadym Krevs 2025-01-19 16:53:15 UTC
All these crashes except for the ksmserver-logout-greeter's one, are in QGuiApplicationPrivate::createPlatformIntegration() calling init_platform(). Seems similar to https://bugs.kde.org/show_bug.cgi?id=450320 but this is Qt6/Plasma 6.3 ...

E.g. from gmenudbusmenuproxy gdb stack trace:

Thread 1 (Thread 0x7f8d02c5a500 (LWP 5250)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f8d026a949f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f8d02657842 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f8d0263f5cf in __GI_abort () at abort.c:79
#4  0x00007f8d02ee51eb in qAbort () at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/corelib/global/qassert.cpp:49
#5  qt_message_fatal<QString&> (message=..., context=...) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/corelib/global/qlogging.cpp:2116
#6  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7f8d03d5de51 "%s", ap=ap@entry=0x7ffffcb03968) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/corelib/global/qlogging.cpp:382
#7  0x00007f8d02ee6020 in QMessageLogger::fatal (this=this@entry=0x7ffffcb03e70, msg=msg@entry=0x7f8d03d5de51 "%s") at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/corelib/global/qlogging.cpp:884
#8  0x00007f8d0375e86d in init_platform (argv=<optimized out>, argc=@0x7ffffcb041ac: 1, platformThemeName=..., platformPluginPath=..., pluginNamesWithArguments=...) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/gui/kernel/qguiapplication.cpp:1327
#9  QGuiApplicationPrivate::createPlatformIntegration (this=0x55bf296212f0) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/gui/kernel/qguiapplication.cpp:1580
#10 0x00007f8d037f6c08 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/gui/kernel/qguiapplication.cpp:1599
#11 0x00007f8d02f9ae74 in QCoreApplicationPrivate::init (this=this@entry=0x55bf296212f0) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/corelib/kernel/qcoreapplication.cpp:928
#12 0x00007f8d037f6c90 in QGuiApplicationPrivate::init (this=0x55bf296212f0) at /usr/src/debug/qt6-base-6.8.1-lp156.140.4.x86_64/src/gui/kernel/qguiapplication.cpp:1627
#13 0x00007f8d037f7dd4 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-6.8.1-lp156.140.4.x86_64/src/gui/kernel/qguiapplication.h:172
#14 0x000055bf15cee3b4 in main (argc=<optimized out>, argv=0x7ffffcb043e8) at /usr/src/debug/plasma6-workspace-6.2.90-kf.62.1.x86_64/gmenu-dbusmenu-proxy/main.cpp:26
(gdb)
Comment 11 Vadym Krevs 2025-01-19 17:00:10 UTC
journalctl contains the same 3 lines for each process that crashed in init_platform():

gmenudbusmenuproxy[7701]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                                               Available platform plugins are: minimal, offscreen, wayland-egl, vnc, xcb, minimalegl, wayland, linuxfb, eglfs, vkkhrdisplay.
gmenudbusmenuproxy[7701]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
gmenudbusmenuproxy[7701]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Comment 12 Vadym Krevs 2025-01-19 17:01:01 UTC
libxcb-cursor0 is installed:
$ rpm -q libxcb-cursor0
libxcb-cursor0-0.1.3-150400.3.2.3.x86_64
Comment 13 Vadym Krevs 2025-01-19 17:20:30 UTC
ksmserver-logout-greeter crashes in libnvidia-glcore.so.550.144.03, also reported here https://forums.developer.nvidia.com/t/crash-in-libnvidia-glcore-so-550-144-03-after-pressing-ctrl-alt-f1-init-3-after-upgrade-to-plasma-6-3-beta/320613
Comment 14 Nate Graham 2025-01-21 20:31:30 UTC
Good job with the investigation!

(In reply to Vadym Krevs from comment #11)
> journalctl contains the same 3 lines for each process that crashed in
> init_platform():
> 
> gmenudbusmenuproxy[7701]: This application failed to start because no Qt
> platform plugin could be initialized. Reinstalling the application may fix
> this problem.
>                                                Available platform plugins
> are: minimal, offscreen, wayland-egl, vnc, xcb, minimalegl, wayland,
> linuxfb, eglfs, vkkhrdisplay.
> gmenudbusmenuproxy[7701]: qt.qpa.plugin: Could not load the Qt platform
> plugin "xcb" in "" even though it was found.
> gmenudbusmenuproxy[7701]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or
> libxcb-cursor0 is needed to load the Qt xcb platform plugin.

This is a system/distro setup issue.

> ksmserver-logout-greeter crashes in libnvidia-glcore.so.550.144.03

This is an NVIDIA driver issue.
Comment 15 Vadym Krevs 2025-01-21 22:20:22 UTC
(In reply to Nate Graham from comment #14)
> Good job with the investigation!
> 
> (In reply to Vadym Krevs from comment #11)
> > journalctl contains the same 3 lines for each process that crashed in
> > init_platform():
> > 
> > gmenudbusmenuproxy[7701]: This application failed to start because no Qt
> > platform plugin could be initialized. Reinstalling the application may fix
> > this problem.
> >                                                Available platform plugins
> > are: minimal, offscreen, wayland-egl, vnc, xcb, minimalegl, wayland,
> > linuxfb, eglfs, vkkhrdisplay.
> > gmenudbusmenuproxy[7701]: qt.qpa.plugin: Could not load the Qt platform
> > plugin "xcb" in "" even though it was found.
> > gmenudbusmenuproxy[7701]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or
> > libxcb-cursor0 is needed to load the Qt xcb platform plugin.
> 
> This is a system/distro setup issue.
> 
> > ksmserver-logout-greeter crashes in libnvidia-glcore.so.550.144.03
> 
> This is an NVIDIA driver issue.

Re  "This is a system/distro setup issue."  - does this mean I need to report this in openSUSE's bugzilla?
Comment 16 Nate Graham 2025-01-21 22:23:47 UTC
Yes, that's a good place to start.
Comment 18 Vadym Krevs 2025-01-24 17:40:56 UTC
Installed Plasma 6.3 Beta 2 from OBS and the core dumps are gone. Looks like it wasn't a distro issue after all.
Comment 19 Nate Graham 2025-01-24 17:42:36 UTC
Great, thanks for following up!