Summary: | plasmashell crashed upon login | ||
---|---|---|---|
Product: | [Plasma] Bluedevil | Reporter: | Christopher <cjwckde> |
Component: | general | Assignee: | David Rosca <nowrep> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bhush94, notmart, plasma-bugs |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.3.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/bluez-qt/c368e3318d5ff93cd6e6b11be97896c0b39e67fc | Version Fixed In: | |
Attachments: | Make sure adapter is only removed with no devices |
Description
Christopher
2015-06-19 02:33:08 UTC
bluetooth applet related Thread 1 (Thread 0x7fcfad35e7c0 (LWP 545)): [KCrash Handler] #5 isEmpty (this=0x69007400720085) at /usr/include/qt/QtCore/qhash.h:816 #6 QHash<QString, DeclarativeDevice*>::take (this=0x69007400720085, akey=...) at /usr/include/qt/QtCore/qhash.h:818 #7 0x00007fce8d9d9824 in DeclarativeManager::slotDeviceRemoved (this=0x5a14c60, device=...) at /tmp/pacaurtmp-christopher/bluez-qt-git/src/bluez-qt/src/imports/declarativemanager.cpp:179 #8 0x00007fce8d9d9c9d in call (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:500 #9 call<QtPrivate::List<QSharedPointer<BluezQt::Device> >, void> (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:519 What version of bluez-qt do you have? Created attachment 93321 [details]
Make sure adapter is only removed with no devices
Can you please test this patch?
Git commit c368e3318d5ff93cd6e6b11be97896c0b39e67fc by David Rosca. Committed on 29/06/2015 at 12:41. Pushed by drosca into branch 'master'. Remove all devices from adapter before removing the adapter This fixes crash in DeclarativeManager when org.bluez.Adapter1 interface removed signal is received before all devices from adapter were removed. M +62 -2 autotests/managertest.cpp M +2 -1 autotests/managertest.h M +70 -0 autotests/qml/tst_manager.qml M +7 -1 src/manager_p.cpp http://commits.kde.org/bluez-qt/c368e3318d5ff93cd6e6b11be97896c0b39e67fc |