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

            Bug ID: 484788
           Summary: Kwin_wayland crashes if a monitor is shut down while
                    using the Polonium autotiling script
    Classification: Plasma
           Product: kwin
           Version: 6.0.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: antti.s...@gmail.com
  Target Milestone: ---

Created attachment 167966
  --> https://bugs.kde.org/attachment.cgi?id=167966&action=edit
backtrace

SUMMARY
If use Polonium and shut down my one of my monitors, kwin_wayland crashes.
Monitors going to sleep automatically is another possible trigger.

STEPS TO REPRODUCE
1. Use Polonium
2. Shut down a monitor with windows on 

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONSz
Linux: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x0000748387eab393 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#2  0x0000748387e5a6c8 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x0000748387e424b8 in __GI_abort () at abort.c:79
#4  0x000074838809ca6f in __gnu_cxx::__verbose_terminate_handler () at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x00007483880b011c in __cxxabiv1::__terminate (handler=<optimized out>) at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6  0x00007483880b0189 in std::terminate () at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#7  0x00007483880b03ed in __cxxabiv1::__cxa_throw (obj=<optimized out>,
tinfo=0x74838826c0e8 <typeinfo for std::out_of_range>, dest=0x7483880c85c0
<std::out_of_range::~out_of_range()>) at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#8  0x00007483880a021d in std::__throw_out_of_range
(__s=__s@entry=0x74838afc6755 "map::at") at
/usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/functexcept.cc:86
#9  0x000074838ad6faff in std::map<KWin::Output*,
std::unique_ptr<KWin::TileManager, std::default_delete<KWin::TileManager> >,
std::less<KWin::Output*>, std::allocator<std::pair<KWin::Output* const,
std::unique_ptr<KWin::TileManager, std::default_delete<KWin::TileManager> > > >
>::at (__k=<synthetic pointer>: <optimized out>, this=<optimized out>) at
/usr/include/c++/13.2.1/bits/stl_map.h:553
#10 KWin::Workspace::tileManager (this=<optimized out>, output=<optimized out>)
at /usr/src/debug/kwin/kwin-6.0.3.1/src/workspace.cpp:3068
#11 0x000074838ad07c51 in KWin::WorkspaceWrapper::tilingForScreen
(this=<optimized out>, output=<optimized out>) at
/usr/src/debug/kwin/kwin-6.0.3.1/src/scripting/workspace_wrapper.cpp:409
#12 KWin::WorkspaceWrapper::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffe064c0b78) at
/usr/src/debug/kwin/build/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1326
#13 0x000074838ad08ba0 in KWin::WorkspaceWrapper::qt_metacall
(this=this@entry=0x5f91a08e4040, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=85, _a=_a@entry=0x7ffe064c0b78) at
/usr/src/debug/kwin/build/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1508
#14 0x000074838ad08c95 in KWin::DeclarativeScriptWorkspaceWrapper::qt_metacall
(this=0x5f91a08e4040, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7ffe064c0b78) at
/usr/src/debug/kwin/build/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1830
#15 0x0000748389ed7d64 in QQmlObjectOrGadget::metacall (this=0x7ffe064c0e30,
type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized
out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/qml/qqmlobjectorgadget.cpp:14
#16 0x0000748389db742f in QV4::CallMethod (callType=<optimized out>,
callArgs=<optimized out>, engine=<optimized out>, argTypes=<optimized out>,
argCount=<optimized out>, returnType=..., index=<optimized out>,
object=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:84
#17 QV4::CallPrecise (object=..., data=<optimized out>, engine=<optimized out>,
engine@entry=0x5f919fa0ba90, callArgs=<optimized out>,
callArgs@entry=0x7483701bf6e0,
callType=callType@entry=QMetaObject::InvokeMetaMethod) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:1850
#18 0x0000748389dbb239 in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2753
#19 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const
QV4::Value*, int) const::<lambda()> > (call=<optimized out>,
__closure=<synthetic pointer>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2730
#20 QV4::QObjectMethod::callInternal (this=0x7ffe064c0ef0,
thisObject=<optimized out>, argv=0x7483701bf6a0, argc=1) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2753
#21 0x0000748389dcef61 in QV4::Runtime::CallPropertyLookup::call
(engine=0x5f919fa0ba90, base=..., index=<optimized out>, argv=0x7483701bf6a0,
argc=1) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4runtime.cpp:1511
#22 0x000074835e154a1a in ??? ()
#23 0x00007ffe064c11b0 in ??? ()
#24 0x0000000000000015 in ??? ()
#25 0x00005f91a0e7a4e0 in ??? ()
#26 0x000074835e1553d8 in ??? ()
#27 0x00007ffe064c11b0 in ??? ()
#28 0x0000748389e04250 in QV4::Moth::VME::exec (frame=<optimized out>,
engine=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4vme_moth.cpp:581
#29 0x0000748389d79b08 in qfoDoCall (fo=<optimized out>, thisObject=<optimized
out>, argv=<optimized out>, argc=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4functionobject.cpp:526
#30 0x0000748389dcef61 in QV4::Runtime::CallPropertyLookup::call
(engine=0x5f919fa0ba90, base=..., index=<optimized out>, argv=0x7483701bf578,
argc=1) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4runtime.cpp:1511
#31 0x000074835e153abe in ??? ()
#32 0x00007ffe064c1500 in ??? ()
#33 0x0000000000000016 in ??? ()
#34 0x00005f91a0e26aa0 in ??? ()
#35 0x0000000000000000 in ??? ()
Quit

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

Reply via email to