Bug 385499 - Crash in Wayland when using Kate
Summary: Crash in Wayland when using Kate
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: git master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-08 19:36 UTC by Martin Flöser
Modified: 2021-01-06 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
mgraesslin: Wayland+
mgraesslin: X11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2017-10-08 19:36:18 UTC
#0  0x00007feffd27f1a6 in QWeakPointer<QObject>::QWeakPointer(QWeakPointer<QObject> const&) (this=0x7ffcf05d7960, other=...)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:585
#1  0x00007feffd2d5601 in QPointer<KWayland::Server::LockedPointerInterface>::QPointer(QPointer<KWayland::Server::LockedPointerInterface> const&) (this=0x7ffcf05d7960)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:53
#2  0x00007feffd2d4208 in KWayland::Server::SurfaceInterface::lockedPointer() const (this=0x561519ba6140) at /home/martin/src/kf5/frameworks/kwayland/src/server/surface_interface.cpp:850
#3  0x00007feffd2973c9 in KWayland::Server::PointerInterface::<lambda()>::operator()(void) const (__closure=0x56151922ebd0)
    at /home/martin/src/kf5/frameworks/kwayland/src/server/pointer_interface.cpp:232
#4  0x00007feffd298ab9 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWayland::Server::PointerInterface::PointerInterface(KWayland::Server::SeatInterface*, wl_resource*)::<lambda()> >::call(KWayland::Server::PointerInterface::<lambda()> &, void **) (f=..., arg=0x7ffcf05d7c10) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:130
#5  0x00007feffd2989d1 in QtPrivate::Functor<KWayland::Server::PointerInterface::PointerInterface(KWayland::Server::SeatInterface*, wl_resource*)::<lambda()>, 0>::call<QtPrivate::List<>, void>(KWayland::Server::PointerInterface::<lambda()> &, void *, void **) (f=..., arg=0x7ffcf05d7c10) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:240
#6  0x00007feffd29889b in QtPrivate::QFunctorSlotObject<KWayland::Server::PointerInterface::PointerInterface(KWayland::Server::SeatInterface*, wl_resource*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x56151922ebc0, r=0x5615191e7e60, a=0x7ffcf05d7c10, ret=0x0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:168
#7  0x00007feffa78197f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf05d7c10, r=0x5615191e7e60, this=0x56151922ebc0)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#8  0x00007feffa78197f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x5615187ec0c0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3749
#9  0x00007feffd2f99ab in KWayland::Server::SeatInterface::pointerPosChanged(QPointF const&) (this=0x5615187ec0c0, _t1=...)
    at /opt/build/kf5/frameworks/kwayland/src/server/KF5WaylandServer_autogen/EWIEGA46WW/moc_seat_interface.cpp:419
#10 0x00007feffd2b0554 in KWayland::Server::SeatInterface::setPointerPos(QPointF const&) (this=0x5615187ec0c0, pos=...)
    at /home/martin/src/kf5/frameworks/kwayland/src/server/seat_interface.cpp:595
#11 0x00007ff003fc1ca9 in KWin::PointerInputRedirection::update() (this=0x56151882dbf0) at /home/martin/src/kf5/kde/workspace/kwin/pointer_input.cpp:498
#12 0x00007ff003fa7227 in KWin::ForwardInputFilter::pointerEvent(QMouseEvent*, unsigned int) (this=0x5615192a8760, event=0x7ffcf05d8380, nativeButton=0)
    at /home/martin/src/kf5/kde/workspace/kwin/input.cpp:1246
#13 0x00007ff003fd3565 in std::__invoke_impl<bool, bool (KWin::InputEventFilter::*&)(QMouseEvent*, unsigned int), KWin::InputEventFilter* const&, KWin::MouseEvent*&, int&>(std::__invoke_mem---Type <return> to continue, or q <return> to quit---
fun_deref, bool (KWin::InputEventFilter::*&)(QMouseEvent*, unsigned int), KWin::InputEventFilter* const&, KWin::MouseEvent*&, int&) (__f=
    @0x7ffcf05d8140: &virtual table offset 16, __t=@0x5615192a86c0: 0x5615192a8760, __args#0=@0x7ffcf05d8158: 0x7ffcf05d8380, __args#1=@0x7ffcf05d8150: 0)
    at /usr/include/c++/7/bits/invoke.h:73
#14 0x00007ff003fd3051 in std::__invoke<bool (KWin::InputEventFilter::*&)(QMouseEvent*, unsigned int), KWin::InputEventFilter* const&, KWin::MouseEvent*&, int&>(bool (KWin::InputEventFilter::*&)(QMouseEvent*, unsigned int), KWin::InputEventFilter* const&, KWin::MouseEvent*&, int&) (__fn=
    @0x7ffcf05d8140: &virtual table offset 16, __args#0=@0x5615192a86c0: 0x5615192a8760, __args#1=@0x7ffcf05d8158: 0x7ffcf05d8380, __args#2=@0x7ffcf05d8150: 0)
    at /usr/include/c++/7/bits/invoke.h:96
#15 0x00007ff003fd2b10 in std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)>::__call<bool, KWin::InputEventFilter* const&, 0ul, 1ul, 2ul>(std::tuple<KWin::InputEventFilter* const&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0x7ffcf05d8140, __args=<unknown type in /opt/kf5/lib/x86_64-linux-gnu/libkwin.so.5, CU 0x58e88c, DIE 0x5f8972>) at /usr/include/c++/7/functional:469
#16 0x00007ff003fd281f in std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)>::operator()<KWin::InputEventFilter* const&, bool>(KWin::InputEventFilter* const&) (this=0x7ffcf05d8140, __args#0=@0x5615192a86c0: 0x5615192a8760) at /usr/include/c++/7/functional:551
#17 0x00007ff003fd25ec in __gnu_cxx::__ops::_Iter_pred<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >::operator()<QTypedArrayData<KWin::InputEventFilter*>::const_iterator>(QTypedArrayData<KWin::InputEventFilter*>::const_iterator) (this=0x7ffcf05d8140, __it=...)
    at /usr/include/c++/7/bits/predefined_ops.h:283
#18 0x00007ff003fd0c90 in std::__find_if<QTypedArrayData<KWin::InputEventFilter*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> > >(QTypedArrayData<KWin::InputEventFilter*>::const_iterator, QTypedArrayData<KWin::InputEventFilter*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >, std::random_access_iterator_tag) (__first=..., __last=..., __pred=...) at /usr/include/c++/7/bits/stl_algo.h:132
#19 0x00007ff003fcfbef in std::__find_if<QTypedArrayData<KWin::InputEventFilter*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> > >(QTypedArrayData<KWin::InputEventFilter*>::const_iterator, QTypedArrayData<KWin::InputEventFilter*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >) (__first=..., __last=..., __pred=...)
    at /usr/include/c++/7/bits/stl_algo.h:162
#20 0x00007ff003fce9c8 in std::find_if<QTypedArrayData<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >(QTypedArrayData<KWin::InputEventFilter*>::const_iterator, QTypedArrayData<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)>) (__first=..., __last=..., __pred=...) at /usr/include/c++/7/bits/stl_algo.h:3933
---Type <return> to continue, or q <return> to quit---
#21 0x00007ff003fcd22b in std::none_of<QTypedArrayData<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >(QTypedArrayData<KWin::InputEventFilter*>::const_iterator, QTypedArrayData<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)>) (__first=..., __last=..., __pred=...) at /usr/include/c++/7/bits/stl_algo.h:526
#22 0x00007ff003fcb24a in std::any_of<QTypedArrayData<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >(QTypedArrayData<KWin::InputEventFilter*>::const_iterator, QTypedArrayData<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)>) (__first=..., __last=..., __pred=...) at /usr/include/c++/7/bits/stl_algo.h:544
#23 0x00007ff003fc7c7f in KWin::InputRedirection::processFilters<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)> >(std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, int))(QMouseEvent*, unsigned int)>) (this=0x56151882cc20, function=...)
    at /home/martin/src/kf5/kde/workspace/kwin/input.h:188
#24 0x00007ff003fc09b3 in KWin::PointerInputRedirection::processMotion(QPointF const&, QSizeF const&, QSizeF const&, unsigned int, unsigned long long, KWin::LibInput::Device*) (this=0x56151882dbf0, pos=..., delta=..., deltaNonAccelerated=..., time=2046959, timeUsec=2046959727, device=0x5615193010f0) at /home/martin/src/kf5/kde/workspace/kwin/pointer_input.cpp:284
#25 0x00007ff003f9cade in KWin::InputRedirection::<lambda(const QSizeF&, const QSizeF&, uint32_t, quint64, KWin::LibInput::Device*)>::operator()(const QSizeF &, const QSizeF &, uint32_t, quint64, KWin::LibInput::Device *) const (__closure=0x561518976ae0, delta=..., deltaNonAccel=..., time=2046959, timeMicroseconds=2046959727, device=0x5615193010f0)
    at /home/martin/src/kf5/kde/workspace/kwin/input.cpp:1710
#26 0x00007ff003fa2023 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2, 3, 4>, QtPrivate::List<const QSizeF&, const QSizeF&, unsigned int, long long unsigned int, KWin::LibInput::Device*>, void, KWin::InputRedirection::setupLibInput()::<lambda(const QSizeF&, const QSizeF&, uint32_t, quint64, KWin::LibInput::Device*)> >::call(KWin::InputRedirection::<lambda(const QSizeF&, const QSizeF&, uint32_t, quint64, KWin::LibInput::Device*)> &, void **) (f=..., arg=0x7ffcf05d8740) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:130
#27 0x00007ff003fa1b40 in QtPrivate::Functor<KWin::InputRedirection::setupLibInput()::<lambda(const QSizeF&, const QSizeF&, uint32_t, quint64, KWin::LibInput::Device*)>, 5>::call<QtPrivate::List<QSizeF const&, QSizeF const&, unsigned int, unsigned long long, KWin::LibInput::Device*>, void>(KWin::InputRedirection::<lambda(const QSizeF&, const QSizeF&, uint32_t, quint64, KWin::LibInput::Device*)> &, void *, void **) (f=..., arg=0x7ffcf05d8740) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:240
#28 0x00007ff003fa15a4 in QtPrivate::QFunctorSlotObject<KWin::InputRedirection::setupLibInput()::<lambda(const QSizeF&, const QSizeF&, uint32_t, quint64, KWin::LibInput::Device*)>, 5, QtPrivate::List<const QSizeF&, const QSizeF&, unsigned int, long long unsigned int, KWin::LibInput::Device*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x561518976ad0, r=0x56151882cc20, a=0x7ffcf05d8740, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:168
#29 0x00007feffa78197f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf05d8740, r=0x56151882cc20, this=0x561518976ad0)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#30 0x00007feffa78197f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x5615188f81b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at kernel/qobject.cpp:3749
#31 0x00007ff0041728c6 in KWin::LibInput::Connection::pointerMotion(QSizeF const&, QSizeF const&, unsigned int, unsigned long long, KWin::LibInput::Device*) (this=0x5615188f81b0, _t1=..., _t2=..., _t3=2046959, _t4=2046959727, _t5=0x5615193010f0) at /opt/build/kf5/kde/workspace/kwin/kwin_autogen/PCJB6APXE6/moc_connection.cpp:515
#32 0x00007ff00414ec22 in KWin::LibInput::Connection::processEvents() (this=0x5615188f81b0) at /home/martin/src/kf5/kde/workspace/kwin/libinput/connection.cpp:374
#33 0x00007ff003f9ca0d in KWin::InputRedirection::<lambda()>::operator()(void) const (__closure=0x5615188fc9c0) at /home/martin/src/kf5/kde/workspace/kwin/input.cpp:1694
#34 0x00007ff003fa1fa9 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::InputRedirection::setupLibInput()::<lambda()> >::call(KWin::InputRedirection::<lambda()> &, void **) (f=..., arg=0x7fefdc006a00) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:130
#35 0x00007ff003fa1b16 in QtPrivate::Functor<KWin::InputRedirection::setupLibInput()::<lambda()>, 0>::call<QtPrivate::List<>, void>(KWin::InputRedirection::<lambda()> &, void *, void **) (f=..., arg=0x7fefdc006a00) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:240
#36 0x00007ff003fa1518 in QtPrivate::QFunctorSlotObject<KWin::InputRedirection::setupLibInput()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x5615188fc9b0, r=0x56151882cc20, a=0x7fefdc006a00, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:168
#37 0x00007feffa7823d2 in QObject::event(QEvent*) (this=0x56151882cc20, e=<optimized out>) at kernel/qobject.cpp:1246
#38 0x00007feffb6d146c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007feffb6d8d34 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007feffa752d68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56151882cc20, event=event@entry=0x7fefdc01f5a0) at kernel/qcoreapplication.cpp:1018
#41 0x00007feffa7554dd in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7fefdc01f5a0, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#42 0x00007feffa7554dd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5615187aa440) at kernel/qcoreapplication.cpp:1678
#43 0x00007feffa7a8604 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5615187e6260, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#44 0x00007fefe9c5a5fd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kf5/lib/x86_64-linux-gnu/plugins/platforms/KWinQpaPlugin.so
#45 0x00007feffa750dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcf05d8f20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#46 0x00007feffa759d24 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1291
#47 0x0000561516ebb8e4 in main(int, char**) (argc=4, argv=0x7ffcf05d9848) at /home/martin/src/kf5/kde/workspace/kwin/main_wayland.cpp:818
Comment 1 Martin Flöser 2017-10-09 19:34:12 UTC
@David: I just stared half an hour at the backtrace and I don't see anything which could crash there. Could you please have a look whether you see something?

The crash happens with an X11 Kate after a recent upgrade of X on debian testing.
Comment 2 Justin Zobel 2020-12-07 04:14:48 UTC
As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-22 04:34:41 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 4 Bug Janitor Service 2021-01-06 04:34:12 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!