Bug 455481

Summary: KWIN crash
Product: [Plasma] kwin Reporter: joern
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description joern 2022-06-17 12:44:59 UTC
Application: kwin_x11 (5.24.4)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.0-37-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed: switching application by keyboard. KWIN crashes and restarts automatically

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140223081200064) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=140223081200064) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=140223081200064, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f883f964476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f883f94a7f3 in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007f883270d144 in _iris_batch_flush (batch=0x557af03ea8b8, file=<optimized out>, line=<optimized out>) at ../src/gallium/drivers/iris/iris_batch.c:1105
#12 0x00007f88333767ef in iris_fence_flush (ctx=0x557af03ea3b0, out_fence=0x557af0d0a300, flags=<optimized out>) at ../src/gallium/drivers/iris/iris_fence.c:267
#13 0x00007f8832973832 in fence_sync (ctx=0x7f883007a010, condition=37143, flags=0) at ../src/mesa/main/syncobj.c:294
#14 0x00007f88425c0264 in KWin::WindowThumbnailItem::updateOffscreenTexture() (this=0x7f88340577a0) at ./src/scripting/thumbnailitem.cpp:432
#15 0x00007f8840adc783 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd7df435f0, r=0x7f88340577a0, this=0x557af12d1290) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x557af0292980, signal_index=3, argv=0x7ffd7df435f0) at kernel/qobject.cpp:3886
#17 0x00007f8842597b78 in KWin::Scene::paintScreen(QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) (this=0x557af0292980, damage=<optimized out>, repaint=..., updateRegion=0x7ffd7df43790, validRegion=0x7ffd7df43788, renderLoop=<optimized out>, projection=...) at ./src/scene.cpp:282
#18 0x00007f884265a170 in KWin::SceneOpenGL::paint(KWin::AbstractOutput*, QRegion const&, QList<KWin::Toplevel*> const&, KWin::RenderLoop*) (this=0x557af0292980, output=0x0, damage=..., toplevels=<optimized out>, renderLoop=0x557af00b6aa0) at ./src/scenes/opengl/scene_opengl.cpp:259
#19 0x00007f88424fa071 in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x557aeff63890, renderLoop=0x557af00b6aa0) at ./src/composite.cpp:633
#20 0x00007f8842503a06 in KWin::X11Compositor::composite(KWin::RenderLoop*) (this=0x557aeff63890, renderLoop=<optimized out>) at ./src/composite.cpp:844
#21 0x00007f8840adc783 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd7df43a90, r=0x557aeff63890, this=0x557af02dfae0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false>(QObject*, int, void**) (sender=0x557af00b6aa0, signal_index=5, argv=0x7ffd7df43a90) at kernel/qobject.cpp:3886
#23 0x00007f8840ad5a97 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f8842753300 <KWin::RenderLoop::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd7df43a90) at kernel/qobject.cpp:3946
#24 0x00007f88424b9b16 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206
#25 0x00007f8842586177 in KWin::RenderLoopPrivate::dispatch() (this=0x557af00a19a0) at ./src/renderloop.cpp:150
#26 0x00007f8840adc783 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd7df43bb0, r=0x557af00b6aa0, this=0x557af0098230) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#27 doActivate<false>(QObject*, int, void**) (sender=0x557af00a19b8, signal_index=3, argv=0x7ffd7df43bb0) at kernel/qobject.cpp:3886
#28 0x00007f8840ad5a97 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f8840d43300 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd7df43bb0) at kernel/qobject.cpp:3946
#29 0x00007f8840ae07ee in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#30 0x00007f8840ad232f in QObject::event(QEvent*) (this=0x557af00a19b8, e=0x7ffd7df43d30) at kernel/qobject.cpp:1336
#31 0x00007f884007d713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x557af00a19b8, e=0x7ffd7df43d30) at kernel/qapplication.cpp:3637
#32 0x00007f8840aa4e2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557af00a19b8, event=0x7ffd7df43d30) at kernel/qcoreapplication.cpp:1064
#33 0x00007f8840afd3db in QTimerInfoList::activateTimers() (this=this@entry=0x557aefd36d28) at kernel/qtimerinfo_unix.cpp:643
#34 0x00007f8840afab30 in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x557aefd36ca0) at kernel/qeventdispatcher_unix.cpp:249
#35 0x00007f8840afb897 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x557aefee2550, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#36 0x00007f883a81d142 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557aefee2550, flags=...) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:60
#37 0x00007f8840aa374b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd7df43ed0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007f8840aabce4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x00007f8840e7ee10 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#40 0x00007f884007d689 in QApplication::exec() () at kernel/qapplication.cpp:2829
#41 0x0000557aefb94bad in main(int, char**) (argc=<optimized out>, argv=0x7ffd7df44198) at ./src/main_x11.cpp:482
[Inferior 1 (process 4039) detached]

The reporter indicates this bug may be a duplicate of or related to bug 451612, bug 453309.

Possible duplicates by query: bug 454406, bug 454103, bug 454072, bug 454059, bug 453695.

Reported using DrKonqi
Comment 1 David Edmundson 2022-06-17 12:56:24 UTC
#11 0x00007f883270d144 in _iris_batch_flush (batch=0x557af03ea8b8, file=<optimized out>, line=<optimized out>) at ../src/gallium/drivers/iris/iris_batch.c:1105
Please can you report this to mesa.