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

            Bug ID: 389674
           Summary: kwin_wayland crashes on startup in
                    KWin::TabletModeInputEventSpy::switchEvent
           Product: kwin
           Version: 5.11.95
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: libinput
          Assignee: kwin-bugs-n...@kde.org
          Reporter: fab...@ritter-vogt.de
  Target Milestone: ---

After upgrading to the 5.12 beta, I can no longer start kwin_wayland on my
laptop if it's docked (+ 2 external monitors, mouse and keyboard).

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x000055555555eb44 in KWin::TabletModeInputEventSpy::switchEvent
(this=0x5555557f8250, event=0x7fffffffd650)
    at /usr/src/debug/kwin5-5.11.95-1.1.x86_64/tabletmodemanager.cpp:54
54          if (!event->device()->isTabletModeSwitch()) {
#0  0x000055555555eb44 in
KWin::TabletModeInputEventSpy::switchEvent(KWin::SwitchEvent*)
(this=0x5555557f8250, event=0x7fffffffd650)
    at /usr/src/debug/kwin5-5.11.95-1.1.x86_64/tabletmodemanager.cpp:54
#1  0x00007ffff79be19b in std::__invoke_impl<void, void
(KWin::InputEventSpy::*&)(KWin::SwitchEvent*), KWin::InputEventSpy* const&,
KWin::SwitchEvent*&>(std::__invoke_memfun_deref, void
(KWin::InputEventSpy::*&)(KWin::SwitchEvent*), KWin::InputEventSpy* const&,
KWin::SwitchEvent*&) (__t=<optimized out>, __f=<optimized out>)
    at /usr/include/c++/7/bits/invoke.h:73
#2  0x00007ffff79be19b in std::__invoke<void
(KWin::InputEventSpy::*&)(KWin::SwitchEvent*), KWin::InputEventSpy* const&,
KWin::SwitchEvent*&>(void (KWin::InputEventSpy::*&)(KWin::SwitchEvent*),
KWin::InputEventSpy* const&, KWin::SwitchEvent*&) (__fn=<optimized out>) at
/usr/include/c++/7/bits/invoke.h:95
#3  0x00007ffff79be19b in std::_Bind<void
(KWin::InputEventSpy::*(std::_Placeholder<1>,
KWin::SwitchEvent*))(KWin::SwitchEvent*)>::__call<void, KWin::InputEventSpy*
const&, 0ul, 1ul>(std::tuple<KWin::InputEventSpy* const&>&&,
std::_Index_tuple<0ul, 1ul>) (__args=..., this=<optimized out>) at
/usr/include/c++/7/functional:467
#4  0x00007ffff79be19b in std::_Bind<void
(KWin::InputEventSpy::*(std::_Placeholder<1>,
KWin::SwitchEvent*))(KWin::SwitchEvent*)>::operator()<KWin::InputEventSpy*
const&, void>(KWin::InputEventSpy* const&) (this=<optimized out>) at
/usr/include/c++/7/functional:551
#5  0x00007ffff79be19b in std::for_each<KWin::InputEventSpy* const*,
std::_Bind<void (KWin::InputEventSpy::*(std::_Placeholder<1>,
KWin::SwitchEvent*))(KWin::SwitchEvent*)> >(KWin::InputEventSpy* const*,
KWin::InputEventSpy* const*, std::_Bind<void
(KWin::InputEventSpy::*(std::_Placeholder<1>,
KWin::SwitchEvent*))(KWin::SwitchEvent*)>) (__f=..., __last=0x55555582d570,
__first=0x55555582d568) at /usr/include/c++/7/bits/stl_algo.h:3884
#6  0x00007ffff79be19b in KWin::InputRedirection::processSpies<std::_Bind<void
(KWin::InputEventSpy::*(std::_Placeholder<1>,
KWin::SwitchEvent*))(KWin::SwitchEvent*)> >(std::_Bind<void
(KWin::InputEventSpy::*(std::_Placeholder<1>,
KWin::SwitchEvent*))(KWin::SwitchEvent*)>) (function=..., this=<optimized out>)
    at /usr/src/debug/kwin5-5.11.95-1.1.x86_64/input.h:207
#7  0x00007ffff79be19b in
KWin::InputRedirection::<lambda(KWin::SwitchEvent::State, quint32, quint64,
KWin::LibInput::Device*)>::operator() (device=<optimized out>,
timeMicroseconds=<optimized out>, time=<optimized out>, state=<optimized out>,
__closure=0x5555558d7d30) at
/usr/src/debug/kwin5-5.11.95-1.1.x86_64/input.cpp:1784
#8  0x00007ffff79be19b in std::__invoke_impl<void,
KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>&, KWin::SwitchEvent::State&,
unsigned int&, long long unsigned int&, KWin::LibInput::Device*&> (__f=...) at
/usr/include/c++/7/bits/invoke.h:60
#9  0x00007ffff79be19b in
std::__invoke<KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>&, KWin::SwitchEvent::State&,
unsigned int&, long long unsigned int&, KWin::LibInput::Device*&> (__fn=...) at
/usr/include/c++/7/bits/invoke.h:95
#10 0x00007ffff79be19b in
std::_Bind<KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>(KWin::SwitchEvent::State,
std::_Placeholder<1>, std::_Placeholder<2>,
std::_Placeholder<3>)>::__call<void, unsigned int&, unsigned long long&,
KWin::LibInput::Device*&, 0, 1, 2, 3> (__args=..., this=0x5555558d7d30) at
/usr/include/c++/7/functional:467
#11 0x00007ffff79be19b in
std::_Bind<KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>(KWin::SwitchEvent::State,
std::_Placeholder<1>, std::_Placeholder<2>,
std::_Placeholder<3>)>::operator()<unsigned int&, long long unsigned int&,
KWin::LibInput::Device*&> (this=0x5555558d7d30) at
/usr/include/c++/7/functional:551
#12 0x00007ffff79be19b in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1,
2>, QtPrivate::List<unsigned int, long long unsigned int,
KWin::LibInput::Device*>, void,
std::_Bind<KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>(KWin::SwitchEvent::State,
std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>)> >::call
(arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:130
#13 0x00007ffff79be19b in
QtPrivate::Functor<std::_Bind<KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>(KWin::SwitchEvent::State,
std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>)>,
3>::call<QtPrivate::List<unsigned int, unsigned long long,
KWin::LibInput::Device*>, void> (arg=<optimized out>, f=...) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:240
#14 0x00007ffff79be19b in
QtPrivate::QFunctorSlotObject<std::_Bind<KWin::InputRedirection::setupLibInput()::<lambda(KWin::SwitchEvent::State,
quint32, quint64, KWin::LibInput::Device*)>(KWin::SwitchEvent::State,
std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>)>, 3,
QtPrivate::List<unsigned int, long long unsigned int, KWin::LibInput::Device*>,
void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *)
(which=<optimized out>, this_=0x5555558d7d20, r=<optimized out>, a=<optimized
out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:423

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

Reply via email to