Bug 347734

Summary: System Settings closed unexpectedly as soon as I clicked Workspace Appearance/Windows Decoration button.
Product: [Plasma] kwin Reporter: Paul <Frisbe>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.2.0.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul 2015-05-14 21:56:23 UTC
Application: systemsettings5 (5.2.0)

Qt Version: 5.4.0
Operating System: Linux 3.16.0-37-generic x86_64
Distribution: Netrunner 15 (Prometheus)

-- Information about the crash:
I had went into System Settings/Workspace Appearance/Window Decorations. As soon as the button was pressed, the crash occurs. It will repeat over and over again. I will reboot after submitting this bug and if it continues, I will update. At the time this crash occured, I had Chrome Browser Version 42.0.2311.152 (64-bit) open streaming Netflix. qBittorrent v3.1.9.2 was also running at the time.I had just previously set it to Oxygen in Styles.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f42237907c0 (LWP 757))]

Thread 5 (Thread 0x7f4212bd3700 (LWP 758)):
#0  0x00007f421ff1e84d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f421ec71b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f421ec7364f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4215963f69 in QXcbEventReader::run (this=0x25a8360) at qxcbconnection.cpp:1111
#4  0x00007f42205a5e4e in QThreadPrivate::start (arg=0x25a8360) at thread/qthread_unix.cpp:337
#5  0x00007f421db8f0a5 in start_thread (arg=0x7f4212bd3700) at pthread_create.c:309
#6  0x00007f421ff28cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f41fb531700 (LWP 768)):
#0  0x00007f421ff1a55d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f421a153ec1 in ?? () from /usr/lib/nvidia-331/tls/libnvidia-tls.so.331.113
#2  0x00007f421d6b2ed0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f421d66f96c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f421d66fe83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f421d66fffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f422083628c in QEventDispatcherGlib::processEvents (this=0x7f41f40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007f42207dc8d2 in QEventLoop::exec (this=this@entry=0x7f41fb530de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f42205a1074 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f41fba012c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f42205a5e4e in QThreadPrivate::start (arg=0x2a1d370) at thread/qthread_unix.cpp:337
#11 0x00007f421db8f0a5 in start_thread (arg=0x7f41fb531700) at pthread_create.c:309
#12 0x00007f421ff28cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f41f36fe700 (LWP 769)):
#0  0x00007f421d66cf10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f421d66f40b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f421d66fe0b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f421d66fffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f422083628c in QEventDispatcherGlib::processEvents (this=0x7f41ec0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007f42207dc8d2 in QEventLoop::exec (this=this@entry=0x7f41f36fdde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f42205a1074 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f41fba012c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f42205a5e4e in QThreadPrivate::start (arg=0x2fd73e0) at thread/qthread_unix.cpp:337
#9  0x00007f421db8f0a5 in start_thread (arg=0x7f41f36fe700) at pthread_create.c:309
#10 0x00007f421ff28cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f41f1483700 (LWP 770)):
[KCrash Handler]
#5  0x00007f421fe65e37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007f421fe67528 in __GI_abort () at abort.c:89
#7  0x00007f421fe5ece6 in __assert_fail_base (fmt=0x7f421ffaec08 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f421f139db8 "!xcb_xlib_too_much_data_requested", file=file@entry=0x7f421f13996b "../../src/xcb_io.c", line=line@entry=736, function=function@entry=0x7f421f139de0 <__PRETTY_FUNCTION__.14581> "_XRead") at assert.c:92
#8  0x00007f421fe5ed92 in __GI___assert_fail (assertion=assertion@entry=0x7f421f139db8 "!xcb_xlib_too_much_data_requested", file=file@entry=0x7f421f13996b "../../src/xcb_io.c", line=line@entry=736, function=function@entry=0x7f421f139de0 <__PRETTY_FUNCTION__.14581> "_XRead") at assert.c:101
#9  0x00007f421f0c9b55 in _XRead (dpy=0x2598a80, data=<optimized out>, size=<optimized out>) at ../../src/xcb_io.c:735
#10 0x00007f421cccffde in ?? () from /usr/lib/nvidia-331/libGL.so.1
#11 0x00007f42212f6d65 in (anonymous namespace)::Resolver<QOpenGLFunctionsPrivate, void (*)(int, unsigned int*), 3, void>::operator()<int, unsigned int*> (this=this@entry=0x7f41f14808e0, p1=p1@entry=1, p2=p2@entry=0x7f41f1480934) at opengl/qopenglfunctions.cpp:2343
#12 0x00007f42212f7252 in qopenglfResolveGenBuffers (n=1, buffers=0x7f41f1480934) at opengl/qopenglfunctions.cpp:2834
#13 0x00007f4221307fcd in glGenBuffers (buffers=0x7f41f1480934, n=1, this=0x7f41e4015a10) at ../../include/QtGui/5.4.0/QtGui/private/../../../../../src/gui/opengl/qopenglfunctions.h:1407
#14 QOpenGLBuffer::create (this=this@entry=0x7f41e4013c68) at opengl/qopenglbuffer.cpp:288
#15 0x00007f4221328d58 in QOpenGLTextureGlyphCache::createTextureData (this=0x7f41e4013b50, width=256, height=16) at opengl/qopengltextureglyphcache.cpp:153
#16 0x00007f42212aee9c in createCache (height=<optimized out>, width=<optimized out>, this=0x7f41e4013b50) at painting/qtextureglyphcache_p.h:118
#17 QTextureGlyphCache::fillInPendingGlyphs (this=0x7f41e4013b50) at painting/qtextureglyphcache.cpp:242
#18 0x00007f4200201633 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#19 0x00007f42001ff74c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#20 0x00007f420028b267 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007f4200290795 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007f420028c157 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007f420028a8b1 in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#24 0x00007f4200244def in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#25 0x00007f4200245bab in QQuickWindowPrivate::updateDirtyNodes() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#26 0x00007f4200246450 in QQuickWindowPrivate::syncSceneGraph() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#27 0x00007f42002183d0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#28 0x00007f4200218ed1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#29 0x00007f420021a120 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#30 0x00007f42205a5e4e in QThreadPrivate::start (arg=0x32568c0) at thread/qthread_unix.cpp:337
#31 0x00007f421db8f0a5 in start_thread (arg=0x7f41f1483700) at pthread_create.c:309
#32 0x00007f421ff28cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f42237907c0 (LWP 757)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f42205a6fab in wait (time=18446744073709551615, this=0x2f9fd80) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3256900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007f420021b9d8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f420021e7eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f420021f06a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f422100f485 in QWindow::event (this=0x2953190, ev=<optimized out>) at kernel/qwindow.cpp:2046
#7  0x00007f42002500e3 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f42215bcd3c in QApplicationPrivate::notify_helper (this=0x257a780, receiver=0x2953190, e=0x7fffe9c3ddb0) at kernel/qapplication.cpp:3722
#9  0x00007f42215c2330 in QApplication::notify (this=0x7fffe9c3e1b0, receiver=0x2953190, e=0x7fffe9c3ddb0) at kernel/qapplication.cpp:3505
#10 0x00007f42207df03b in QCoreApplication::notifyInternal (this=0x7fffe9c3e1b0, receiver=receiver@entry=0x2953190, event=event@entry=0x7fffe9c3ddb0) at kernel/qcoreapplication.cpp:932
#11 0x00007f4221007c86 in sendSpontaneousEvent (event=0x7fffe9c3ddb0, receiver=0x2953190) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#12 QGuiApplicationPrivate::processExposeEvent (e=0x3401380) at kernel/qguiapplication.cpp:2635
#13 0x00007f422100890d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x3401380) at kernel/qguiapplication.cpp:1663
#14 0x00007f4220fee09f in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#15 0x00007f421598cff0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#16 0x00007f421d66fc5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f421d66ff48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f421d66fffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f4220836277 in QEventDispatcherGlib::processEvents (this=0x25edc20, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#20 0x00007f42207dc8d2 in QEventLoop::exec (this=this@entry=0x7fffe9c3e090, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#21 0x00007f42207e437c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
#22 0x00007f4220ffebcc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1535
#23 0x00007f42215b8df5 in QApplication::exec () at kernel/qapplication.cpp:2956
#24 0x000000000040e81c in main (argc=1, argv=<optimized out>) at ../../app/main.cpp:54

Reported using DrKonqi
Comment 1 Paul 2015-05-14 22:09:23 UTC
Reboot cleared issue and could not replicate.
Comment 2 Thomas Lübking 2015-05-16 20:02:45 UTC
#10 0x00007f421cccffde in ?? () from /usr/lib/nvidia-331/libGL.so.1
#9  0x00007f421f0c9b55 in _XRead (dpy=0x2598a80, data=<optimized out>, size=<optimized out>) at ../../src/xcb_io.c:735
#8  0x00007f421fe5ed92 in __GI___assert_fail (assertion=assertion@entry=0x7f421f139db8 "!xcb_xlib_too_much_data_requested", file=file@entry=0x7f421f13996b "../../src/xcb_io.c", line=line@entry=736, function=function@entry=0x7f421f139de0 <__PRETTY_FUNCTION__.14581> "_XRead") at assert.c:101
#7  0x00007f421fe5ece6 in __assert_fail_base (fmt=0x7f421ffaec08 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f421f139db8 "!xcb_xlib_too_much_data_requested", file=file@entry=0x7f421f13996b "../../src/xcb_io.c", line=line@entry=736, function=function@entry=0x7f421f139de0 <__PRETTY_FUNCTION__.14581> "_XRead") at assert.c:92


Nvidia blob _XRead call hits an X11 limit and aborts.
However, according to https://bugreports.qt.io/browse/QTCREATORBUG-13755, a problem with the update process (netrunner is based on kubuntu is based on ubuntu), so rather a downstream bug than an upstream one.

This supports your experience (update process + reboot), so marking downstream.