Bug 361058

Summary: Plasma crash after disconnecting bluetooth headphones
Product: [Plasma] plasmashell Reporter: Alex Ander <aalexandera>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Ander 2016-03-27 21:06:34 UTC
Application: plasmashell (5.5.4)

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

-- Information about the crash:
- What I was doing when the application crashed:
I've turned off my Nokia BH-905i headphones, which was connected to laptop.
And there was a music, which I heard from Youtube.
Bluetooth adapter is Qualcomm Atheros AR9462 (with WiFi)
Drivers came with OS, settings are not changed (Only headset got first priority between audio devices)

Today Plasma also crashed, when I had connected the headphones.

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 0x7f094e406800 (LWP 10257))]

Thread 16 (Thread 0x7f093ace9700 (LWP 10260)):
#0  0x00007f0948b0788d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f094cbd5bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f094cbd774f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f093d4647e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f093ace9700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f0933fff700 (LWP 10262)):
#0  0x00007f09491fc9b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f0949434d51 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094589cc21 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f094589d190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f094589d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f094943550b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f09493dc50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f09491f8ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f094baa6c35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f09482e96aa in start_thread (arg=0x7f0933fff700) at pthread_create.c:333
#11 0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f0927342700 (LWP 10263)):
#0  0x00007f0948ad6bed in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0948b09e34 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32
#2  0x00007f092b645d00 in ?? () from /usr/lib/dri/fglrx_dri.so
#3  0x00007f092ad46332 in ?? () from /usr/lib/dri/fglrx_dri.so
#4  0x00007f092ad46385 in ?? () from /usr/lib/dri/fglrx_dri.so
#5  0x00007f09482e96aa in start_thread (arg=0x7f0927342700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f0925b28700 (LWP 10264)):
#0  0x00007f094589c80f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f094589d11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f094589d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f094943550b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f09493dc50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09491f8ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f094baa6c35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f09482e96aa in start_thread (arg=0x7f0925b28700) at pthread_create.c:333
#9  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f091fc5f700 (LWP 10265)):
#0  0x00007f0948b0788d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f094589d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f094589d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f094943550b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f09493dc50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09491f8ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f094baa6c35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f09482e96aa in start_thread (arg=0x7f091fc5f700) at pthread_create.c:333
#9  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f091e352700 (LWP 10266)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f094de4f194 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f094de4f1d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f09482e96aa in start_thread (arg=0x7f091e352700) at pthread_create.c:333
#4  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f08936fa700 (LWP 10267)):
#0  0x00007f094943351f in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f09494348ee in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094589c77d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f094589d11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f094589d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f094943550b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f09493dc50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f09491f8ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f094c42f2a6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f09482e96aa in start_thread (arg=0x7f08936fa700) at pthread_create.c:333
#11 0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f08926cf700 (LWP 10268)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f08926cf700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f087c646700 (LWP 10269)):
#0  0x00007f0948b0788d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f094589d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f094589d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f094943550b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f09493dc50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09491f8ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f087e8dd8f7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f09482e96aa in start_thread (arg=0x7f087c646700) at pthread_create.c:333
#9  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f087b732700 (LWP 10272)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f087b732700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f08697bf700 (LWP 10490)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f08697bf700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f0868bac700 (LWP 10725)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f0868bac700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f08618ff700 (LWP 14384)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f08618ff700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f085ba22700 (LWP 14386)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f085ba22700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f0859f97700 (LWP 14680)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09491fed0b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f094c4a4d6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f094c4a55f3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f09491fda6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09482e96aa in start_thread (arg=0x7f0859f97700) at pthread_create.c:333
#6  0x00007f0948b12e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f094e406800 (LWP 10257)):
[KCrash Handler]
#6  KXErrorHandler::handle (this=0x91, dpy=0xe93f90, e=0x7ffddac67b70) at ../../../../src/platforms/xcb/kxerrorhandler.cpp:109
#7  0x00007f09382d3afe in KXErrorHandler::handler_wrapper (dpy=<optimized out>, e=<optimized out>) at ../../../../src/platforms/xcb/kxerrorhandler.cpp:102
#8  0x00007f094ce2cc4d in _XError (dpy=dpy@entry=0xe93f90, rep=rep@entry=0x7f09340032b0) at ../../src/XlibInt.c:1429
#9  0x00007f094ce29ad7 in handle_error (dpy=0xe93f90, err=0x7f09340032b0, in_XReply=<optimized out>) at ../../src/xcb_io.c:213
#10 0x00007f094ce29b95 in handle_response (dpy=dpy@entry=0xe93f90, response=0x7f09340032b0, in_XReply=in_XReply@entry=1) at ../../src/xcb_io.c:325
#11 0x00007f094ce2aae5 in _XReply (dpy=dpy@entry=0xe93f90, rep=rep@entry=0x7ffddac67d60, extra=extra@entry=0, discard=discard@entry=0) at ../../src/xcb_io.c:648
#12 0x00007f093d022f32 in XIQueryDevice (dpy=0xe93f90, deviceid=0, ndevices_return=0x7ffddac67e28) at ../../src/XIQueryDevice.c:60
#13 0x00007f093d48d2cb in QXcbConnection::xi2SetupDevices() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007f093d490558 in QXcbConnection::xi2HandleHierachyEvent(void*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#15 0x00007f093d49088b in QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007f093d468b65 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#17 0x00007f093d469003 in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007f094940e7b1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f0949ee39dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f0949ee8ea6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f09493ded7b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f09493e1176 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f09494350e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f094589cff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f094589d250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f094589d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f09494354ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f09493dc50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f09493e45ec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x000000000043258a in main (argc=4, argv=<optimized out>) at ../../shell/main.cpp:181

Possible duplicates by query: bug 359036, bug 356264, bug 355016, bug 354118, bug 353831.

Reported using DrKonqi
Comment 1 David Edmundson 2016-03-29 00:01:42 UTC

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