Bug 445375 - KWin restarts after Virt-Manager adds new component to a VM
Summary: KWin restarts after Virt-Manager adds new component to a VM
Status: RESOLVED DUPLICATE of bug 442222
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-11-12 13:46 UTC by slavomirr
Modified: 2021-11-12 22:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slavomirr 2021-11-12 13:46:48 UTC
Application: kwin_x11 (5.23.2)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.14-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

Added a virtualized hardware component to a VM from within Virt-Manager GUI. Any component that requeires the VM to restart after being added to the VM template makes KWin crash and restart. Even if the VM is powered off. Example: RNG device /dev/urandom
Aadding components that do not require the VM to be restarted will not make KWin crash.  Example: virtual network interface

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = {<No data fields>}}
[KCrash Handler]
#6  0x00007f96d1eac7e1 in KWin::belongToSameGroup (w2=0x5613a5c192e0, w1=0x5613a6464c60) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects/diminactive/diminactive.cpp:33
#7  KWin::DimInactiveEffect::canDimWindow (this=0x7f96c400a4b0, w=0x5613a5c192e0) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects/diminactive/diminactive.cpp:179
#8  0x00007f96d1eadc2b in KWin::DimInactiveEffect::paintWindow (this=this@entry=0x7f96c400a4b0, w=<optimized out>, w@entry=0x5613a5c192e0, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects/diminactive/diminactive.cpp:124
#9  0x00007f96d3b3fb63 in KWin::EffectsHandlerImpl::paintWindow (this=0x5613a5c19e20, w=0x5613a5c192e0, mask=1, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:432
#10 0x00007f96d3b3fb63 in KWin::EffectsHandlerImpl::paintWindow (this=0x5613a5c19e20, w=0x5613a5c192e0, mask=1, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:432
#11 0x00007f96d3babd23 in KWin::Scene::paintWindow (this=0x5613a56397a0, w=0x5613a5c2c7b0, mask=1, _region=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:2113
#12 0x00007f96d3bad0b4 in KWin::Scene::paintSimpleScreen (this=<optimized out>, orig_mask=0, region=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/scene.cpp:441
#13 0x00007f96d3b3fac4 in KWin::EffectsHandlerImpl::paintScreen (this=0x5613a5c19e20, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:389
#14 0x00007f96d3b3fac4 in KWin::EffectsHandlerImpl::paintScreen (this=0x5613a5c19e20, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:389
#15 0x00007f96d3b3fac4 in KWin::EffectsHandlerImpl::paintScreen (this=0x5613a5c19e20, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:389
#16 0x00007f96d3b3fac4 in KWin::EffectsHandlerImpl::paintScreen (this=0x5613a5c19e20, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/effects.cpp:389
#17 0x00007f96d3bab697 in KWin::Scene::paintScreen (this=this@entry=0x5613a56397a0, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffd9da229d0, validRegion=validRegion@entry=0x7ffd9da229d8, renderLoop=renderLoop@entry=0x5613a4a9cda0, projection=...) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/scene.cpp:217
#18 0x00007f96ac0775df in KWin::SceneOpenGL::paint (renderLoop=<optimized out>, toplevels=..., damage=..., output=0x0, this=0x5613a56397a0) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/plugins/scenes/opengl/scene_opengl.cpp:440
#19 KWin::SceneOpenGL::paint (this=0x5613a56397a0, output=0x0, damage=..., toplevels=..., renderLoop=<optimized out>) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/plugins/scenes/opengl/scene_opengl.cpp:361
#20 0x00007f96d3b0ece1 in KWin::Compositor::composite (this=0x5613a4b4c030, renderLoop=0x5613a4a9cda0) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/composite.cpp:623
#21 0x00007f96d3b0f1a6 in KWin::X11Compositor::composite (this=0x5613a4b4c030, renderLoop=<optimized out>) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/composite.cpp:831
#22 0x00007f96d2f0d043 in QtPrivate::QSlotObjectBase::call (a=0x7ffd9da22cc0, r=0x5613a4b4c030, this=0x5613a507fc70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x5613a4a9cda0, signal_index=5, argv=0x7ffd9da22cc0) at kernel/qobject.cpp:3886
#24 0x00007f96d2f0650f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f96d3d37560 <KWin::RenderLoop::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd9da22cc0) at kernel/qobject.cpp:3946
#25 0x00007f96d3acc4f2 in KWin::RenderLoop::frameRequested (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/build/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206
#26 0x00007f96d3b9f1a3 in KWin::RenderLoopPrivate::dispatch (this=0x5613a4a9c4d0) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/renderloop.cpp:148
#27 0x00007f96d2f0d043 in QtPrivate::QSlotObjectBase::call (a=0x7ffd9da22de0, r=0x5613a4a9cda0, this=0x5613a4a9fe80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false> (sender=0x5613a4a9c4e8, signal_index=3, argv=0x7ffd9da22de0) at kernel/qobject.cpp:3886
#29 0x00007f96d2f0650f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f96d31acc00 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9da22de0) at kernel/qobject.cpp:3946
#30 0x00007f96d2f10efa in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#31 0x00007f96d2f02f0f in QObject::event (this=0x5613a4a9c4e8, e=0x7ffd9da22f60) at kernel/qobject.cpp:1336
#32 0x00007f96d252ba7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5613a4a9c4e8, e=0x7ffd9da22f60) at kernel/qapplication.cpp:3632
#33 0x00007f96d2ed69fa in QCoreApplication::notifyInternal2 (receiver=0x5613a4a9c4e8, event=0x7ffd9da22f60) at kernel/qcoreapplication.cpp:1064
#34 0x00007f96d2f2d26b in QTimerInfoList::activateTimers (this=this@entry=0x5613a45a5348) at kernel/qtimerinfo_unix.cpp:643
#35 0x00007f96d2f2aa2c in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x5613a45a52c0) at kernel/qeventdispatcher_unix.cpp:249
#36 0x00007f96d2f2b777 in QEventDispatcherUNIX::processEvents (this=this@entry=0x5613a467c6e0, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#37 0x00007f96cc5360ae in QXcbUnixEventDispatcher::processEvents (this=0x5613a467c6e0, flags=...) at qxcbeventdispatcher.cpp:60
#38 0x00007f96d2ed53fb in QEventLoop::exec (this=this@entry=0x7ffd9da23100, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#39 0x00007f96d2edd6e0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00007f96d332718c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#41 0x00007f96d252b9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#42 0x00005613a33d7009 in main (argc=<optimized out>, argv=0x7ffd9da233e8) at /usr/src/debug/kwin5-5.23.2-1.2.x86_64/src/main_x11.cpp:483
[Inferior 1 (process 4567) detached]

Possible duplicates by query: bug 436868, bug 430648, bug 429217, bug 421688, bug 416725.

Reported using DrKonqi
Comment 1 Nate Graham 2021-11-12 22:58:34 UTC

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