Bug 408368 - KWin Crashes When Re-sizing KWrite As Root User
Summary: KWin Crashes When Re-sizing KWrite As Root User
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-06 04:03 UTC by David A. Smith
Modified: 2019-06-06 07:33 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 David A. Smith 2019-06-06 04:03:42 UTC
Application: kwin_x11 (5.12.8)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.61-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I was just running kwrite as root user and just resizing the kwrite window area when kwin crashed.

- Unusual behavior I noticed:
When I was re-sizing kwrite the screen went blank for a second, then displayed virtual screen #23, blanked again for a second and the kwrite window moved up making it's toolbar go off the top of the screen.

The crash can be reproduced sometimes.

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

Thread 6 (Thread 0x7fd2923de700 (LWP 23316)):
#0  0x00007fd2c560a8ad in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fd2c88b95e4 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fd2c88b9629 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fd2c5604569 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fd2cc58985f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fd2a571b700 (LWP 23313)):
#0  0x00007fd2c977ef6f in QMutex::unlock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007fd2c9957010 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fd2c99a7fc4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fd2c995309a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fd2c97824da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fd2c4108025 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fd2c97870ce in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fd2c5604569 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fd2cc58985f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fd2a75e0700 (LWP 23312)):
#0  0x00007fd2cc57f1b6 in ppoll () at /lib64/libc.so.6
#1  0x00007fd2c99a6bb9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fd2c99a8196 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fd2c995309a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fd2c97824da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fd2c4108025 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fd2c97870ce in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fd2c5604569 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fd2cc58985f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fd2ae2df700 (LWP 23308)):
#0  0x00007ffcd2d45822 in clock_gettime ()
#1  0x00007fd2cc597146 in clock_gettime () at /lib64/libc.so.6
#2  0x00007fd2c99aa631 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007fd2c99a8f09 in QTimerInfoList::updateCurrentTime() () at /usr/lib64/libQt5Core.so.5
#4  0x00007fd2c99a9485 in QTimerInfoList::timerWait(timespec&) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fd2c99a84a4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fd2c995309a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fd2c97824da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fd2c2fe0985 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007fd2c97870ce in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fd2c5604569 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fd2cc58985f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fd2b04d6700 (LWP 23307)):
#0  0x00007fd2cc57f0bb in poll () at /lib64/libc.so.6
#1  0x00007fd2cb4a5387 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fd2cb4a6fba in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fd2b13b8069 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fd2c97870ce in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fd2c5604569 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fd2cc58985f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fd2ccbfa940 (LWP 23304)):
[KCrash Handler]
#6  0x00007fd2ba72f290 in  () at /usr/lib64/libnvidia-glcore.so.340.107
#7  0x00007fd2ba7bde61 in  () at /usr/lib64/libnvidia-glcore.so.340.107
#8  0x00007fd2ba7c02a5 in  () at /usr/lib64/libnvidia-glcore.so.340.107
#9  0x00007fd2ba7c05db in  () at /usr/lib64/libnvidia-glcore.so.340.107
#10 0x00007fd2ba429e68 in  () at /usr/lib64/libnvidia-glcore.so.340.107
#11 0x00007fd2c47bf827 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib64/libQt5Quick.so.5
#12 0x00007fd2c47c0a25 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib64/libQt5Quick.so.5
#13 0x00007fd2c47c5ecc in QSGBatchRenderer::Renderer::render() () at /usr/lib64/libQt5Quick.so.5
#14 0x00007fd2c47b6edd in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib64/libQt5Quick.so.5
#15 0x00007fd2c47b7387 in QSGRenderer::renderScene(unsigned int) () at /usr/lib64/libQt5Quick.so.5
#16 0x00007fd2c47efe20 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib64/libQt5Quick.so.5
#17 0x00007fd2c4849b78 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib64/libQt5Quick.so.5
#18 0x00007fd2c48f967b in QQuickRenderControl::render() () at /usr/lib64/libQt5Quick.so.5
#19 0x00007fd2c48f9908 in QQuickRenderControl::grab() () at /usr/lib64/libQt5Quick.so.5
#20 0x00007fd2ac09a8c2 in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#21 0x00007fd2c998215c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#22 0x00007fd2c998e447 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#23 0x00007fd2c998e778 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007fd2c99829fb in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#25 0x00007fd2ca6e4e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007fd2ca6ec244 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007fd2c9954a88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fd2c99aa1ae in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#29 0x00007fd2c99a8402 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fd2b14185ed in  () at /usr/lib64/libQt5XcbQpa.so.5
#31 0x00007fd2c995309a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#32 0x00007fd2c995b9e4 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#33 0x00007fd2cc85460b in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#34 0x00007fd2cc4b1f8a in __libc_start_main () at /lib64/libc.so.6
#35 0x0000563ef48d380a in _start ()
[Inferior 1 (process 23304) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-06-06 07:33:32 UTC
The crash happens in the video driver. Please report this bug upstream.