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

            Bug ID: 459502
           Summary: when i disconnect and reconnect external monitor kwin
                    crash
    Classification: Plasma
           Product: kwin
           Version: 5.25.5
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: journaleh...@gmail.com
  Target Milestone: ---
             Flags: Wayland+, X11-, Catalyst-, dpi+, Gallium3D-, Intel+,
                    Mesa+, nouveau-, NVIDIA-, r300g-, r600g-,
                    Decision-Required-, Triaged-, ReviewRequest-

SUMMARY

When I disconnect monitor and then connect external monitor via HDMI and resize
or move any window, suddenly all application closed and kwin crash with akonadi
server crash on me. its so annoying because i cant logout i only can kill all
apps from current session with killall --user username .

STEPS TO REPRODUCE
1. disconnect monitor in wayland with different dpi scale
2. connect monitor again with hdmi or vga
3. move or resize window in second (external monitor) 

OBSERVED RESULT
Crash kwin, all apllication closed and ther's no way to logout,reboot  other
than that everything work perfect after that and i must rerun evey apps like
latte-dock and conky , .... but for logout i must killall all apps in current
user 

EXPECTED RESULT
I expect everything work normall :) 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro/Arch KDE plasma 5.25.5

KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Application: Akonadi Server (akonadiserver), signal: Segmentation fault

[KCrash Handler]
#4  0x00005638aa051563 in ?? ()
#5  0x00007fc1a07ba2f0 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#6  0x00007fc1a079695c in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#7  0x00007fc1a0797483 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#8  0x00007fc1a07dd478 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fc19eb38b2b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#10 0x00007fc19eb8ee79 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00007fc19eb36252 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#12 0x00007fc1a07e125c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#13 0x00007fc1a078f11c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#14 0x00007fc1a0799c49 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#15 0x00005638aa046edd in ?? ()
#16 0x00007fc1a00ee2d0 in ?? () from /usr/lib/libc.so.6
#17 0x00007fc1a00ee38a in __libc_start_main () from /usr/lib/libc.so.6
#18 0x00005638aa049c85 in ?? ()
[Inferior 1 (process 5803) detached]

------------------

Application: Latte Dock (latte-dock), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ffff7e4462d in KWayland::Client::PlasmaWindowManagement::windows()
const () from /usr/lib/libKF5WaylandClient.so.5
#5  0x0000555555758ffa in Latte::WindowSystem::WaylandInterface::winIdFor
(this=0x555555b0cee0, appId=..., title=...) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/wm/waylandinterface.cpp:607
#6  0x000055555570ad69 in Latte::ViewPart::Positioner::updateWaylandId
(this=0x555555ca49c0) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/view/positioner.cpp:236
#7  0x0000555555715264 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Latte::ViewPart::Positioner::*)()>::call(void
(Latte::ViewPart::Positioner::*)(), Latte::ViewPart::Positioner*, void**)
(f=(void (Latte::ViewPart::Positioner::*)(Latte::ViewPart::Positioner * const))
0x55555570acaa <Latte::ViewPart::Positioner::updateWaylandId()>,
o=0x555555ca49c0, arg=0x7fffffffc0d0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:152
#8  0x0000555555715008 in QtPrivate::FunctionPointer<void
(Latte::ViewPart::Positioner::*)()>::call<QtPrivate::List<>, void>(void
(Latte::ViewPart::Positioner::*)(), Latte::ViewPart::Positioner*, void**)
(f=(void (Latte::ViewPart::Positioner::*)(Latte::ViewPart::Positioner * const))
0x55555570acaa <Latte::ViewPart::Positioner::updateWaylandId()>,
o=0x555555ca49c0, arg=0x7fffffffc0d0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#9  0x0000555555714c6f in QtPrivate::QSlotObject<void
(Latte::ViewPart::Positioner::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x5555563cdf80, r=0x555555ca49c0, a=0x7fffffffc0d0, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#10 0x00007ffff537e0d1 in ?? () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff58ae24a in QWindow::windowTitleChanged(QString const&) () from
/usr/lib/libQt5Gui.so.5
#12 0x00005555557175da in operator() (__closure=0x555555ca5b20) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/view/view.cpp:133
#13 0x00005555557226c7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, Latte::View::View(Plasma::Corona*, QScreen*,
bool)::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x7fffffffc320)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#14 0x000055555572229d in QtPrivate::Functor<Latte::View::View(Plasma::Corona*,
QScreen*, bool)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &,
void *, void **) (f=..., arg=0x7fffffffc320) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:256
#15 0x000055555572183a in
QtPrivate::QFunctorSlotObject<Latte::View::View(Plasma::Corona*, QScreen*,
bool)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1,
this_=0x555555ca5b10, r=0x555555cb84e0, a=0x7fffffffc320, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:443
#16 0x00007ffff537e0d1 in ?? () from /usr/lib/libQt5Core.so.5
#17 0x00007ffff7edac1c in ?? () from /usr/lib/libKF5PlasmaQuick.so.5
#18 0x0000555555610adb in Latte::Layout::GenericLayout::addView
(this=0x555555c16270, containment=0x555555b778d0) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/layout/genericlayout.cpp:938
#19 0x000055555560f679 in Latte::Layout::GenericLayout::addContainment
(this=0x555555c16270, containment=0x555555b778d0) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/layout/genericlayout.cpp:742
#20 0x00005555556115e9 in Latte::Layout::GenericLayout::initContainments
(this=0x555555c16270) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/layout/genericlayout.cpp:1028
#21 0x000055555563ef81 in operator() (__closure=0x555555b84ca0) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/layouts/synchronizer.cpp:695
#22 0x0000555555642cfb in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>
>::call(struct {...} &, void **) (f=..., arg=0x7fffffffc790) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:146
#23 0x0000555555642c21 in
QtPrivate::Functor<Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>,
0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=...,
arg=0x7fffffffc790) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#24 0x00005555556429e2 in
QtPrivate::QFunctorSlotObject<Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>,
0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=1, this_=0x555555b84c90, r=0x0, a=0x7fffffffc790,
ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#25 0x00007ffff53809e7 in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007ffff5371296 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#27 0x00007ffff609bb3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff534d978 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#29 0x00007ffff5397aa3 in QTimerInfoList::activateTimers() () from
/usr/lib/libQt5Core.so.5
#30 0x00007ffff539809a in ?? () from /usr/lib/libQt5Core.so.5
#31 0x00007ffff38adb2b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#32 0x00007ffff3903e79 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007ffff38ab252 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#34 0x00007ffff539825c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#35 0x00007ffff534611c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#36 0x00007ffff5350c49 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#37 0x00005555555ea83d in main (argc=2, argv=0x7fffffffd1b8) at
/home/ehsant/Codes/GitHub/Espresso-dock/app/main.cpp:436
[Inferior 1 (process 105410) detached]

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

Reply via email to