Bug 486992 - Crash of plasmashell when clicking on Redshift Control Plasmoid
Summary: Crash of plasmashell when clicking on Redshift Control Plasmoid
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.10
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-05-14 00:15 UTC by Ysard
Modified: 2024-07-31 15:42 UTC (History)
3 users (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 Ysard 2024-05-14 00:15:53 UTC
Application: plasmashell (5.27.10)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.5.0-kali5-amd64 x86_64
Windowing System: X11
Distribution: Kali GNU/Linux Rolling
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Plasmoid installed : Redshift Control 1.0; https://github.com/kotelnik/plasma-applet-redshift-control
Crash when clicking on the icon to enable redshift that was paused.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f9c6b58829a in QOpenGLContext::functions() const () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f9c6cc0283d in QSGOpenGLLayer::invalidated() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f9c6cc0313c in QSGOpenGLLayer::~QSGOpenGLLayer() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9c6cc03199 in QSGOpenGLLayer::~QSGOpenGLLayer() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6cd61353 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f9c6cc6a6f9 in QQuickWindowPrivate::runAndClearJobs(QList<QRunnable*>*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f9c6cc6ad40 in QQuickWindow::cleanupSceneGraph() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f9c6cc0816d in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f9c6cc0a2e5 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f9c6cc0ac1f in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#16 0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7f9c269016c0 (LWP 1257548) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5625a6669400, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f9c6a8a31bb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5625a6669400, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9c6a8a5818 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5625a66693b0, cond=0x5625a66693d8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5625a66693d8, mutex=0x5625a66693b0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f9c6aee0cab in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6cc08835 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9c6cc0ac61 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#10 0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7f9c3d1ff6c0 (LWP 1257547) "threaded-ml"):
#1  0x00007f9c4c16e955 in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f9c4c1602ec in pa_mainloop_poll () at /lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f9c4c16095a in pa_mainloop_iterate () at /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f9c4c160a00 in pa_mainloop_run () at /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f9c4c16ea2d in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f9c4c0ae163 in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-16.1.so
#7  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#8  0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7f9bf7fff6c0 (LWP 1252993) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5625a6108a20, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f9c6a8a31bb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5625a6108a20, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9c6a8a5818 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5625a61089d0, cond=0x5625a61089f8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5625a61089f8, mutex=0x5625a61089d0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f9c6aee0cab in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6cc08835 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9c6cc0ac61 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#10 0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f9c261006c0 (LWP 1252959) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f9c6000a650, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f9c6a8a31bb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f9c6000a650, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9c6a8a5818 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f9c6000a600, cond=0x7f9c6000a628) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x7f9c6000a628, mutex=0x7f9c6000a600) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f9c6aee0cab in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6cc08835 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9c6cc0ac61 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#10 0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f9c27fff6c0 (LWP 1252947) "plasmashell"):
#1  __pselect (nfds=5, readfds=0x7f9c27ff6a80, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f9c68ac0a8f in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007f9c68ac1d3b in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#5  0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f9c4e7006c0 (LWP 1252923) "QQuickPixmapRea"):
#1  0x00007f9c69943f51 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c699441b6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c69944930 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9c6b127d66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9c6b0cb0fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6aed9c52 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9c6cb56a16 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#10 0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f9c4fcb36c0 (LWP 1252920) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5625a547fe10, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f9c6a8a31bb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5625a547fe10, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9c6a8a5818 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5625a547fdc0, cond=0x5625a547fde8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5625a547fde8, mutex=0x5625a547fdc0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f9c6aee0cab in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6cc08835 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9c6cc0ac61 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#10 0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f9c5c9ff6c0 (LWP 1252902) "QQmlThread"):
#1  0x00007f9c6994426b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c69944930 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c6b127d66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9c6b0cb0fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9c6aed9c52 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6c728d95 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#9  0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f9c5ddff6c0 (LWP 1252901) "QDBusConnection"):
#1  0x00007f9c69944277 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c69944930 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c6b127d66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9c6b0cb0fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9c6aed9c52 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6bb857ab in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f9c6aedaeb1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9c6a8a63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#9  0x00007f9c6a926a4c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f9c6893da00 (LWP 1252894) "plasmashell"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f9bf02714f4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f9c6a8a31bb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f9bf02714f4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9c6a8a5818 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f9bf02714a0, cond=0x7f9bf02714c8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x7f9bf02714c8, mutex=0x7f9bf02714a0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f9c6aee0cab in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9c6cc0c508 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9c6cc0d7c3 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9c6b54b9c5 in QWindow::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f9c6bd62f32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f9c6b0cc748 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f9c6b540931 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f9c6b5131ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007f9c65cfa15e in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007f9c699411f4 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f9c69944317 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f9c69944930 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f9c6b127d4a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f9c6b0cb0fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f9c6b0d38a4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00005625a3796db4 in  ()
#21 0x00007f9c6a8456ca in __libc_start_call_main (main=main@entry=0x5625a3795ed0, argc=argc@entry=1, argv=argv@entry=0x7ffe317374f8) at ../sysdeps/nptl/libc_start_call_main.h:58
#22 0x00007f9c6a845785 in __libc_start_main_impl (main=0x5625a3795ed0, argc=1, argv=0x7ffe317374f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe317374e8) at ../csu/libc-start.c:360
#23 0x00005625a3796ed1 in  ()
[Inferior 1 (process 1252894) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-06-10 13:20:36 UTC
That applet looks like its 8 years old?
Comment 2 Nate Graham 2024-07-31 03:55:10 UTC
Yes, I would be very suspicious of it. The backtrace is all in Qt and graphics code, so either the widget is doing something weird, or your graphics drivers are to blame here.

Regardless, I'm afraid Plasma is not supported on Kali Linux. Running everything as root is explicitly unsupported and never recommended, and will result in a million and a half other little weirdnesses, possibly including this one

If would like support from KDE for issues you encounter, I would encourage you to re-install your system with a more appropriate general-purpose Linux distro, such as one of the ones you can see at https://kde.org/distributions. If the issue still manifests after doing so, feel free to re-open this bug report.

Thanks for understanding!
Comment 3 Ysard 2024-07-31 15:42:16 UTC
Operating System: Kali GNU/Linux 2024.2
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-kali5-amd64 (64-bit)
Graphics Platform: X11
Graphics Processor: NVIDIA GeForce GTX 670MX/PCIe/SSE2

Hi, thank you both for your responses;

Yes, this applet is very useful for modifying/activating/deactivating colorimetry on the fly.
To my knowledge, this is not possible with KDE's “night color” option.


Kali is equivalent to Debian Testing, with a freeze branch with 4 releases per year.
In this way, it is quite appropriate as an early distribution for reporting problems and preventing users of stable releases from encountering them one day...
KDE* packages are not modified by the distro, but I understand your suspicions.

In my opinion, running the whole system as root is more a problem of the security model than anything else; but this has *not* been the default on kali since 2020 (https://www.kali.org/blog/kali-default-non-root-user/); before that date you could always disable root and use a classic user (which is what I did for the 10 years before that). But once again I understand your arguments.

Anyway, after the June 2024.2 update (see version numbers above, KDE versions were incremented and NVIDIA proprietary drivers untouched), this problem seems to have disappeared for good. So...