Bug 370439 - KWin and plasma desktop are crashing after updating Qt
Summary: KWin and plasma desktop are crashing after updating Qt
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2016-10-11 03:42 UTC by ArticIce (Juice)
Modified: 2018-10-27 03:38 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 ArticIce (Juice) 2016-10-11 03:42:46 UTC
Application: kwin_x11 (5.8.0)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.27.0
Operating System: Linux 4.5.0-aufs-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Updated the major version of Qt from 5.5.1 to 5.6.1
Was pressing Alt+Tab to switch windows in an emergency session.

- Unusual behavior I noticed:
Screen flickering after login, black screen, no panel. Alt+Tab does not show window list, causes unusual flickering and then crashes.
KDE is completely broken.

- Custom settings of the application:

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f7e52f63700 (LWP 6056)):
#0  0x00007f7f042d310f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7edd4114d3 in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007f7edd410bf7 in ?? () from /usr/lib64/dri/r600_dri.so
#3  0x00007f7f042cd484 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7f04014e7d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7edffdf700 (LWP 6044)):
#0  0x00007f7f042d310f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f0110cdf4 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f7f0110ce39 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f7f042cd484 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7f04014e7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f7eed065700 (LWP 6043)):
#0  0x00007f7f0400dad3 in select () from /lib64/libc.so.6
#1  0x00007f7f01f53dcf in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f7f01f5547e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f7f01f55992 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f7f01f07f4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f7f01d68ae4 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f7efcf537a5 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f7f01d6cf1c in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f7f042cd484 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7f04014e7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7eee5d9700 (LWP 6038)):
#0  0x00007f7f0400dad3 in select () from /lib64/libc.so.6
#1  0x00007f7f01f53dcf in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f7f01f5547e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f7f01f55992 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f7f01f07f4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f7f01d68ae4 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f7f0484d5c5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f7f01d6cf1c in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f7f042cd484 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7f04014e7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7f047367c0 (LWP 6036)):
[KCrash Handler]
#6  0x00007f7efd3eece0 in QSGNode::setFlag(QSGNode::Flag, bool) () from /usr/lib64/libQt5Quick.so.5
#7  0x00007f7efd448b60 in ?? () from /usr/lib64/libQt5Quick.so.5
#8  0x00007f7efd4491fa in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#9  0x00007f7efd449ccb in QQuickWindowPrivate::updateDirtyNodes() () from /usr/lib64/libQt5Quick.so.5
#10 0x00007f7efd44ad30 in QQuickWindowPrivate::syncSceneGraph() () from /usr/lib64/libQt5Quick.so.5
#11 0x00007f7efd418d78 in ?? () from /usr/lib64/libQt5Quick.so.5
#12 0x00007f7efd41a478 in ?? () from /usr/lib64/libQt5Quick.so.5
#13 0x00007f7f0224ac65 in QWindow::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#14 0x00007f7efd454365 in QQuickWindow::event(QEvent*) () from /usr/lib64/libQt5Quick.so.5
#15 0x00007f7eded9d7fb in PlasmaQuick::Dialog::event(QEvent*) () from /usr/lib64/libKF5PlasmaQuick.so.5
#16 0x00007f7f02791ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f7f02797556 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f7f01f090da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f7f022407ad in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib64/libQt5Gui.so.5
#20 0x00007f7f0224141d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#21 0x00007f7f02221f4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#22 0x00007f7ef03468c6 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#23 0x00007f7f01f07f4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f7f01f0f90c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#25 0x00007f7f044eb286 in kdemain () from /usr/lib64/libkdeinit5_kwin_x11.so
#26 0x00007f7f03f4d710 in __libc_start_main () from /lib64/libc.so.6
#27 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2016-10-11 05:33:30 UTC
The backtrace is lacking debug symbols and thus we cannot see where it really crashes.

In case you had not restarted the session after upgrading Qt: please ensure that you restart it. Upgrading Qt in a running session seems to not be supported. Also there are multiple components which need to be recompiled after Qt got upgraded. E.g. plasma-integration. Ensure that these components are recompiled, in doubt recompile the whole Qt stack.
Comment 2 Andrew Crouthamel 2018-09-26 22:08:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 03:38:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!