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

            Bug ID: 508555
           Summary: Random KWin crash when a window pops up
    Classification: Plasma
           Product: kwin
      Version First 6.4.4
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kwin_wayland (6.4.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.17.0
Operating System: Linux 6.16.1-1-cachyos x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
I noticed that recently, when any window pops up, KWin will have a small chance
to crash, no matter whether the window uses X11 or Wayland.

Currently this error was triggered by these actions:
- Open Steam's window via the tray
- Open a new systemsettings window using the hotkey
- Click "Open Link in New Window" in firefox, or drag off an existing Tab to
create a new firefox window

By the `small chance`, sometimes it crashes multiple times in a few hours, and
sometimes the whole day without a crash, so I don't have an idea on how to
reproduce it stably, sorry!

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  std::__atomic_base<QObject*>::load (this=0x122,
__m=std::memory_order_relaxed) at
/usr/include/c++/15.1.1/bits/atomic_base.h:828
#6  std::atomic<QObject*>::load (this=0x122, __m=std::memory_order_relaxed) at
/usr/include/c++/15.1.1/atomic:587
#7  QAtomicOps<QObject*>::loadRelaxed<QObject*> (_q_value=<error reading
variable: Cannot access memory at address 0x122>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qatomic_cxx11.h:202
#8  QBasicAtomicPointer<QObject>::loadRelaxed (this=0x122) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qbasicatomic.h:170
#9  QObjectPrivate::isSignalConnected (this=this@entry=0x5618bd585900,
signalIndex=signalIndex@entry=0, checkDeclarative=checkDeclarative@entry=true)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:440
#10 0x00007f11edbbfbc3 in QObject::~QObject (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1041
#11 0x00007f11f0718dc3 in KWin::SurfaceItemWayland::~SurfaceItemWayland
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/surfaceitem_wayland.h:25
#12 KWin::SurfaceItemWayland::~SurfaceItemWayland (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/surfaceitem_wayland.h:25
#13 0x00007f11f072e806 in std::default_delete<KWin::SurfaceItem>::operator()
(this=<optimized out>, __ptr=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:93
#14 std::unique_ptr<KWin::SurfaceItem, std::default_delete<KWin::SurfaceItem>
>::~unique_ptr (this=<optimized out>, this=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:399
#15 KWin::WindowItem::~WindowItem (this=<optimized out>, this=<optimized out>)
at /usr/src/debug/kwin/kwin-6.4.4/src/scene/windowitem.cpp:70
#16 0x00007f11f072e8c4 in KWin::WindowItemWayland::~WindowItemWayland
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/windowitem.h:115
#17 KWin::WindowItemWayland::~WindowItemWayland (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/windowitem.h:115
#18 0x00007f11f07d0ff1 in std::default_delete<KWin::WindowItem>::operator()
(this=<optimized out>, __ptr=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:87
#19 std::unique_ptr<KWin::WindowItem, std::default_delete<KWin::WindowItem>
>::~unique_ptr (this=<optimized out>, this=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:399
#20 KWin::Window::~Window (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/window.cpp:104
#5  std::__atomic_base<QObject*>::load (this=0x122,
__m=std::memory_order_relaxed) at
/usr/include/c++/15.1.1/bits/atomic_base.h:828
#6  std::atomic<QObject*>::load (this=0x122, __m=std::memory_order_relaxed) at
/usr/include/c++/15.1.1/atomic:587
#7  QAtomicOps<QObject*>::loadRelaxed<QObject*> (_q_value=<error reading
variable: Cannot access memory at address 0x122>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qatomic_cxx11.h:202
#8  QBasicAtomicPointer<QObject>::loadRelaxed (this=0x122) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qbasicatomic.h:170
#9  QObjectPrivate::isSignalConnected (this=this@entry=0x5618bd585900,
signalIndex=signalIndex@entry=0, checkDeclarative=checkDeclarative@entry=true)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:440
#10 0x00007f11edbbfbc3 in QObject::~QObject (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1041
#11 0x00007f11f0718dc3 in KWin::SurfaceItemWayland::~SurfaceItemWayland
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/surfaceitem_wayland.h:25
#12 KWin::SurfaceItemWayland::~SurfaceItemWayland (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/surfaceitem_wayland.h:25
#13 0x00007f11f072e806 in std::default_delete<KWin::SurfaceItem>::operator()
(this=<optimized out>, __ptr=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:93
#14 std::unique_ptr<KWin::SurfaceItem, std::default_delete<KWin::SurfaceItem>
>::~unique_ptr (this=<optimized out>, this=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:399
#15 KWin::WindowItem::~WindowItem (this=<optimized out>, this=<optimized out>)
at /usr/src/debug/kwin/kwin-6.4.4/src/scene/windowitem.cpp:70
#16 0x00007f11f072e8c4 in KWin::WindowItemWayland::~WindowItemWayland
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/windowitem.h:115
#17 KWin::WindowItemWayland::~WindowItemWayland (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/scene/windowitem.h:115
#18 0x00007f11f07d0ff1 in std::default_delete<KWin::WindowItem>::operator()
(this=<optimized out>, __ptr=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:87
#19 std::unique_ptr<KWin::WindowItem, std::default_delete<KWin::WindowItem>
>::~unique_ptr (this=<optimized out>, this=<optimized out>) at
/usr/include/c++/15.1.1/bits/unique_ptr.h:399
#20 KWin::Window::~Window (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kwin/kwin-6.4.4/src/window.cpp:104


Reported using DrKonqi

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

Reply via email to