Bug 392927 - kwin crashes when switching between different windows of the same app
Summary: kwin crashes when switching between different windows of the same app
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-04-09 12:15 UTC by nikolaydoe
Modified: 2018-04-09 15:53 UTC (History)
0 users

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 nikolaydoe 2018-04-09 12:15:40 UTC
Application: kwin_x11 (5.12.4)

Qt Version: 5.10.1
Frameworks Version: 5.44.0
Operating System: Linux 4.15.15-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
1) Opened two windows of firefox
2) Pointed mouse to the firefox icon in the task manager bar
3) Clicked on the second window

The crash can be reproduced sometimes.

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

Thread 8 (Thread 0x7f14573e6700 (LWP 5861)):
#0  0x00007f14711153bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f147528dfac in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f14702d749a in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007f14702d7924 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f147528cacd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f144344f700 (LWP 5860)):
#0  0x00007f14780c8a76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f14754d1dc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f14754d355f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f147547832b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f147528772e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f146fbdb379 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f147528cacd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f141e3d6700 (LWP 5842)):
#0  0x00007f14711153bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f14743c6f77 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f14743c6fb9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f1441d78700 (LWP 5840)):
#0  0x00007f14780c8a76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f14754d1dc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f14754d355f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f147547832b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f147528772e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f146fbdb379 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f147528cacd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f1455aaf700 (LWP 5834)):
#0  0x00007f14780c8a76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f14754d1dc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f14754d355f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f147547832b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f147528772e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f146fbdb379 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f147528cacd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1457fff700 (LWP 5828)):
#0  0x00007f14780c8a76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f14754d1dc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f14754d355f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f147547832b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f147528772e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f146ea7d416 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f147528cacd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f145e7e1700 (LWP 5827)):
#0  0x00007f14780c897b in poll () at /usr/lib/libc.so.6
#1  0x00007f1476ff0180 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1476ff1e4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f145f8cc82a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f147528cacd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f147110f08c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f14780d2e7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1478746840 (LWP 5824)):
[KCrash Handler]
#6  0x00000000413eddd9 in  ()
#7  0x00007f1445a0af79 in  () at /usr/lib/libnvidia-glcore.so.390.48
#8  0x00007f1445a11c04 in  () at /usr/lib/libnvidia-glcore.so.390.48
#9  0x00007f1445a1ac54 in  () at /usr/lib/libnvidia-glcore.so.390.48
#10 0x00007f14455d57d5 in  () at /usr/lib/libnvidia-glcore.so.390.48
#11 0x00007f1470297197 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#12 0x00007f1470298436 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#13 0x00007f147029dcb6 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#14 0x00007f147028e0d2 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#15 0x00007f147028e5d0 in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
#16 0x00007f14702c8730 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
#17 0x00007f147032e230 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
#18 0x00007f14703ef06a in QQuickRenderControl::render() () at /usr/lib/libQt5Quick.so.5
#19 0x00007f14703ef233 in QQuickRenderControl::grab() () at /usr/lib/libQt5Quick.so.5
#20 0x00007f14566f77e4 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#21 0x00007f14754aa73f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#22 0x00007f14754b7508 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#23 0x00007f14754b7879 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f14754ab01b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007f14761f7fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f14761ff9c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f1475479cf0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007f14754d5688 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#29 0x00007f14754d37c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007f145f95471e in  () at /usr/lib/libQt5XcbQpa.so.5
#31 0x00007f147547832b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f1475481728 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#33 0x00007f147839c416 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#34 0x00007f1477ffdf4a in __libc_start_main () at /usr/lib/libc.so.6
#35 0x000055f0c3a6276a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2018-04-09 15:50:44 UTC
Crash happens in the proprietary Nvidia driver. Please report to NVIDIA.
Comment 2 nikolaydoe 2018-04-09 15:52:41 UTC
Could it be done automatically?
Comment 3 nikolaydoe 2018-04-09 15:53:15 UTC
Can I just leave a link to this report somewhere on their forums?