Bug 497165 - Plasmashell crash when starting a stopped activity
Summary: Plasmashell crash when starting a stopped activity
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activity Switcher sidebar (show other bugs)
Version: 6.2.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-12-07 15:12 UTC by Julien Delquié
Modified: 2024-12-11 22:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/7932/events/2f31e15111354e19993b891d44a57d0d/


Attachments
New crash information added by DrKonqi (92.62 KB, text/plain)
2024-12-07 15:12 UTC, Julien Delquié
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2024-12-07 15:12:25 UTC
Application: plasmashell (6.2.4)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.8.1
Frameworks Version: 6.8.0
Operating System: Linux 6.12.2-gentoo-r1-x86_64 x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 6.2.4 [CoredumpBackend]

-- Information about the crash:
I was trying to start a stopped Activity, then Plasmashell freezed and crashed.
Since then I am not able to start a stopped Activity anymore.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#4  std::__atomic_base<int>::fetch_sub (this=0x71, __i=1, __m=std::memory_order_acq_rel) at /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/atomic_base.h:639
#5  QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0x71>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qatomic_cxx11.h:266
[...]
#7  QImage::~QImage (this=this@entry=0x7fb0927fb850, __in_chrg=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/gui/image/qimage.cpp:1064
#8  0x00007fb0f36cf7d5 in QImage::operator= (this=0x5631967f8538, other=...) at /usr/include/qt6/QtGui/qimage.h:105
#9  QQuickItemGrabResult::render (this=0x56319529cf70) at /usr/src/debug/dev-qt/qtdeclarative-6.8.1/qtdeclarative-everywhere-src-6.8.1/src/quick/items/qquickitemgrabresult.cpp:262


Reported using DrKonqi
Comment 1 Julien Delquié 2024-12-07 15:12:26 UTC
Created attachment 176416 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Julien Delquié 2024-12-08 09:57:56 UTC
If I perform a « systemctl --user restart plasma-ksmserver.service », I am able to start my stopped Activity again; seems to be a workaround.
Comment 3 Nate Graham 2024-12-11 22:27:12 UTC
Searchable backtrace:


Thread 1 (Thread 0x7fb0927fc6c0 (LWP 3953)):
[KCrash Handler]
#4  std::__atomic_base<int>::fetch_sub (this=0x71, __i=1, __m=std::memory_order_acq_rel) at /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/atomic_base.h:639
#5  QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0x71>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qatomic_cxx11.h:266
#6  QBasicAtomicInteger<int>::deref (this=0x71) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qbasicatomic.h:48
#7  QImage::~QImage (this=this@entry=0x7fb0927fb850, __in_chrg=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/gui/image/qimage.cpp:1064
#8  0x00007fb0f36cf7d5 in QImage::operator= (this=0x5631967f8538, other=...) at /usr/include/qt6/QtGui/qimage.h:105
#9  QQuickItemGrabResult::render (this=0x56319529cf70) at /usr/src/debug/dev-qt/qtdeclarative-6.8.1/qtdeclarative-everywhere-src-6.8.1/src/quick/items/qquickitemgrabresult.cpp:262
#10 0x00007fb0f1e71d15 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x56319529cf70, a=0x7fb0927fb928) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qobjectdefs_impl.h:486
#11 doActivate<false> (sender=0x56318e32fff0, signal_index=28, argv=0x7fb0927fb928) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qobject.cpp:4124
#12 0x00007fb0f1e29587 in QMetaObject::activate (sender=sender@entry=0x56318e32fff0, m=m@entry=0x7fb0f38e6740 <QQuickWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qobject.cpp:4184
#13 0x00007fb0f362dd67 in QQuickWindow::afterRendering (this=this@entry=0x56318e32fff0) at /usr/src/debug/dev-qt/qtdeclarative-6.8.1/qtdeclarative-everywhere-src-6.8.1_build/src/quick/Quick_autogen/include/moc_qquickwindow.cpp:631
#14 0x00007fb0f36660a7 in QQuickWindowPrivate::renderSceneGraph (this=this@entry=0x56318e2d5da0) at /usr/src/debug/dev-qt/qtdeclarative-6.8.1/qtdeclarative-everywhere-src-6.8.1/src/quick/items/qquickwindow.cpp:696
#15 0x00007fb0f34552ce in QSGRenderThread::syncAndRender (this=this@entry=0x56318edd79b0) at /usr/src/debug/dev-qt/qtdeclarative-6.8.1/qtdeclarative-everywhere-src-6.8.1/src/quick/scenegraph/qsgthreadedrenderloop.cpp:762
#16 0x00007fb0f345e7f3 in QSGRenderThread::run (this=0x56318edd79b0) at /usr/src/debug/dev-qt/qtdeclarative-6.8.1/qtdeclarative-everywhere-src-6.8.1/src/quick/scenegraph/qsgthreadedrenderloop.cpp:975
#17 0x00007fb0f1d742d5 in operator() (__closure=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qthread_unix.cpp:354
#18 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qthread_unix.cpp:290
#19 QThreadPrivate::start (arg=0x56318edd79b0) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qthread_unix.cpp:318
#20 0x00007fb0f1718511 in ??? () at /usr/lib64/libc.so.6
#21 0x00007fb0f1788b2c in ??? () at /usr/lib64/libc.so.6