Bug 354243 - Plasma crashes when bluetooth connection failed
Summary: Plasma crashes when bluetooth connection failed
Status: RESOLVED DUPLICATE of bug 349519
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-23 08:08 UTC by Ruth Cheesley
Modified: 2015-10-24 08:26 UTC (History)
2 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 Ruth Cheesley 2015-10-23 08:08:21 UTC
Application: plasmashell (5.4.2)

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

-- Information about the crash:
- What I was doing when the application crashed:
Tried to connect to a paired Bluetooth device which was unavailable (it was paired to another device at the time).  When the popup showed device not available and I clicked to proceed, plasma crashed.

-- 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 0x7f6d4e776800 (LWP 1952))]

Thread 7 (Thread 0x7f6d335ef700 (LWP 2014)):
#0  0x00007f6d48f228dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6d45ccf1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6d45ccf2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6d4984c29b in QEventDispatcherGlib::processEvents (this=0x7f6d2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f6d497f275a in QEventLoop::exec (this=this@entry=0x7f6d335eeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f6d496103d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f6d4be38f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f6d496152be in QThreadPrivate::start (arg=0x132fad0) at thread/qthread_unix.cpp:337
#8  0x00007f6d487046aa in start_thread (arg=0x7f6d335ef700) at pthread_create.c:333
#9  0x00007f6d48f2deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f6d27fcf700 (LWP 2047)):
#0  0x00007f6d4960d4ea in QBasicAtomicOps<8>::testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x1323028: 0x1) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:259
#1  QGenericAtomicOps<QBasicAtomicOps<8> >::testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=@0x1323028: 0x1) at ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:166
#2  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x1323028, this@entry=0x1) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:270
#3  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x1323028, this@entry=0x1) at thread/qmutex.h:82
#4  QMutex::lock (this=this@entry=0x1323028) at thread/qmutex.cpp:212
#5  0x00007f6d4984b81f in QMutexLocker::QMutexLocker (m=0x1323028, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#6  QThreadData::canWaitLocked (this=0x1323000) at ../../include/QtCore/5.4.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:243
#7  postEventSourcePrepare (s=0x7f6d200012d0, timeout=0x7f6d27fcebe4) at kernel/qeventdispatcher_glib.cpp:254
#8  0x00007f6d45cce77d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6d45ccf11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6d45ccf2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f6d4984c29b in QEventDispatcherGlib::processEvents (this=0x7f6d200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#12 0x00007f6d497f275a in QEventLoop::exec (this=this@entry=0x7f6d27fceda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007f6d496103d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#14 0x00007f6d4be38f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007f6d496152be in QThreadPrivate::start (arg=0x167a250) at thread/qthread_unix.cpp:337
#16 0x00007f6d487046aa in start_thread (arg=0x7f6d27fcf700) at pthread_create.c:333
#17 0x00007f6d48f2deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f6d257c9700 (LWP 2063)):
#0  0x00007f6d45d13884 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6d45cce770 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6d45ccf11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6d45ccf2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6d4984c29b in QEventDispatcherGlib::processEvents (this=0x7f6d1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f6d497f275a in QEventLoop::exec (this=this@entry=0x7f6d257c8da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f6d496103d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f6d4be38f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f6d496152be in QThreadPrivate::start (arg=0x187b9e0) at thread/qthread_unix.cpp:337
#9  0x00007f6d487046aa in start_thread (arg=0x7f6d257c9700) at pthread_create.c:333
#10 0x00007f6d48f2deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f6d17df7700 (LWP 2064)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6d4e1c4114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f6d4e1c4159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f6d487046aa in start_thread (arg=0x7f6d17df7700) at pthread_create.c:333
#4  0x00007f6d48f2deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f6c94a27700 (LWP 2070)):
#0  0x00007f6d48f228dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6d45ccf1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6d45ccf2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6d4984c29b in QEventDispatcherGlib::processEvents (this=0x7f6c900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f6d497f275a in QEventLoop::exec (this=this@entry=0x7f6c94a26d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f6d496103d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f6d4c7b4ef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f6d496152be in QThreadPrivate::start (arg=0x1e1b6c0) at thread/qthread_unix.cpp:337
#8  0x00007f6d487046aa in start_thread (arg=0x7f6c94a27700) at pthread_create.c:333
#9  0x00007f6d48f2deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f6c829e7700 (LWP 2080)):
#0  0x00007f6d48f228dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6d45ccf1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6d45ccf2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6d4984c29b in QEventDispatcherGlib::processEvents (this=0x7f6c7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f6d497f275a in QEventLoop::exec (this=this@entry=0x7f6c829e6d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f6d496103d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f6c84c818f7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f6d496152be in QThreadPrivate::start (arg=0x4338b50) at thread/qthread_unix.cpp:337
#8  0x00007f6d487046aa in start_thread (arg=0x7f6c829e7700) at pthread_create.c:333
#9  0x00007f6d48f2deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f6d4e776800 (LWP 1952)):
[KCrash Handler]
#6  brw_meta_fast_clear (brw=brw@entry=0x2555b98, fb=fb@entry=0x537c780, buffers=buffers@entry=34, partial_clear=partial_clear@entry=false) at ../../../../../../../src/mesa/drivers/dri/i965/brw_meta_fast_clear.c:451
#7  0x00007f6d30cd3dcc in brw_clear (ctx=0x2555b98, mask=34) at ../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:247
#8  0x00007f6d4c7e737a in QSGBatchRenderer::Renderer::renderBatches() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f6d4c7ebb3a in QSGBatchRenderer::Renderer::render() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f6d4c7f6a1c in QSGRenderer::renderScene(QSGBindable const&) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f6d4c7f6e9b in QSGRenderer::renderScene(unsigned int) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f6d4c8055be in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f6d4c84f20c in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007f6d4c81fbac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007f6d4c8206d1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f6d4a2d2b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1250680, receiver=receiver@entry=0x152b270, e=e@entry=0x7ffcd7f03af0) at kernel/qapplication.cpp:3720
#17 0x00007f6d4a2d8230 in QApplication::notify (this=0x7ffcd7f03eb0, receiver=0x152b270, e=0x7ffcd7f03af0) at kernel/qapplication.cpp:3503
#18 0x00007f6d497f4f1b in QCoreApplication::notifyInternal (this=0x7ffcd7f03eb0, receiver=0x152b270, event=event@entry=0x7ffcd7f03af0) at kernel/qcoreapplication.cpp:935
#19 0x00007f6d4984b09d in QCoreApplication::sendEvent (event=0x7ffcd7f03af0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#20 QTimerInfoList::activateTimers (this=0x12869f0) at kernel/qtimerinfo_unix.cpp:635
#21 0x00007f6d4984b5a1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 0x00007f6d45cceff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f6d45ccf250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f6d45ccf2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f6d4984c29b in QEventDispatcherGlib::processEvents (this=0x1295620, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#26 0x00007f6d497f275a in QEventLoop::exec (this=this@entry=0x7ffcd7f03d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007f6d497fa2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#28 0x00007f6d49b0f00c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#29 0x00007f6d4a2cf025 in QApplication::exec () at kernel/qapplication.cpp:2956
#30 0x00000000004322c3 in main (argc=4, argv=<optimized out>) at ../../shell/main.cpp:176

Possible duplicates by query: bug 354155, bug 353609, bug 352979, bug 352972, bug 352694.

Reported using DrKonqi
Comment 1 David Edmundson 2015-10-24 08:26:14 UTC
#7 0x00007f6d30cd3dcc in brw_clear (ctx=0x2555b98, mask=34) at ../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:247

Nothing to do wtih bluetooth I'm afraid.

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 ***