Bug 375038

Summary: kwin crashes when imagewriter needs legitimation
Product: [Plasma] kwin Reporter: Peter Wendel <pete>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Wendel 2017-01-14 11:52:32 UTC
Application: kwin_x11 (5.8.3)

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

-- Information about the crash:
- What I was doing when the application crashed:
I selected an image and clicked to write it to sd-card.
Imagewriter needs root legitimation and kwin chrashes.

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 0x7f928686f940 (LWP 4275))]

Thread 6 (Thread 0x7f926113f700 (LWP 14563)):
#0  0x00007f9285fceb03 in select () at /lib64/libc.so.6
#1  0x00007f928368a849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f928368c0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f928368c527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f928363bfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9283476f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f927e0109b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f928347b9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f928629c734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f9285fd5d3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f9261eda700 (LWP 4334)):
#0  0x00007f92862a10af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f92825ff93b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f92825ff969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f928629c734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f9285fd5d3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f9262fc3700 (LWP 4326)):
#0  0x00007f9285fceb03 in select () at /lib64/libc.so.6
#1  0x00007f928368a849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f928368c0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f928368c527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f928363bfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9283476f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f927e0109b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f928347b9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f928629c734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f9285fd5d3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f9269543700 (LWP 4295)):
#0  0x00007f9285fceb03 in select () at /lib64/libc.so.6
#1  0x00007f928368a849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f928368c0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f928368c527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f928363bfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9283476f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f927d1e31d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f928347b9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f928629c734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f9285fd5d3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f926b6f3700 (LWP 4290)):
#0  0x00007f9285fcd49d in poll () at /lib64/libc.so.6
#1  0x00007f928514f3e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f9285150fcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f926c7ed839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f928347b9e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f928629c734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f9285fd5d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f928686f940 (LWP 4275)):
[KCrash Handler]
#6  0x00007f927dffcdd0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f927dffe24a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f927e0072f6 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f927df9593b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f927df959f7 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f927df95880 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f926322a7cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f9285bf8047 in  () at /usr/lib64/libkwin.so.5
#14 0x00007f9285adc891 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007f9285add5ab in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007f9285b3eed6 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007f9285ac0994 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007f9285b2d0e0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007f928363b270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f926c7ebbe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007f926c7edc3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007f9283669166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f9284348e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f928434d49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f928363dfc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f928363fdaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f928368c4b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f926c84f94d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f928363bfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f9283643ec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007f92864bd9cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007f9285f0c6e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-01-14 17:30:43 UTC
As a workaround use the breeze window decoration.

*** This bug has been marked as a duplicate of bug 361236 ***