Bug 268670

Summary: [PATCH] Bluedevil crashes when logging in with bluetooth controller disabled
Product: [Frameworks and Libraries] solid Reporter: Lamarque V. Souza <lamarque>
Component: bluetoothAssignee: Alex Fiestas <afiestas>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Crashlog of bluedevil crashing at login with bluetooth controller disabled
fix to the crash problem.

Description Lamarque V. Souza 2011-03-16 18:44:04 UTC
Created attachment 58102 [details]
Crashlog of bluedevil crashing at login with bluetooth controller disabled

Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

My notebook starts with bluetooth controller disables, if I login in that situation Bluedevil crashes (I will attach the crash log). If I enable the bluetoth controller before loging in it works as expected.

Reproducible: Always

Steps to Reproduce:
1. Log out KDE session
2. Disable bluetooth controller
3. Log in KDE session

Actual Results:  
Bluedevil crashes at login

Expected Results:  
Bludevil does not crashes at login
Comment 1 Lamarque V. Souza 2011-03-16 18:45:50 UTC
Created attachment 58103 [details]
fix to the crash problem.

It seems the DBus reply can be invalid when bluez is not running, which is the case when the bluetooth controller is disabled.
Comment 2 Lamarque V. Souza 2011-03-18 01:57:34 UTC
Git commit 1307ca7081d995a31fd8f86aa6560fbab770a5d2 by Lamarque V. Souza.
Committed on 18/03/2011 at 01:55.
Pushed by lvsouza into branch 'master'.

Fix Bluedevil crashes when logging in with bluetooth controller disabled

BUG: 268670

M  +8    -2    bluedevil/bluedevilmanager.cpp     

http://commits.kde.org/libbluedevil/1307ca7081d995a31fd8f86aa6560fbab770a5d2