Bug 386083 - Kwin crashes after closing Gwenview with unsaved changes
Summary: Kwin crashes after closing Gwenview with unsaved changes
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-22 19:28 UTC by Raf
Modified: 2017-10-23 06:47 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 Raf 2017-10-22 19:28:35 UTC
Application: kwin_x11 (5.8.6)

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

-- Information about the crash:
- What I was doing when the application crashed:

Kwin error appears every time when I try to close Gwenview (16.08.2) with unsaved changes and in the popup I click on "Save all changes" button. 

In the console there was no trace - the only response before the crash and probably not linked with it): QWidget::setWindowModified: The window title does not contain a '[*]' placeholder

---------
Gwenview version: 16.08.2
Plasma version: 5.8.6
KDE frameworks: 5.26.0
Qt 5.6.1
xcb

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 0x7f33afc84940 (LWP 5686))]

Thread 5 (Thread 0x7f33717d3700 (LWP 5703)):
#0  0x00007f33af6bc0bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33aba3e93b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f33aba3e969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f33af6b7744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f33af3f5aad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f337b68e700 (LWP 5700)):
#0  0x00007f33ac8a84f8 in QMutex::unlock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007f33aca73d5c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f33acac04c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f33aca6ffeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f33ac8aaf1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f33a74959d8 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f33ac8af9e9 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f33af6b7744 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f33af3f5aad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f338e87c700 (LWP 5699)):
#0  0x00007f33af3ee873 in select () at /lib64/libc.so.6
#1  0x00007f33acabe859 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f33acac00d3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f33acac0537 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f33aca6ffeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f33ac8aaf1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f33a74959d8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f33ac8af9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f33af6b7744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f33af3f5aad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3398ba5700 (LWP 5688)):
#0  0x00007f33af3ee873 in select () at /lib64/libc.so.6
#1  0x00007f33acabe859 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f33acac00d3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f33acac0537 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f33aca6ffeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f33ac8aaf1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f33a6675295 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f33ac8af9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f33af6b7744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f33af3f5aad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f33afc84940 (LWP 5686)):
[KCrash Handler]
#6  0x00000000000009f0 in  ()
#7  0x00007f33acaa0960 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f33aba827eb in  () at /usr/lib64/libQt5Script.so.5
#9  0x00007f33aba828c4 in  () at /usr/lib64/libQt5Script.so.5
#10 0x00007f33aba82b82 in QScriptEngine::newQObject(QObject*, QScriptEngine::ValueOwnership, QFlags<QScriptEngine::QObjectWrapOption> const&) () at /usr/lib64/libQt5Script.so.5
#11 0x00007f33af00696c in  () at /usr/lib64/libkwin.so.5
#12 0x00007f33aba82ed2 in  () at /usr/lib64/libQt5Script.so.5
#13 0x00007f33abaa5d6e in  () at /usr/lib64/libQt5Script.so.5
#14 0x00007f33abaad425 in  () at /usr/lib64/libQt5Script.so.5
#15 0x00007f33aca9c149 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f33ac268518 in KWin::EffectsHandler::desktopPresenceChanged(KWin::EffectWindow*, int, int) () at /usr/lib64/libkwineffects.so.9
#17 0x00007f33ac26954e in  () at /usr/lib64/libkwineffects.so.9
#18 0x00007f33aca9d176 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f33ad778e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f33ad77d49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f33aca71fd5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f33aca73dba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f33acac04c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f3393db494d in  () at /usr/lib64/libQt5XcbQpa.so.5
#25 0x00007f33aca6ffeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f33aca77ed6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#27 0x00007f33af8d59cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#28 0x00007f33af32c6e5 in __libc_start_main () at /lib64/libc.so.6
#29 0x0000000000400809 in _start ()
Comment 1 Martin Flöser 2017-10-23 06:47:58 UTC
Fixed in newer version