https://bugs.kde.org/show_bug.cgi?id=472748

            Bug ID: 472748
           Summary: plasmashell crashed when task tooltip is dismissed
                    before thumbnails are available
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi, qt6, wayland
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: plasma-b...@kde.org
          Reporter: qydwhotm...@gmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0
             Flags: Wayland+

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open several Konsole windows, and move mouse cursor to the Konsole group in
the task manager
2. Before all thumbnails are loaded, move mouse cursor away from the task to
dismiss the tooltip

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240
Qt Version: 6.5.1

ADDITIONAL INFORMATION
(gdb) bt
#0  std::__atomic_base<int>::fetch_sub(int, std::memory_order)
    (__m=std::memory_order_acq_rel, __i=1, this=0x86e0000086e, this=<optimized
out>, __i=<optimized out>, __m=<optimized out>) at
/usr/include/c++/13/bits/atomic_base.h:643
#1  QAtomicOps<int>::deref<int>(std::atomic<int>&)
    (_q_value=<error reading variable: Cannot access memory at address
0x86e0000086e>, _q_value=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/build/include/QtCore/../../../src/corelib/thread/qatomic_cxx11.h:265
#2  QBasicAtomicInteger<int>::deref() (this=0x86e0000086e)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/build/include/QtCore/../../../src/corelib/thread/qbasicatomic.h:52
#3  QThreadData::deref() (this=0x86e0000086e)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/corelib/thread/qthread.cpp:107
#4  QObjectPrivate::~QObjectPrivate() (this=0x6a5b760, this=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qobject.cpp:204
#5  0x00007fb06a1b5bd2 in QtWaylandClient::QWaylandWindow::createDecoration()
(this=0x297e0d0)
    at
/usr/src/debug/qtwayland-everywhere-src-6.5.1/src/client/qwaylandwindow.cpp:961
#6  0x00007fb0649f8e34 in
QtWaylandClient::QWaylandGLContext::makeCurrent(QPlatformSurface*) ()
    at /lib64/libQt6WaylandEglClientHwIntegration.so.6
#7  0x00007fb0696bd64a in QOpenGLContext::makeCurrent(QSurface*)
(this=0x7faf78001ff0, surface=0x2b75150)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/gui/kernel/qopenglcontext.cpp:655
#8  0x00007fb0696cfd1c in QRhiGles2::ensureContext(QSurface*) const
    (this=this@entry=0x7faf780018e0, surface=0x2b75150)
    at /usr/src/debug/qtbase-everywhere-src-6.5.1/src/gui/rhi/qrhigles2.cpp:563
#9  0x00007fb0696d0d09 in QRhiGles2::beginFrame(QRhiSwapChain*,
QFlags<QRhi::BeginFrameFlag>)
    (this=0x7faf780018e0, swapChain=0x7faf781bc000)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/gui/rhi/qrhigles2.cpp:1957
#10 0x00007fb0695b02b2 in QRhi::beginFrame(QRhiSwapChain*,
QFlags<QRhi::BeginFrameFlag>)
    (this=0x7faf780018c0, swapChain=0x7faf781bc000, flags=..., flags@entry=...)
    at /usr/src/debug/qtbase-everywhere-src-6.5.1/src/gui/rhi/qrhi.cpp:7576
#11 0x00007fb06b631b34 in QSGRenderThread::syncAndRender() (this=<optimized
out>)
    at /usr/include/qt6/QtCore/qflags.h:73
#12 QSGRenderThread::run() (this=0x615e350)
    at
/usr/src/debug/qtdeclarative-everywhere-src-6.5.1/src/quick/scenegraph/qsgthreadedrenderloop.cpp:938
#13 0x00007fb068e9435f in operator() (__closure=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/corelib/thread/qthread_unix.cpp:321
#14 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/corelib/thread/qthread_unix.cpp:257
#15 QThreadPrivate::start(void*) (arg=0x615e350)
    at
/usr/src/debug/qtbase-everywhere-src-6.5.1/src/corelib/thread/qthread_unix.cpp:280
#16 0x00007fb068690c24 in start_thread () at /lib64/libc.so.6
#17 0x00007fb068718510 in clone3 () at /lib64/libc.so.6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to