Bug 358369 - Plasma crashed after opening an HTML5 video in Chrome
Summary: Plasma crashed after opening an HTML5 video in Chrome
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 354467 360422 360703 360799 361023 361035 361287 362648 363312 363809 364008 364259 364368 365726 366794 370229 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-22 12:11 UTC by gje968
Modified: 2016-10-07 05:35 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gje968 2016-01-22 12:11:50 UTC
Application: kwin_x11 (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-25-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
Navigating to a youtube HTML5 video: if Chrome is in fullscreen, it always happens. If Chrome is not, it only sometimes happens.

- Custom settings of the application:
I use the Diamond desktop them, the breeze-hacked cursors, and breeze loock & feel as well as spladch screen. I also use the following desktop effects: window blur at 50%, mouse click animation, background contrast, fade, glide, login, logout, maximize, sliding popups, translucency (10, 8, 10, 10, 10, disabled), window aperture, wobbly windows (8, 75, 10), minimize animation, dialog parent, dim screen for administrator mode, slide, desktop grid, and present windows.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fed65bac880 (LWP 5045))]

Thread 4 (Thread 0x7fed44eb8700 (LWP 5073)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007fed6568e735 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x00007fed63cc590f in qt_safe_select (nfds=14, fdread=fdread@entry=0x7fed38000a98, fdwrite=fdwrite@entry=0x7fed38000d28, fdexcept=fdexcept@entry=0x7fed38000fb8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#3  0x00007fed63cc740e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7fed38000fb8, writefds=0x7fed38000d28, readfds=0x7fed38000a98, nfds=<optimized out>, this=0x7fed380008e0) at kernel/qeventdispatcher_unix.cpp:320
#4  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fed38000900, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#5  0x00007fed63cc793e in QEventDispatcherUNIX::processEvents (this=0x7fed380008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#6  0x00007fed63c7075a in QEventLoop::exec (this=this@entry=0x7fed44eb7d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fed63a8e3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007fed5e56df85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fed63a932be in QThreadPrivate::start (arg=0x123dfc0) at thread/qthread_unix.cpp:337
#10 0x00007fed64cc86aa in start_thread (arg=0x7fed44eb8700) at pthread_create.c:333
#11 0x00007fed65697eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fed3e6f6700 (LWP 5130)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fed62c07114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fed62c07159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fed64cc86aa in start_thread (arg=0x7fed3e6f6700) at pthread_create.c:333
#4  0x00007fed65697eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fed32dff700 (LWP 5421)):
#0  0x00007fed6568e743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fed63cc590f in qt_safe_select (nfds=25, fdread=fdread@entry=0x7feca80d1588, fdwrite=fdwrite@entry=0x7feca80d1818, fdexcept=fdexcept@entry=0x7feca80d1aa8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fed63cc740e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7feca80d1aa8, writefds=0x7feca80d1818, readfds=0x7feca80d1588, nfds=<optimized out>, this=0x7feca8039d30) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7feca80d13f0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fed63cc793e in QEventDispatcherUNIX::processEvents (this=0x7feca8039d30, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fed63c7075a in QEventLoop::exec (this=this@entry=0x7fed32dfed20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fed63a8e3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fed5e56df85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fed63a932be in QThreadPrivate::start (arg=0x1948e60) at thread/qthread_unix.cpp:337
#9  0x00007fed64cc86aa in start_thread (arg=0x7fed32dff700) at pthread_create.c:333
#10 0x00007fed65697eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fed65bac880 (LWP 5045)):
[KCrash Handler]
#6  0x00000000401fa9bb in ?? ()
#7  0x00007fed55cab204 in ?? () from /usr/lib/nvidia-352/libnvidia-glcore.so.352.63
#8  0x00007fed55cb1e98 in ?? () from /usr/lib/nvidia-352/libnvidia-glcore.so.352.63
#9  0x00007fed558b9788 in ?? () from /usr/lib/nvidia-352/libnvidia-glcore.so.352.63
#10 0x00007fed642b7766 in QOpenGLFunctions::glDrawArrays (count=4, first=0, mode=6, this=0x23f1740) at ../../include/QtGui/../../src/gui/opengl/qopenglfunctions.h:715
#11 QOpenGLTextureGlyphCache::resizeTextureData (this=0x2e0e460, width=<optimized out>, height=<optimized out>) at opengl/qopengltextureglyphcache.cpp:299
#12 0x00007fed6423ef2a in QTextureGlyphCache::resizeCache (height=<optimized out>, width=<optimized out>, this=0x2e0e460) at painting/qtextureglyphcache_p.h:124
#13 QTextureGlyphCache::fillInPendingGlyphs (this=0x2e0e460) at painting/qtextureglyphcache.cpp:244
#14 0x00007fed5ea39959 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fed5ea379ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007fed5eac4097 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007fed5eac7743 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007fed5eac4f57 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#19 0x00007fed5eac36e8 in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#20 0x00007fed5ea7bdd7 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007fed5ea7c87b in QQuickWindowPrivate::updateDirtyNodes() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007fed5ea7ceee in QQuickWindowPrivate::syncSceneGraph() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007fed5eb5df8a in QQuickRenderControl::sync() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#24 0x00007fed450ed2d9 in Aurorae::Decoration::<lambda()>::operator() (__closure=<synthetic pointer>) at ../../../../clients/aurorae/src/aurorae.cpp:362
#25 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Aurorae::Decoration::init()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:494
#26 QtPrivate::Functor<Aurorae::Decoration::init()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:551
#27 QtPrivate::QFunctorSlotObject<Aurorae::Decoration::init()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#28 0x00007fed63ca3617 in QtPrivate::QSlotObjectBase::call (a=0x7ffcf7d52210, r=0x1833aa0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#29 QMetaObject::activate (sender=sender@entry=0x18d09d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3702
#30 0x00007fed63ca3f87 in QMetaObject::activate (sender=sender@entry=0x18d09d0, m=m@entry=0x7fed63ea67c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#31 0x00007fed63d1cb10 in QTimer::timeout (this=this@entry=0x18d09d0) at .moc/moc_qtimer.cpp:192
#32 0x00007fed63cb0178 in QTimer::timerEvent (this=0x18d09d0, e=<optimized out>) at kernel/qtimer.cpp:247
#33 0x00007fed63ca4603 in QObject::event (this=0x18d09d0, e=<optimized out>) at kernel/qobject.cpp:1267
#34 0x00007fed6454ab8c in QApplicationPrivate::notify_helper (this=this@entry=0xf61600, receiver=receiver@entry=0x18d09d0, e=e@entry=0x7ffcf7d52540) at kernel/qapplication.cpp:3720
#35 0x00007fed64550230 in QApplication::notify (this=0x7ffcf7d52770, receiver=0x18d09d0, e=0x7ffcf7d52540) at kernel/qapplication.cpp:3503
#36 0x00007fed63c72f1b in QCoreApplication::notifyInternal (this=0x7ffcf7d52770, receiver=0x18d09d0, event=event@entry=0x7ffcf7d52540) at kernel/qcoreapplication.cpp:935
#37 0x00007fed63cc909d in QCoreApplication::sendEvent (event=0x7ffcf7d52540, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#38 QTimerInfoList::activateTimers (this=0xfb5ba8) at kernel/qtimerinfo_unix.cpp:635
#39 0x00007fed63cc6e40 in QEventDispatcherUNIX::activateTimers (this=this@entry=0xf9f150) at kernel/qeventdispatcher_unix.cpp:549
#40 0x00007fed63cc78b6 in QEventDispatcherUNIX::processEvents (this=0xf9f150, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#41 0x00007fed4d78005d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#42 0x00007fed63c7075a in QEventLoop::exec (this=this@entry=0x7ffcf7d52690, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#43 0x00007fed63c782cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#44 0x00007fed63f9100c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#45 0x00007fed64547025 in QApplication::exec () at kernel/qapplication.cpp:2956
#46 0x00007fed659664c4 in kdemain (argc=1, argv=0x7ffcf7d528d8) at ../main_x11.cpp:303
#47 0x00007fed655b1a40 in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=1, argv=0x7ffcf7d528d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcf7d528c8) at libc-start.c:289
#48 0x00000000004007d9 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-01-22 12:25:32 UTC
Driver bug, induced by QtQuick as used by the aurorae decoration engine.
The crashes should not occur with the breeze decoration.

It looks a hell lot like https://bugreports.qt.io/browse/QTBUG-50368, but that's about inactive X screens - is this on bare metal or some virtual machine, vnc etc.?

Also check whether all backtraces follow the same pattern or this may be a red herring on bug #352259.
Comment 2 gje968 2016-01-24 01:43:45 UTC
This is a completely native installation. Is there an update to aurorae or something that fixes this?
Comment 3 Thomas Lübking 2016-01-24 09:06:55 UTC
If the presented backtrace is legit (ie. they all look like this and this is not the result from some stack corruption, check other backtraces) the bug is in the nvidia driver, triggered by QtQuick. The arorae decoration can never workaround/fix/avoid it (execpt by dropping QtQuick as backend)

Because of the specific conditions, can you please attach the output of "qdbus org.kde.KWin /KWin supportInformation"
Comment 4 gje968 2016-01-24 23:27:54 UTC
FYI I'm using a GTX 960.
Output of "qdbus org.kde.KWin /KWin supportInformation": https://paste.kde.org/pfa68qbgi
Comment 5 Thomas Lübking 2016-01-24 23:45:51 UTC
> unredirectFullscreen: false
Nope.

btw, please leave the bug state as it is - whether the bug is in the nvidia blob or QtQuick - it's not in the aurorae engine (or any kwin)

As mentioned, resort to the breeze decoration to prevent running into this.
Comment 6 gje968 2016-01-25 00:06:23 UTC
I actually haven't moved it, that's where DrKonqui put it.

I don't see either of those under "component", and selecting qtcurve as the product (there is nothing for nvidia) still leaves only aurorae as the component. (I've never used this website before; can you tell? lol)
Comment 7 Thomas Lübking 2016-01-25 00:55:58 UTC
I meant the "resolved/upstream" condition - you kept reverting it to "unconfirmed"
Maybe mousewheel and stupid browser?
Could happen if wheeling over the "resolved" combobox alters it instead of scrolling the page - *shrug*
Comment 8 gje968 2016-01-26 22:25:49 UTC
Yea, probably. I didn't even notice that thing. I can confirm this doesn't happen with the Breeze theme, but I really don't like the way it looks. Do all themes I download use QtQuick? Is there any way to tell if a theme uses QtQuick or not?
Comment 9 Thomas Lübking 2016-01-26 22:29:03 UTC
(In reply to superrobowizard from comment #8)
> Do all themes I download use QtQuick?
Yes, sorry.
You can alter the size of the breeze deco (and some other things, run "breeze-settings5")
Comment 10 gje968 2016-01-27 00:50:49 UTC
So I'm stuck with a theme I don't like or a theme that crashes my window manager occasionally. This doesn't sound like a good deal to me.
Does only the desktop theme matter, only the window borders matter, or both?
Comment 11 Thomas Lübking 2016-01-27 09:22:41 UTC
It's a qtquick related issue and will affect at least all aurorae themes (and most likely the Plastik decoration as well) no matter of any further settings.
Comment 12 Thomas Lübking 2016-03-11 20:54:41 UTC
*** Bug 354467 has been marked as a duplicate of this bug. ***
Comment 13 Thomas Lübking 2016-03-11 20:55:05 UTC
*** Bug 360422 has been marked as a duplicate of this bug. ***
Comment 14 Thomas Lübking 2016-03-18 13:07:38 UTC
*** Bug 360703 has been marked as a duplicate of this bug. ***
Comment 15 Thomas Lübking 2016-03-20 21:48:52 UTC
*** Bug 360799 has been marked as a duplicate of this bug. ***
Comment 16 Thomas Lübking 2016-03-26 21:31:22 UTC
*** Bug 361023 has been marked as a duplicate of this bug. ***
Comment 17 Thomas Lübking 2016-03-27 17:40:46 UTC
*** Bug 361035 has been marked as a duplicate of this bug. ***
Comment 18 Thomas Lübking 2016-04-01 19:25:11 UTC
*** Bug 361287 has been marked as a duplicate of this bug. ***
Comment 19 Nick Stefanov 2016-04-25 20:29:01 UTC
Same here on Arch Linux with GTX980 and proprietary Nvidia driver.
Comment 20 Thomas Lübking 2016-05-04 07:06:04 UTC
*** Bug 362648 has been marked as a duplicate of this bug. ***
Comment 21 Thomas Lübking 2016-05-20 08:55:07 UTC
*** Bug 363312 has been marked as a duplicate of this bug. ***
Comment 22 Thomas Lübking 2016-06-01 19:21:27 UTC
*** Bug 363809 has been marked as a duplicate of this bug. ***
Comment 23 Thomas Lübking 2016-06-06 08:13:19 UTC
*** Bug 364008 has been marked as a duplicate of this bug. ***
Comment 24 Thomas Lübking 2016-06-12 22:11:04 UTC
*** Bug 364259 has been marked as a duplicate of this bug. ***
Comment 25 Thomas Lübking 2016-06-16 08:01:59 UTC
*** Bug 364368 has been marked as a duplicate of this bug. ***
Comment 26 Thomas Lübking 2016-07-15 21:35:11 UTC
*** Bug 365726 has been marked as a duplicate of this bug. ***
Comment 27 Thomas Lübking 2016-08-15 18:48:02 UTC
*** Bug 366794 has been marked as a duplicate of this bug. ***
Comment 28 Martin Flöser 2016-10-07 05:35:41 UTC
*** Bug 370229 has been marked as a duplicate of this bug. ***