Bug 360814

Summary: Plasma crahes on opening while using sudo in yakuake
Product: [Plasma] plasmashell Reporter: Daniel <kde>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel 2016-03-21 14:13:06 UTC
Application: plasmashell (5.4.2)

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

-- Information about the crash:
I was starting some sudo commands to clean and update system. Perhaps it's the thinkpad-fingerprint-reader (Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor)
Crash does not appear every time using sudo commands, so it is not really reproducable.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd5f4bfd800 (LWP 1593))]

Thread 8 (Thread 0x7fd5e00e1700 (LWP 1596)):
#0  0x00007fd5ef3ac88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd5f33f3bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd5f33f574f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd5e242ba39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007fd5efa9f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd5eeb8e6aa in start_thread (arg=0x7fd5e00e1700) at pthread_create.c:333
#6  0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fd5dda40700 (LWP 1640)):
#0  0x00007fd5ef3ac88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd5ec1591ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5ec1592fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5efcd629b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd5efc7c75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd5efa9a3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd5f22c2f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fd5efa9f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd5eeb8e6aa in start_thread (arg=0x7fd5dda40700) at pthread_create.c:333
#9  0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fd5ce434700 (LWP 1651)):
#0  0x00007fd5ec19d869 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd5ec158789 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5ec15911b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5ec1592fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd5efcd629b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd5efc7c75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd5efa9a3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd5f22c2f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fd5efa9f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd5eeb8e6aa in start_thread (arg=0x7fd5ce434700) at pthread_create.c:333
#10 0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fd5c77fe700 (LWP 1656)):
#0  0x00007fd5ec1590cc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd5ec1592fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5efcd629b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd5efc7c75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd5efa9a3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd5f22c2f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fd5efa9f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd5eeb8e6aa in start_thread (arg=0x7fd5c77fe700) at pthread_create.c:333
#8  0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fd5c63ba700 (LWP 1668)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd5f464e114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fd5f464e159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fd5eeb8e6aa in start_thread (arg=0x7fd5c63ba700) at pthread_create.c:333
#4  0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd5be7e1700 (LWP 1802)):
#0  0x00007fd5ec19d869 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd5ec1592e8 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5efcd629b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd5efc7c75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd5efa9a3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd5f2c3eef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fd5efa9f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd5eeb8e6aa in start_thread (arg=0x7fd5be7e1700) at pthread_create.c:333
#8  0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd52f5c8700 (LWP 1832)):
#0  0x00007fd5efcd4222 in QTimerInfoList::repairTimersIfNeeded() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fd5efcd42a3 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fd5efcd567e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd5ec15877d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd5ec15911b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd5ec1592fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fd5efcd629b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd5efc7c75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd5efa9a3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd53185f8f7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#10 0x00007fd5efa9f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd5eeb8e6aa in start_thread (arg=0x7fd52f5c8700) at pthread_create.c:333
#12 0x00007fd5ef3b7e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd5f4bfd800 (LWP 1593)):
[KCrash Handler]
#6  brw_meta_fast_clear (brw=brw@entry=0x2c8dfb8, fb=fb@entry=0x70400e0, buffers=buffers@entry=34, partial_clear=partial_clear@entry=false) at ../../../../../../../src/mesa/drivers/dri/i965/brw_meta_fast_clear.c:451
#7  0x00007fd5d720fdcc in brw_clear (ctx=0x2c8dfb8, mask=34) at ../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:247
#8  0x00007fd5f2c7137a in QSGBatchRenderer::Renderer::renderBatches() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fd5f2c75b3a in QSGBatchRenderer::Renderer::render() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fd5f2c80a1c in QSGRenderer::renderScene(QSGBindable const&) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fd5f2c80e9b in QSGRenderer::renderScene(unsigned int) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fd5f2c8f5be in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007fd5f2cd920c in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fd5f2ca9bac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fd5f2caa6d1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007fd5f075cb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fd5f0762230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fd5efc7ef1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fd5efcd509d in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fd5efcd55d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fd5ec158ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fd5ec159250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fd5ec1592fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fd5efcd627f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fd5efc7c75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fd5efc842cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00000000004322c3 in main (argc=2, argv=<optimized out>) at ../../shell/main.cpp:176

Possible duplicates by query: bug 360546, bug 359885, bug 359696, bug 359432, bug 359395.

Reported using DrKonqi
Comment 1 David Edmundson 2016-03-21 18:52:54 UTC
#7 0x00007fd5d720fdcc in brw_clear (ctx=0x2c8dfb8, mask=34) at ../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:247


This is crashing in your graphic driver which we can't do much about.

Please upgrade/downgrade your version of mesa. See information (including a workaround) in the linked report.

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