Bug 342210 - Bluedevil crashes when waking up from Hibernation
Summary: Bluedevil crashes when waking up from Hibernation
Status: RESOLVED FIXED
Alias: None
Product: Bluedevil
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-12-25 21:27 UTC by Robert Hoffmann
Modified: 2015-03-31 16:55 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 Robert Hoffmann 2014-12-25 21:27:33 UTC
Application: bluedevil-wizard (2.0.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.6-300.fc21.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
1. I am running Xfce (not KDE). (Xfce does not slow down over time)
2. I have a Bluetooth Mouse.
3. Usually I Hibernate the Laptop (Sony VAIO Z) every night.
4. When I wake the laptop up, Bluedevil Wizard crashes.
5. It obviously does not let me connect with the Bluetooth mouse.
6. Using the trackpad, if I then choose to Restart the Application, it will ask me then to choose a device to connect to, so I choose the mouse, which it recognizes.
7. The mouse then works fine.

- Custom settings of the application:
1. Maybe due to running Xfce ?

-- Backtrace:
Application: Bluetooth Wizard (bluedevil-wizard), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x0000003658214011 in BlueDevil::Adapter::deviceForAddress(QString const&) () at /lib64/libbluedevil.so.2
#6  0x0000000000409f75 in BlueWizard::setDeviceAddress(QByteArray const&) ()
#7  0x000000000040d2de in DiscoverPage::itemSelected(QListWidgetItem*) ()
#8  0x0000003660d9a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#9  0x0000003663753acb in QListWidget::currentItemChanged(QListWidgetItem*, QListWidgetItem*) () at /lib64/libQtGui.so.4
#10 0x0000003663753c4c in QListWidgetPrivate::_q_emitCurrentItemChanged(QModelIndex const&, QModelIndex const&) () at /lib64/libQtGui.so.4
#11 0x0000003660d9a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#12 0x0000003663741e1a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () at /lib64/libQtGui.so.4
#13 0x0000003663741f8f in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /lib64/libQtGui.so.4
#14 0x0000003663752e08 in QListWidget::setCurrentRow(int) () at /lib64/libQtGui.so.4
#15 0x000000000040d9ea in DiscoverPage::deviceFound(BlueDevil::Device*) ()
#16 0x0000003660d9a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#17 0x00000036582165da in BlueDevil::Device::propertyChanged(QString const&, QVariant const&) () at /lib64/libbluedevil.so.2
#18 0x0000003658217443 in BlueDevil::Device::Private::_k_propertyChanged(QString const&, QMap<QString, QVariant> const&, QStringList const&) () at /lib64/libbluedevil.so.2
#19 0x0000003660d9a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#20 0x00000036582194bc in OrgFreedesktopDBusPropertiesInterface::PropertiesChanged(QString const&, QMap<QString, QVariant> const&, QStringList const&) () at /lib64/libbluedevil.so.2
#21 0x000000365821972d in OrgFreedesktopDBusPropertiesInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libbluedevil.so.2
#22 0x0000003658219c93 in OrgFreedesktopDBusPropertiesInterface::qt_metacall(QMetaObject::Call, int, void**) () at /lib64/libbluedevil.so.2
#23 0x0000003661624656 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () at /lib64/libQtDBus.so.4
#24 0x0000003660d9e951 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#25 0x00000036631c7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#26 0x00000036631ce958 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#27 0x000000366584e9ea in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#28 0x0000003660d8570d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#29 0x0000003660d889d1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQtCore.so.4
#30 0x0000003660db48ae in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#31 0x0000003653249aeb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#32 0x0000003653249e88 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#33 0x0000003653249f3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#34 0x0000003660db4a1e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#35 0x000000366326b136 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#36 0x0000003660d84261 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#37 0x0000003660d845c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#38 0x0000003660d89ca9 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#39 0x00000000004087f8 in main ()

Possible duplicates by query: bug 341033, bug 329403.

Reported using DrKonqi
Comment 1 James W 2014-12-31 06:48:57 UTC
Hi there,
Do you have the most recent version of bluedevil in the repos? This looks exactly the same as bug 329403, which was fixed in March (and Fedora has a git snapshot from late June).

(note: I'm a Google Code-in student)
Comment 2 Robert Hoffmann 2014-12-31 14:41:20 UTC
Hello James,

well, I have analyzed it a bit more.  
1. This only happens on Hibernate, not Suspend.
2. I am running the latest update of Fedora 21 x86_64
3. Good News: I was able to "somewhat" get rid of the bug, by removing all my .config folders while logged out (logged in via ssh from another laptop), and upon logging in, the Bug Report tool still launches (meaning something still crashes), however, the mouse reconnects right away. 
--> Maybe I would suggest a check for old configs in the applet, and a "clean" button, before the first start.
Maybe this should not be limited to the Bluedevil applet, but be part of the actual Desktop (Xfce, Gnome,KDE, LXDM, etc), upon OS update.

But I do think a small bug still exists, at least when running Xfce. I have not tried it on Gnome or KDE, or LXDE.

cheers

BobX



On Wed, 31 Dec 2014 06:48:57 +0000
James W <jwrigley7@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=342210
> 
> James W <jwrigley7@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |jwrigley7@gmail.com
> 
> --- Comment #1 from James W <jwrigley7@gmail.com> ---
> Hi there,
> Do you have the most recent version of bluedevil in the repos? This looks
> exactly the same as bug 329403, which was fixed in March (and Fedora has a git
> snapshot from late June).
> 
> (note: I'm a Google Code-in student)
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 David Rosca 2015-01-01 11:13:13 UTC
This should be fixed in Bluedevil 2.1 which is not yet in Fedora 21.
Comment 4 Rex Dieter 2015-01-01 17:57:59 UTC
fyi, still in -testing
https://admin.fedoraproject.org/updates/FEDORA-2014-17010

should get moved to stable updates relatively soon.
Comment 5 David Rosca 2015-03-31 16:55:03 UTC
This is fixed in Bluedevil 2.1