Bug 449702 - KWin crashes when closing a grouped application
Summary: KWin crashes when closing a grouped application
Status: RESOLVED DUPLICATE of bug 442222
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-06 15:49 UTC by Karl Ove Hufthammer
Modified: 2022-02-07 05:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2022-02-06 15:49:30 UTC
Application: kwin_x11 (5.23.5)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.4-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Closing a bunch of application instances by right-clicking on the icon for the application group and selecting ‘Close’. Audacity was the application. After answering ‘No’ on the ‘Save project before closing?’ dialog that pops up in one of the instances, KWin consistently crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f903d4277d1 in KWin::belongToSameGroup (w2=0x55837d5fe210, w1=0x55837e5c7f90) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects/diminactive/diminactive.cpp:33
#7  KWin::DimInactiveEffect::canDimWindow(KWin::EffectWindow const*) const (this=0x7f9030016230, w=0x55837d5fe210) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects/diminactive/diminactive.cpp:179
#8  0x00007f903d428c1b in KWin::DimInactiveEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x7f9030016230, w=<optimized out>, w@entry=0x55837d5fe210, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects/diminactive/diminactive.cpp:124
#9  0x00007f903f0e4c93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x55837d582ad0, w=0x55837d5fe210, mask=1, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:432
#10 0x00007f903f0e4c93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x55837d582ad0, w=0x55837d5fe210, mask=1, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:432
#11 0x00007f903f0e4c93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x55837d582ad0, w=0x55837d5fe210, mask=1, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:432
#12 0x00007f903f151893 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion const&) (this=0x55837d4dc700, w=0x55837d503800, mask=1, _region=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:2113
#13 0x00007f903f152c24 in KWin::Scene::paintSimpleScreen(int, QRegion const&) (this=<optimized out>, orig_mask=0, region=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/scene.cpp:441
#14 0x00007f903f0e4bf4 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55837d582ad0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:389
#15 0x00007f903f0e4bf4 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55837d582ad0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:389
#16 0x00007f903f0e4bf4 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55837d582ad0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:389
#17 0x00007f903f0e4bf4 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55837d582ad0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:389
#18 0x00007f903f0e4bf4 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55837d582ad0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/effects.cpp:389
#19 0x00007f903f151207 in KWin::Scene::paintScreen(QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) (this=this@entry=0x55837d4dc700, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe6048ba80, validRegion=validRegion@entry=0x7ffe6048ba88, renderLoop=renderLoop@entry=0x7f9030005840, projection=...) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/scene.cpp:217
#20 0x00007f902d9075ff in KWin::SceneOpenGL::paint(KWin::AbstractOutput*, QRegion const&, QList<KWin::Toplevel*> const&, KWin::RenderLoop*) (renderLoop=<optimized out>, toplevels=<optimized out>, damage=<optimized out>, output=0x0, this=0x55837d4dc700) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/plugins/scenes/opengl/scene_opengl.cpp:440
#21 KWin::SceneOpenGL::paint(KWin::AbstractOutput*, QRegion const&, QList<KWin::Toplevel*> const&, KWin::RenderLoop*) (this=0x55837d4dc700, output=0x0, damage=<optimized out>, toplevels=<optimized out>, renderLoop=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/plugins/scenes/opengl/scene_opengl.cpp:361
#22 0x00007f903f0b3db1 in KWin::Compositor::composite(KWin::RenderLoop*) (this=this@entry=0x55837d2d38e0, renderLoop=renderLoop@entry=0x7f9030005840) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/composite.cpp:623
#23 0x00007f903f0b4246 in KWin::X11Compositor::composite(KWin::RenderLoop*) (this=0x55837d2d38e0, renderLoop=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/composite.cpp:831
#24 0x00007f903e4b14f3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe6048bd70, r=0x55837d2d38e0, this=0x55837d62ad70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false>(QObject*, int, void**) (sender=0x7f9030005840, signal_index=5, argv=0x7ffe6048bd70) at kernel/qobject.cpp:3886
#26 0x00007f903e4aa9bf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f903f2dd560 <KWin::RenderLoop::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe6048bd70) at kernel/qobject.cpp:3946
#27 0x00007f903f0714a2 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/build/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206
#28 0x00007f903f144ce3 in KWin::RenderLoopPrivate::dispatch() (this=0x55837d18a020) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/renderloop.cpp:148
#29 0x00007f903e4b14f3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe6048be90, r=0x7f9030005840, this=0x55837d22a1a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false>(QObject*, int, void**) (sender=0x55837d18a038, signal_index=3, argv=0x7ffe6048be90) at kernel/qobject.cpp:3886
#31 0x00007f903e4aa9bf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f903e750c00 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe6048be90) at kernel/qobject.cpp:3946
#32 0x00007f903e4b53aa in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#33 0x00007f903e4a73bf in QObject::event(QEvent*) (this=0x55837d18a038, e=0x7ffe6048c010) at kernel/qobject.cpp:1336
#34 0x00007f903dacaa7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55837d18a038, e=0x7ffe6048c010) at kernel/qapplication.cpp:3632
#35 0x00007f903e47ae2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55837d18a038, event=0x7ffe6048c010) at kernel/qcoreapplication.cpp:1064
#36 0x00007f903e4d170b in QTimerInfoList::activateTimers() (this=this@entry=0x55837cf48638) at kernel/qtimerinfo_unix.cpp:643
#37 0x00007f903e4ceecc in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x55837cf485b0) at kernel/qeventdispatcher_unix.cpp:249
#38 0x00007f903e4cfc17 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x55837d0642c0, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#39 0x00007f903795d1ae in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55837d0642c0, flags=...) at qxcbeventdispatcher.cpp:60
#40 0x00007f903e47982b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe6048c1b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007f903e481b00 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x00007f903e8cb25c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#43 0x00007f903daca9f5 in QApplication::exec() () at kernel/qapplication.cpp:2824
#44 0x000055837b541009 in main(int, char**) (argc=<optimized out>, argv=0x7ffe6048c498) at /usr/src/debug/kwin5-5.23.5-1.2.x86_64/src/main_x11.cpp:483
[Inferior 1 (process 28647) detached]

Possible duplicates by query: bug 445375, bug 441547, bug 436868, bug 430648, bug 429217.

Reported using DrKonqi
Comment 1 Nate Graham 2022-02-07 05:09:40 UTC

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