Bug 377321 - KWIN crashes sometimes when opening VBOX client
Summary: KWIN crashes sometimes when opening VBOX client
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.8.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-03-07 06:22 UTC by Eric
Modified: 2018-10-28 03:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric 2017-03-07 06:22:25 UTC
Application: kwin_x11 (5.8.3)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.49-16-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
On starting a VirtualBox client (Windows 10) with two screens, one window will sometimes fail during startup. Disabling and restarting the second screen resolves the symptom.

VirtualBox Graphical User Interface
Version 5.1.14 r112924 (Qt5.6.1)
NAME="openSUSE Leap"
VERSION="42.2"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.2"
PRETTY_NAME="openSUSE Leap 42.2"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/

The problem is a reasonably new one, 4-6 weeks and I believe due to a OpenSUSE patch. VBOX has remained at the above version since it was released.

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 0x7f52d37b1940 (LWP 2670))]

Thread 7 (Thread 0x7f5217ce5700 (LWP 2847)):
#0  0x00007f52d2f26b03 in select () at /lib64/libc.so.6
#1  0x00007f52d05f9849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f52d05fb0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f52d05fb527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f52d05aafdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f52d03e5f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f52cafd79c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f52d03ea9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f52d31ef734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f52d2f2dd3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f52b1ffc700 (LWP 2773)):
#0  0x00007f52d31f40af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f52cf58093b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f52cf580969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f52d31ef734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f52d2f2dd3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f529871e700 (LWP 2772)):
#0  0x00007f52d31f40af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f52a398e533 in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f52a398dd57 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f52d31ef734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f52d2f2dd3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f52b2ffd700 (LWP 2749)):
#0  0x00007f52d05fb1f9 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#1  0x00007f52d05fb527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f52d05aafdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f52d03e5f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#4  0x00007f52cafd79c8 in  () at /usr/lib64/libQt5Qml.so.5
#5  0x00007f52d03ea9e9 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f52d31ef734 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f52d2f2dd3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f52b3fff700 (LWP 2702)):
#0  0x00007f52d2f26b03 in select () at /lib64/libc.so.6
#1  0x00007f52d05f9849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f52d05fb0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f52d05fb527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f52d05aafdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f52d03e5f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f52ca1b81d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f52d03ea9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f52d31ef734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f52d2f2dd3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f52b9ee0700 (LWP 2671)):
#0  0x00007f52d2f2549d in poll () at /lib64/libc.so.6
#1  0x00007f52d20ac3e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f52d20adfcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f52bab90839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f52d03ea9e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f52d31ef734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f52d2f2dd3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f52d37b1940 (LWP 2670)):
[KCrash Handler]
#6  0x00007f52cafc3de0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f52cafc525a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f52cafce306 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f52caf5c94b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f52caf5ca07 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f52caf5c890 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f52b83637cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f52d2b51047 in  () at /usr/lib64/libkwin.so.5
#14 0x00007f52d2a35891 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007f52d2a365ab in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007f52d2a97ed6 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007f52d2a19994 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007f52d2a860e0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007f52d05aa270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f52bab8ebe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007f52bab90c3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007f52d05d8166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f52d12b3e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f52d12b849a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f52d05acfc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f52d05aedaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f52d05fb4b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f52babf294d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f52d05aafdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f52d05b2ec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007f52d340d9cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007f52d2e646e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400809 in _start ()

Report to https://bugs.kde.org/
Comment 1 Martin Flöser 2017-03-07 06:45:36 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to 
reproduce please install the debug packages provided by your 
distribution (please ask the distribution support channel on how to 
install them) and attach a new backtrace.
Comment 2 Andrew Crouthamel 2018-09-28 02:34:34 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-28 03:24:47 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!