Bug 397219

Summary: Visual Studio Code crashed
Product: [Plasma] kwin Reporter: Shadab Faiz <shadabfaiz607>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.13.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Shadab Faiz 2018-08-06 17:28:43 UTC
Application: kwin_x11 (5.13.3)

Qt Version: 5.10.1
Frameworks Version: 5.48.0
Operating System: Linux 4.17.11-200.fc28.x86_64 x86_64
Distribution: "Fedora release 28 (Twenty Eight)"

-- Information about the crash:
- What I was doing when the application crashed:
I had two instance of vscode opened. One ws running angular and another one was running node server. Addionally, a MySql Workbench, Chrome, Postman were opened.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5e6c8cf940 (LWP 1674))]

Thread 7 (Thread 0x7f5e3f3dd700 (LWP 5427)):
#0  0x00007ffde2d52b49 in clock_gettime ()
#1  0x00007f5e62c39cb6 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f5e63aed455 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f5e63aebf2d in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f5e63aec339 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f5e63aeb374 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f5e63a9c12b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f5e638ea9c6 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f5e6aaab3a9 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f5e638ef11d in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f5e65db2594 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5e62c2c0df in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f5e26e23700 (LWP 3649)):
#0  0x00007f5e62c21756 in ppoll () from /lib64/libc.so.6
#1  0x00007f5e63ae9e55 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f5e63aeb159 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f5e63a9c12b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f5e638ea9c6 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f5e6aaab3a9 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007f5e638ef11d in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f5e65db2594 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f5e62c2c0df in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5e265e2700 (LWP 1950)):
#0  0x00007f5e65db852c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e6bb219f8 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f5e6bb21a63 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f5e65db2594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5e62c2c0df in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5e3e61f700 (LWP 1848)):
#0  0x00007f5e62c21756 in ppoll () from /lib64/libc.so.6
#1  0x00007f5e63ae9e55 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f5e63aeb159 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f5e63a9c12b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f5e638ea9c6 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f5e6aaab3a9 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007f5e638ef11d in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f5e65db2594 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f5e62c2c0df in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5e45666700 (LWP 1699)):
#0  0x00007f5e62c21756 in ppoll () from /lib64/libc.so.6
#1  0x00007f5e63ae9e55 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f5e63aeb159 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f5e63a9c12b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f5e638ea9c6 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f5e6c98f299 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#6  0x00007f5e638ef11d in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f5e65db2594 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f5e62c2c0df in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5e470e6700 (LWP 1680)):
#0  0x00007f5e62c21659 in poll () from /lib64/libc.so.6
#1  0x00007f5e652a304f in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f5e652a4caa in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f5e47dd74d9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f5e638ef11d in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f5e65db2594 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5e62c2c0df in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5e6c8cf940 (LWP 1674)):
[KCrash Handler]
#6  0x00007f5e276122e8 in _mesa_update_texture_state () from /usr/lib64/dri/i965_dri.so
#7  0x00007f5e275e9c28 in _mesa_update_state_locked () from /usr/lib64/dri/i965_dri.so
#8  0x00007f5e275e9c45 in _mesa_update_state () from /usr/lib64/dri/i965_dri.so
#9  0x00007f5e274fd795 in _mesa_valid_to_render () from /usr/lib64/dri/i965_dri.so
#10 0x00007f5e274fd8e1 in check_valid_to_render () from /usr/lib64/dri/i965_dri.so
#11 0x00007f5e27651f81 in vbo_exec_DrawElementsBaseVertex () from /usr/lib64/dri/i965_dri.so
#12 0x00007f5e31cff7e0 in KWin::SceneOpenGL2Window::performPaint(int, QRegion, KWin::WindowPaintData) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007f5e31d080d1 in KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007f5e31d0820b in KWin::SceneOpenGL2::finalDrawWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#15 0x00007f5e6c3037bb in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#16 0x00007f5e6bce41c9 in KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin4_effect_builtins.so.1
#17 0x00007f5e6c303757 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#18 0x00007f5e6bc51e39 in KWin::BlurEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin4_effect_builtins.so.1
#19 0x00007f5e6c303757 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#20 0x00007f5e6bf488d0 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwineffects.so.11
#21 0x00007f5e6c303757 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#22 0x00007f5e6c2efc70 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#23 0x00007f5e6c3035e3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#24 0x00007f5e6bf48750 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwineffects.so.11
#25 0x00007f5e6c303587 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#26 0x00007f5e6bf48750 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwineffects.so.11
#27 0x00007f5e6c303587 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#28 0x00007f5e6bc7ca70 in KWin::DimInactiveEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin4_effect_builtins.so.1
#29 0x00007f5e6c303587 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwin.so.5
#30 0x00007f5e6c2f6032 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /lib64/libkwin.so.5
#31 0x00007f5e6c2f26f5 in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib64/libkwin.so.5
#32 0x00007f5e31cfb1b6 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#33 0x00007f5e6c2f5600 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#34 0x00007f5e6c303335 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#35 0x00007f5e6bf48685 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.11
#36 0x00007f5e6c3032e1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#37 0x00007f5e6bf48685 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.11
#38 0x00007f5e6c3032e1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#39 0x00007f5e6bf48685 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.11
#40 0x00007f5e6c3032e1 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwin.so.5
#41 0x00007f5e6c2f52b2 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () from /lib64/libkwin.so.5
#42 0x00007f5e31d026a6 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#43 0x00007f5e6c2e6d6a in KWin::Compositor::performCompositing() () from /lib64/libkwin.so.5
#44 0x00007f5e63ac69db in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#45 0x00007f5e64364e95 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#46 0x00007f5e6436c83a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#47 0x00007f5e63a9d376 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#48 0x00007f5e63aecf19 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#49 0x00007f5e63aeb27c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#50 0x00007f5e47e65321 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#51 0x00007f5e63a9c12b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#52 0x00007f5e63aa45b6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#53 0x00007f5e6c68b93f in kdemain () from /lib64/libkdeinit5_kwin_x11.so
#54 0x00007f5e62b5524b in __libc_start_main () from /lib64/libc.so.6
#55 0x0000561872a11cda in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2018-08-06 19:01:16 UTC
Crash happens in the Intel driver. Please report to Mesa developers.
Comment 2 Shadab Faiz 2018-08-07 06:42:24 UTC
(In reply to Martin Flöser from comment #1)
> Crash happens in the Intel driver. Please report to Mesa developers.

This is my first time posting any bugs here. So i have not idea who are Mesa developer and how to report  to them.
Comment 3 Christoph Feck 2018-08-31 23:41:10 UTC
The bug tracker for Mesa is at https://bugs.freedesktop.org/