Bug 392465 - KWin crashes (segfault) when using IntelliJ
Summary: KWin crashes (segfault) when using IntelliJ
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-03-28 21:23 UTC by Simao Gomes Viana
Modified: 2018-03-29 05:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.39 KB, text/plain)
2018-03-28 21:34 UTC, Simao Gomes Viana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simao Gomes Viana 2018-03-28 21:23:58 UTC
Application: kwin_x11 (5.12.3)

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

-- Information about the crash:
- What I was doing when the application crashed:
I was using IntelliJ, there was a window which I just closed by clicking on Cancel and was about to click on "File" at the top.

- Unusual behavior I noticed:
Just before I clicked on "File" the screen flashed very quickly (showed just the wallpaper for like 0.2 seconds) and then KWin crashed, basically getting rid of all window decorations etc. for a few seconds.

- Additional information
I'm using a NVIDIA GeForce GTX 660 with proprietary drivers (nvidia package installed from Arch repos) since the OSS driver nouveau isn't working properly (and tbh the proprietary one isn't really better either, just does not have issues I can't deal with)

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

Thread 8 (Thread 0x7fbf69bc5700 (LWP 5494)):
#0  0x00007fc0339b73bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc037b56fac in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fc032b7649a in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007fc032b76924 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fc037b55acd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fc012d98700 (LWP 3758)):
#0  0x00007fc03a9bca76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc037d9adc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fc037d9c55f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fc037d4132b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fc037b5072e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fc03247a379 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fc037b55acd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fc0077ba700 (LWP 3314)):
#0  0x00007fc0339b73bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc037b56fac in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fc032b7649a in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007fc032b76924 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fc037b55acd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fc019087700 (LWP 2935)):
#0  0x00007fc03a9bca76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc037d9adc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fc037d9c55f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fc037d4132b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fc037b5072e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fc03247a379 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fc037b55acd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fc0067cf700 (LWP 2576)):
#0  0x00007fc0339b73bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc036c6ef77 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fc036c6efb9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc013fff700 (LWP 2535)):
#0  0x00007fc03a9bca76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc037d9adc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fc037d9c55f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fc037d4132b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fc037b5072e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fc03247a379 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fc037b55acd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc01a902700 (LWP 2421)):
#0  0x00007fc03a9bca76 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc037d9adc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fc037d9c55f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fc037d4132b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fc037b5072e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fc03131c416 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fc037b55acd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fc0339b108c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc03a9c6e7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc03b016840 (LWP 2385)):
[KCrash Handler]
#6  0x0000000041fb9bd9 in  ()
#7  0x00007fc01144cc39 in  () at /usr/lib/libnvidia-glcore.so.390.42
#8  0x00007fc0114538c4 in  () at /usr/lib/libnvidia-glcore.so.390.42
#9  0x00007fc01145c914 in  () at /usr/lib/libnvidia-glcore.so.390.42
#10 0x00007fc011017415 in  () at /usr/lib/libnvidia-glcore.so.390.42
#11 0x00007fc032b36197 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#12 0x00007fc032b37436 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#13 0x00007fc032b3ccb6 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#14 0x00007fc032b2d0d2 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#15 0x00007fc032b2d5d0 in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
#16 0x00007fc032b67730 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
#17 0x00007fc032bcd230 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
#18 0x00007fc032c8e06a in QQuickRenderControl::render() () at /usr/lib/libQt5Quick.so.5
#19 0x00007fc032c8e233 in QQuickRenderControl::grab() () at /usr/lib/libQt5Quick.so.5
#20 0x00007fc018548b84 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#21 0x00007fc037d7373f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#22 0x00007fc037d80508 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#23 0x00007fc037d80879 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007fc037d7401b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007fc038ac0fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fc038ac89c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007fc037d42cf0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007fc037d9e688 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#29 0x00007fc037d9c7c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007fc0221a671e in  () at /usr/lib/libQt5XcbQpa.so.5
#31 0x00007fc037d4132b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007fc037d4a728 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#33 0x00007fc03ac90719 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#34 0x00007fc03a8f1f4a in __libc_start_main () at /usr/lib/libc.so.6
#35 0x000055e1a90fe76a in _start ()

Reported using DrKonqi
Comment 1 Simao Gomes Viana 2018-03-28 21:34:59 UTC
Created attachment 111711 [details]
New crash information added by DrKonqi

kwin_x11 (5.12.3) using Qt 5.10.1

- What I was doing when the application crashed:
I was switching between two instances of IntelliJ by clicking on its icon in the icons-only task manager and then on the window I wanted to use. It crashed right after clicking on the window.

- Unusual behavior I noticed:
Same as in the attached report.

-- Backtrace (Reduced):
#6  0x00007ff5312c98d0 in  () at /usr/lib/libnvidia-glcore.so.390.42
#7  0x00007ff531396a83 in  () at /usr/lib/libnvidia-glcore.so.390.42
#8  0x00007ff53139b3a4 in  () at /usr/lib/libnvidia-glcore.so.390.42
#9  0x00007ff5313a4914 in  () at /usr/lib/libnvidia-glcore.so.390.42
#10 0x00007ff530f5f415 in  () at /usr/lib/libnvidia-glcore.so.390.42
Comment 2 Martin Flöser 2018-03-29 04:14:51 UTC
Crash happens in the proprietary Nvidia driver. Please report to NVIDIA.
Comment 3 Simao Gomes Viana 2018-03-29 05:22:46 UTC
(In reply to Martin Flöser from comment #2)
> Crash happens in the proprietary Nvidia driver. Please report to NVIDIA.

Alright then, I figured this would happen.
I'm going to report this to NVIDIA as suggested, thanks.