Bug 457991 - Plasma panel crashes right after login if the mouse pointer is where the panel will be created
Summary: Plasma panel crashes right after login if the mouse pointer is where the pane...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-17 11:32 UTC by Rafael Lima
Modified: 2022-09-17 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-08-17 11:32:19 UTC
Application: plasmashell (5.24.6)

Qt Version: 5.15.3
Frameworks Version: 5.95.0
Operating System: Linux 5.15.0-46-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.1 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

Right after I turn on the computer and log into Plasma, if the mouse pointer is where the panel will appear the panel crashes and  soon after a new panel reopens with the crash notification.

I was able to reproduce this bug in two different machines, but both using the exact same system (Kubuntu 22.04 and Plasma 5.24.6 / Frameworks 5.95, via backports PPA)

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  std::__atomic_base<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x48>) at /usr/include/c++/11/bits/atomic_base.h:836
#5  std::atomic<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x48>) at /usr/include/c++/11/atomic:570
#6  QAtomicOps<QThreadData*>::loadRelaxed<QThreadData*>(std::atomic<QThreadData*> const&) (_q_value=<error reading variable: Cannot access memory at address 0x48>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#7  QBasicAtomicPointer<QThreadData>::loadRelaxed() const (this=<error reading variable: Cannot access memory at address 0x48>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#8  QObject::thread() const (this=this@entry=0x40) at kernel/qobject.cpp:1487
#9  0x00007fa436aec1a5 in QMetaObject::invokeMethodImpl(QObject*, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, void*) (object=0x40, slot=0x7fa3ac0016f0, type=Qt::QueuedConnection, ret=0x0) at kernel/qmetaobject.cpp:1531
#10 0x00007fa419b4e74e in  () at /lib/x86_64-linux-gnu/libKF5ActivitiesStats.so.1
#11 0x00007fa4366d82c3 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7fa3b75f9640 (LWP 2831) "plasmashell"):
#1  __pselect (nfds=5, readfds=0x7fa3b75f0a40, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007fa43447d03d in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007fa43447dd88 in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fa3b7fff640 (LWP 2821) "SessionThread"):
#1  0x00007fa434eaf85e in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa434f045c3 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa434ead3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa436b3b11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa3b0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa436ae074b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa3b7ffeb40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007fa4368f3af2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x564c2358e3d0) at thread/qthread_unix.cpp:329
#8  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7fa3f7fff640 (LWP 2811) "CPMMListener"):
#1  0x00007fa42a1230fc in  () at /lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
#2  0x00007fa42a0bdb14 in  () at /lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
#3  0x00007fa42a0bde2a in  () at /lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
#4  0x00007fa42a0bb72a in  () at /lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
#5  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7fa41a52d640 (LWP 2786) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fa4100364d4) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fa4100364d4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fa436467ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa410036480, cond=0x7fa4100364a8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x7fa4100364a8, mutex=0x7fa410036480) at ./nptl/pthread_cond_wait.c:627
#5  0x00007fa4368faceb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x7fa410036480) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x564c23c86708, mutex=mutex@entry=0x564c23c86700, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007fa4384f09c3 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x564c23c866f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#8  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x564c23c86660) at scenegraph/qsgthreadedrenderloop.cpp:936
#9  0x00007fa4384f2e49 in QSGRenderThread::run() (this=0x564c23c86660) at scenegraph/qsgthreadedrenderloop.cpp:1053
#10 0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x564c23c86660) at thread/qthread_unix.cpp:329
#11 0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#12 0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fa41b06d640 (LWP 2759) "QQuickPixmapRea"):
#1  0x00007fa434eae168 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa434eaf7eb in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa434f045c3 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa434ead3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa436b3b11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa410012940, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fa436ae074b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa41b06cb00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#7  0x00007fa4368f3af2 in QThread::exec() (this=this@entry=0x564c23445330) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fa438438a5a in QQuickPixmapReader::run() (this=0x564c23445330) at util/qquickpixmapcache.cpp:1024
#9  0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x564c23445330) at thread/qthread_unix.cpp:329
#10 0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fa423365640 (LWP 2684) "Qt bearer threa"):
#1  0x00007fa434f04696 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa434ead3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa436b3b11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa414000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa436ae074b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa423364b40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fa4368f3af2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x564c22739a80) at thread/qthread_unix.cpp:329
#7  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fa423fff640 (LWP 2681) "QQmlThread"):
#1  0x00007fa434f04696 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa434ead3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa436b3b11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa41c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa436ae074b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa423ffeb20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fa4368f3af2 in QThread::exec() (this=this@entry=0x564c21f6f7c0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa4380d88c9 in QQmlThreadPrivate::run() (this=0x564c21f6f7c0) at qml/ftw/qqmlthread.cpp:155
#7  0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x564c21f6f7c0) at thread/qthread_unix.cpp:329
#8  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fa430c92640 (LWP 2476) "QDBusConnection"):
#1  0x00007fa434f04696 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa434ead3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa436b3b11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa424000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa436ae074b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa430c91b10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fa4368f3af2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa437486f0b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x7fa437500d80) at thread/qthread_unix.cpp:329
#8  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fa4318b9640 (LWP 2472) "QXcbEventQueue"):
#1  0x00007fa438b7a7e2 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa438b7c22c in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa4319dfd08 in QXcbEventQueue::run() (this=0x564c21f751d0) at ./src/plugins/platforms/xcb/qxcbeventqueue.cpp:228
#4  0x00007fa4368f4ca1 in QThreadPrivate::start(void*) (arg=0x564c21f751d0) at thread/qthread_unix.cpp:329
#5  0x00007fa436468b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007fa4364faa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fa432085e80 (LWP 2457) "plasmashell"):
#1  0x00007fa438b7a7e2 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa438b7ab20 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa438b7ad77 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fa438b7af55 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007fa438b7be45 in xcb_wait_for_reply () at /lib/x86_64-linux-gnu/libxcb.so.1
#6  0x0000564c21e57942 in  ()
#7  0x00007fa436b19783 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd8c31e3d0, r=0x564c2361a6e0, this=0x564c228153a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false>(QObject*, int, void**) (sender=0x7fa42c0080b0, signal_index=3, argv=0x7ffd8c31e3d0) at kernel/qobject.cpp:3886
#9  0x00007fa436b12a97 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fa436d80300 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd8c31e3d0) at kernel/qobject.cpp:3946
#10 0x00007fa436b1d7ee in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#11 0x00007fa436b0f32f in QObject::event(QEvent*) (this=0x7fa42c0080b0, e=0x7ffd8c31e550) at kernel/qobject.cpp:1336
#12 0x00007fa4377db713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fa42c0080b0, e=0x7ffd8c31e550) at kernel/qapplication.cpp:3637
#13 0x00007fa436ae1e2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fa42c0080b0, event=0x7ffd8c31e550) at kernel/qcoreapplication.cpp:1064
#14 0x00007fa436b3a3db in QTimerInfoList::activateTimers() (this=0x564c2202b800) at kernel/qtimerinfo_unix.cpp:643
#15 0x00007fa436b3ad24 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#16 idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#17 0x00007fa434eafd1b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fa434f046f8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fa434ead3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fa436b3b0a8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x564c2202de80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007fa436ae074b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd8c31e790, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007fa436ae8ce4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x0000564c21e42dce in  ()
#24 0x00007fa4363fdd90 in __libc_start_call_main (main=main@entry=0x564c21e41f70, argc=argc@entry=1, argv=argv@entry=0x7ffd8c31ea48) at ../sysdeps/nptl/libc_start_call_main.h:58
#25 0x00007fa4363fde40 in __libc_start_main_impl (main=0x564c21e41f70, argc=1, argv=0x7ffd8c31ea48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd8c31ea38) at ../csu/libc-start.c:392
#26 0x0000564c21e42ef5 in  ()
[Inferior 1 (process 2457) detached]

Possible duplicates by query: bug 456037, bug 448857, bug 446248, bug 445231, bug 445114.

Reported using DrKonqi
Comment 1 Nate Graham 2022-08-17 20:04:51 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #10 0x00007fa419b4e74e in  () at /lib/x86_64-linux-gnu/libKF5ActivitiesStats.so.1

Could you please install debug symbols for frameworks-kactivitiesstats, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks again!
Comment 2 Rafael Lima 2022-08-17 22:09:21 UTC
(In reply to Nate Graham from comment #1)
> Could you please install debug symbols for frameworks-kactivitiesstats,

Hi Nate, thanks for taking interest in this issue.

However I was unable to install the debug symbols for frameworks-kactivitiesstats.

I have set up the /etc/apt/sources.list.d/ddebs.list file with the following content:

deb http://ddebs.ubuntu.com/ jammy main restricted universe multiverse
deb http://ddebs.ubuntu.com/ jammy-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com/ jammy-proposed main restricted universe multiverse

And the only package available that resembles "frameworks-kactivitiesstats" is (obtained via apt-cache search kactivities):

kactivities-bin-dbgsym - debug symbols for kactivities-bin

However, this package does not install due to "unmet dependencies" because it requires "kactivities-bin" to be version 5.92 whereas mine is 5.95. Maybe this is why I'm using the backports PPA.

Do you know how I should proceed in this case?
Comment 3 Nate Graham 2022-08-18 15:19:11 UTC
You don't need to add new repos that offer different versions; in fact that's quire dangerous and risks breaking your system. I would recommend undoing that. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Ubuntu-based_distros_.28Ubuntu.2C_Kubuntu.2C_KDE_Neon.2C_Linux_Mint.29 for instructions.
Comment 4 Bug Janitor Service 2022-09-02 04:36:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-09-17 04:36:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!