Bug 414312 - Kwin crashed unexpectedly
Summary: Kwin crashed unexpectedly
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-11-19 19:58 UTC by Michael Englehorn
Modified: 2019-11-20 08:47 UTC (History)
0 users

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 Michael Englehorn 2019-11-19 19:58:19 UTC
Application: kwin_x11 (5.16.5)

Qt Version: 5.12.5
Frameworks Version: 5.61.0
Operating System: Linux 5.3.11-300.fc31.x86_64 x86_64
Distribution: "Fedora release 31 (Thirty One)"

-- Information about the crash:
- What I was doing when the application crashed: I was changing from Konsole to Google Chrome. Kwin has crashed a few times since upgrading to Fedora 31 from Fedora 30.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdd3629e640 (LWP 3665))]

Thread 7 (Thread 0x7fdd22dee700 (LWP 68120)):
#0  0x00007fdd3b171d45 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fdd3bc3bff3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt5Core.so.5
#2  0x00007fdd3bc3c081 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#3  0x00007fdd3ac861b9 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#4  0x00007fdd3ac8645d in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#5  0x00007fdd3bc364e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#6  0x00007fdd3b16b4e2 in start_thread () at /lib64/libpthread.so.0
#7  0x00007fdd3d2d1643 in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fdd11a27700 (LWP 8870)):
#0  0x00007fdd3b171d45 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fdd3bc3bff3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt5Core.so.5
#2  0x00007fdd3bc3c081 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#3  0x00007fdd3ac861b9 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#4  0x00007fdd3ac8645d in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#5  0x00007fdd3bc364e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#6  0x00007fdd3b16b4e2 in start_thread () at /lib64/libpthread.so.0
#7  0x00007fdd3d2d1643 in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fdd11226700 (LWP 4017)):
#0  0x00007fdd3b171d45 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fdd3b6aa74a in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007fdd3b6aa76f in  () at /lib64/libQt5Script.so.5
#3  0x00007fdd3b16b4e2 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fdd3d2d1643 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fdd132ed700 (LWP 4013)):
#0  0x00007fdd3b171d45 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fdd137db12b in util_queue_thread_func () at /usr/lib64/dri/i965_dri.so
#2  0x00007fdd137dad3b in impl_thrd_routine () at /usr/lib64/dri/i965_dri.so
#3  0x00007fdd3b16b4e2 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fdd3d2d1643 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fdd22517700 (LWP 4003)):
#0  0x00007fdd3d2c6b16 in ppoll () at /lib64/libc.so.6
#1  0x00007fdd3be2f179 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x00007fdd3be30274 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#3  0x00007fdd3bddcceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007fdd3bc35395 in QThread::exec() () at /lib64/libQt5Core.so.5
#5  0x00007fdd3a8dd119 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#6  0x00007fdd3bc364e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fdd3b16b4e2 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fdd3d2d1643 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fdd23fff700 (LWP 3869)):
#0  0x00007fdd3d2c6b16 in ppoll () at /lib64/libc.so.6
#1  0x00007fdd3be2f179 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x00007fdd3be30274 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#3  0x00007fdd3bddcceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007fdd3bc35395 in QThread::exec() () at /lib64/libQt5Core.so.5
#5  0x00007fdd3a2eef4a in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#6  0x00007fdd3bc364e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fdd3b16b4e2 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fdd3d2d1643 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fdd3629e640 (LWP 3665)):
[KCrash Handler]
#6  0x00007fdd1390461f in gen9_emit_raw_pipe_control () at /usr/lib64/dri/i965_dri.so
#7  0x00007fdd133e63a2 in brw_emit_end_of_pipe_sync () at /usr/lib64/dri/i965_dri.so
#8  0x00007fdd133e35c3 in brw_upload_state_base_address () at /usr/lib64/dri/i965_dri.so
#9  0x00007fdd133eb20f in brw_upload_render_state () at /usr/lib64/dri/i965_dri.so
#10 0x00007fdd133daba4 in brw_draw_prims () at /usr/lib64/dri/i965_dri.so
#11 0x00007fdd136798cd in _mesa_draw_arrays () at /usr/lib64/dri/i965_dri.so
#12 0x00007fdd13679987 in _mesa_DrawArrays () at /usr/lib64/dri/i965_dri.so
#13 0x00007fdd3b0cb1fb in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () at /lib64/libkwinglutils.so.12
#14 0x00007fdd3b0cb2a5 in KWin::GLVertexBuffer::render(unsigned int) () at /lib64/libkwinglutils.so.12
#15 0x00007fdd212bbcc5 in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#16 0x00007fdd212c376f in KWin::SceneOpenGL::paintBackground(QRegion) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#17 0x00007fdd3d040194 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /lib64/libkwin.so.5
#18 0x00007fdd212bbc17 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#19 0x00007fdd3d042a10 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib64/libkwin.so.5
#20 0x00007fdd3d04e212 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib64/libkwin.so.5
#21 0x00007fdd3b937543 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib64/libkwineffects.so.12
#22 0x00007fdd3d04e1c1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib64/libkwin.so.5
#23 0x00007fdd3b937543 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib64/libkwineffects.so.12
#24 0x00007fdd3d04e1c1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib64/libkwin.so.5
#25 0x00007fdd3d0426c3 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /lib64/libkwin.so.5
#26 0x00007fdd212c455e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#27 0x00007fdd3d034517 in KWin::Compositor::performCompositing() () at /lib64/libkwin.so.5
#28 0x00007fdd3be08c15 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#29 0x00007fdd3c743ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#30 0x00007fdd3c74d150 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#31 0x00007fdd3bdddde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#32 0x00007fdd3be31f78 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#33 0x00007fdd3be3039f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#34 0x00007fdd29166f12 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#35 0x00007fdd3bddcceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#36 0x00007fdd3bde4a16 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#37 0x00007fdd3d3a3a8d in kdemain () at /lib64/libkdeinit5_kwin_x11.so
#38 0x00007fdd3d1f71a3 in __libc_start_main () at /lib64/libc.so.6
#39 0x000055a7ad7460ae in _start ()
[Inferior 1 (process 3665) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-11-20 08:47:39 UTC
The crash happens in the video driver. I recommend to report this crash to i915 developers.