Bug 471464 - kwin_wayland crashes in KWin::InternalWindow::pointerLeaveEvent
Summary: kwin_wayland crashes in KWin::InternalWindow::pointerLeaveEvent
Status: RESOLVED DUPLICATE of bug 472922
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-26 11:14 UTC by Nicolas Fella
Modified: 2023-08-09 11:53 UTC (History)
1 user (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 Nicolas Fella 2023-06-26 11:14:16 UTC
I think I was clicking on something in the task manager when it happened

  #0  std::__atomic_base<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/c++/13/bits/atomic_base.h:835
#1  std::atomic<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/c++/13/atomic:577
#2  QAtomicOps<QThreadData*>::loadAcquire<QThreadData*>(std::atomic<QThreadData*> const&) (_q_value=<error reading variable: Cannot access memory at address 0x8>)
    at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/thread/qatomic_cxx11.h:213
#3  QBasicAtomicPointer<QThreadData>::loadAcquire() const (this=<error reading variable: Cannot access memory at address 0x8>) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/thread/qbasicatomic.h:181
#4  QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x0, event=0x7fffdc9d3bf0) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1111
#5  0x00007f0e0837c50d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1533
#6  0x00007f0e0bd3bf1d in KWin::InternalWindow::pointerLeaveEvent() (this=0x4210dd0) at /home/nico/kde6/src/kwin/src/internalwindow.cpp:105
#7  0x00007f0e0bd7e9a5 in KWin::PointerInputRedirection::focusUpdate(KWin::Window*, KWin::Window*) (this=0x1f75610, focusOld=0x4210dd0, focusNow=0x35b1680) at /home/nico/kde6/src/kwin/src/pointer_input.cpp:518
#8  0x00007f0e0bd1fde0 in KWin::InputDeviceHandler::update() (this=0x1f75610) at /home/nico/kde6/src/kwin/src/input.cpp:3421
#9  KWin::InputDeviceHandler::update() (this=this@entry=0x1f75610) at /home/nico/kde6/src/kwin/src/input.cpp:3402
#10 0x00007f0e0bd7dc12 in KWin::PointerInputRedirection::processButton(unsigned int, KWin::InputRedirection::PointerButtonState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)
    (this=0x1f75610, button=272, state=KWin::InputRedirection::PointerButtonReleased, time=std::chrono::duration = { <optimized out>us }, device=<optimized out>) at /home/nico/kde6/src/kwin/src/pointer_input.cpp:283
#11 0x00007f0e083ddb35 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffdc9d3f60, r=0x1f75610, this=0x28391b0) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qobjectdefs_impl.h:363
#12 doActivate<false>(QObject*, int, void**) (sender=0x2515c30, signal_index=4, argv=0x7fffdc9d3f60) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:3992
#13 0x00007f0e083d4757 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender@entry=0x2515c30, m=m@entry=0x7f0e0c14f080 <KWin::InputDevice::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffdc9d3f60)
    at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052
#14 0x00007f0e0bc541df in KWin::InputDevice::pointerButtonChanged(unsigned int, KWin::InputRedirection::PointerButtonState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)
    (this=this@entry=0x2515c30, _t1=<optimized out>, _t2=<optimized out>, _t2@entry=KWin::InputRedirection::PointerButtonReleased, _t3=_t3@entry=std::chrono::duration = { 2527586095us }, _t4=<optimized out>, _t4@entry=0x2515c30)
    at /home/nico/kde6/build/kwin/src/kwin_autogen/TAC5DWH4SE/moc_inputdevice.cpp:1035
#15 0x00007f0e0beedf0c in KWin::LibInput::Connection::processEvents() (this=<optimized out>) at /home/nico/kde6/src/kwin/src/backends/libinput/connection.cpp:354
#16 0x00007f0e083cf797 in QObject::event(QEvent*) (this=0x1eed0d0, e=0x7f0dc000da60) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:1391
#17 0x00007f0e097c0b08 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x1eed0d0, e=0x7f0dc000da60) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/widgets/kernel/qapplication.cpp:3287
#18 0x00007f0e0837c308 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x1eed0d0, event=0x7f0dc000da60) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1115
#19 0x00007f0e0837c50d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1533
#20 0x00007f0e0837fd75 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=data@entry=0x1e5a550)
    at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1895
#21 0x00007f0e084fcca6 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1e6f0e0, flags=...) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qeventdispatcher_unix.cpp:432
#22 0x00007f0e091434c2 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
    at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#23 0x00007f0e08388e93 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffdc9d4440, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/global/qflags.h:34
#24 0x00007f0e08384b3d in QCoreApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/global/qflags.h:74
#25 0x00007f0e08bf85cd in QGuiApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:1894
#26 0x00007f0e097c0a79 in QApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/widgets/kernel/qapplication.cpp:2566
#27 0x0000000000430588 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde6/src/kwin/src/main_wayland.cpp:613
Comment 1 Zamundaaa 2023-08-09 11:53:50 UTC

*** This bug has been marked as a duplicate of bug 472922 ***