Bug 365209

Summary: kwin crashed when turning fullscreen off
Product: [Plasma] kwin Reporter: Dj YB <yehielb>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.5.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=358142
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dj YB 2016-07-07 18:56:15 UTC
Application: kwin_x11 (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.4.13-200.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
- What I was doing when the application crashed:
I have returned a facebook video window from fullscreen to normal display. using firefox.

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

Thread 4 (Thread 0x7fbf177fe700 (LWP 2073)):
#0  0x00000033876f92e3 in select () at /lib64/libc.so.6
#1  0x0000003542ad652f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x0000003542ad802e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5
#3  0x0000003542ad855e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x0000003542a81eca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x000000354289e434 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00000036b22d99b5 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00000035428a33de in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x0000003388207555 in start_thread () at /lib64/libpthread.so.0
#9  0x0000003387702ded in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fbf167fd700 (LWP 2087)):
#0  0x000000338820c540 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x0000003551f85514 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x0000003551f85559 in  () at /lib64/libQt5Script.so.5
#3  0x0000003388207555 in start_thread () at /lib64/libpthread.so.0
#4  0x0000003387702ded in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fbf14d79700 (LWP 3554)):
#0  0x00000033876f92e3 in select () at /lib64/libc.so.6
#1  0x0000003542ad652f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x0000003542ad802e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5
#3  0x0000003542ad855e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x0000003542a81eca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x000000354289e434 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00000036b22d99b5 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00000035428a33de in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x0000003388207555 in start_thread () at /lib64/libpthread.so.0
#9  0x0000003387702ded in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fbf26180900 (LWP 1976)):
[KCrash Handler]
#5  0x00007fbe8590c7b7 in nv30_validate_fb () at /usr/lib64/dri/nouveau_dri.so
#6  0x00007fbe8590d239 in nv30_state_validate () at /usr/lib64/dri/nouveau_dri.so
#7  0x00007fbe85903195 in nv30_clear () at /usr/lib64/dri/nouveau_dri.so
#8  0x00007fbe856a824d in st_Clear () at /usr/lib64/dri/nouveau_dri.so
#9  0x00000036b0f26bea in QSGBatchRenderer::Renderer::renderBatches() () at /lib64/libQt5Quick.so.5
#10 0x00000036b0f2c5d2 in QSGBatchRenderer::Renderer::render() () at /lib64/libQt5Quick.so.5
#11 0x00000036b0f382cf in QSGRenderer::renderScene(QSGBindable const&) () at /lib64/libQt5Quick.so.5
#12 0x00000036b0f38b47 in QSGRenderer::renderScene(unsigned int) () at /lib64/libQt5Quick.so.5
#13 0x00000036b0f48fee in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /lib64/libQt5Quick.so.5
#14 0x00000036b0f92fcb in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /lib64/libQt5Quick.so.5
#15 0x00000036b10737f8 in QQuickRenderControl::render() () at /lib64/libQt5Quick.so.5
#16 0x00007fbf1c381bd5 in QtPrivate::QFunctorSlotObject<Aurorae::Decoration::init()::{lambda()#5}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#17 0x0000003542ab3127 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#18 0x0000003542abfb48 in QTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#19 0x0000003542ab4113 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#20 0x00000036a755441c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#21 0x00000036a75598e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#22 0x0000003542a8473b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#23 0x0000003542ad9ccd in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#24 0x0000003542ad84d6 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007fbf1f50796d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#26 0x0000003542a81eca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x0000003542a89fac in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#28 0x00000036b4205c53 in kdemain () at /lib64/libkdeinit5_kwin_x11.so
#29 0x0000003387620700 in __libc_start_main () at /lib64/libc.so.6
#30 0x0000000000400c89 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-07-07 19:00:38 UTC
Bug in QtQuick, triggered by the aurorae decoration. Switch to breeze.
Comment 2 Dj YB 2016-07-10 17:41:29 UTC
Thanks, but I am already using Breeze.
Comment 3 Thomas Lübking 2016-07-10 19:44:46 UTC
> /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so

no, you're not (not when the crash occured, at least)
Comment 4 Dj YB 2016-07-10 20:03:05 UTC
I am looking at the "Widget style and behaviour" setting, and I don't even have Aurora as an option.
Perhaps this is configured in some other place?

Thanks
Comment 5 Thomas Lübking 2016-07-10 21:36:31 UTC
run
   kcmshell5 kwindecoration

the widget style is irrelevant
Comment 6 Dj YB 2016-07-11 17:24:01 UTC
Thanks, seems to be working fine now.