Bug 199592 - kbluetooth4 crashes after resuming from suspend2ram
Summary: kbluetooth4 crashes after resuming from suspend2ram
Status: RESOLVED FIXED
Alias: None
Product: kde-bluetooth
Classification: Unmaintained
Component: kbluetoothd (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 20:37 UTC by Marc Schoechlin
Modified: 2011-01-29 17:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schoechlin 2009-07-09 20:37:22 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

After resuming from a suspend2ram kbluetooth4 crashes with SIGSEGV.

---
# dpkg -l |grep kdebluetooth
ii  kdebluetooth                    1:0.3-0ubuntu4                  KDE Bluetooth Framework
# uname -a
Linux lt-msch 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux
---

This also happens also if i start virtualbox or switch off the airplane switch (switches wifi and bluetooth off).
It seems that the applet cannot handle a disappearing bluetooth adapter.....

Please let me know if i can provide additional debug information or i I can test a patch for you.
Comment 1 aku.pietikainen 2009-12-22 09:57:40 UTC
Same problem here. Kbluetooth crashes maybe 30% of the time when resuming from suspend to ram. I'm not sure but it seems that running kbluetooth from gdb reduces the crashes.

# dpkg -l | grep kdebluetooth
ii  kdebluetooth                             1:0.4~rc1-0ubuntu2                                       KDE Bluetooth Framework
# uname -a
Linux T61ubuntu 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

Here is some gdb output I managed to get. First using my Logitech dinovo mini and later suspend to ram.

gdb kbluetooth
GNU gdb (GDB) 7.0-ubuntu       
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-linux-gnu".                               
For bug reporting instructions, please see:                                  
<http://www.gnu.org/software/gdb/bugs/>...                                   
Reading symbols from /usr/bin/kbluetooth...(no debugging symbols found)...done.
(gdb) run --nofork --nocrashhandler                                            
Starting program: /usr/bin/kbluetooth --nofork --nocrashhandler                
[Thread debugging using libthread_db enabled]                                  
AGENT registered !                                                             
[New Thread 0x7fffe882c910 (LWP 18282)]                                        
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Bluetooth Adapters                                                                                 
QApplication::qAppName: Please instantiate the QApplication object first                           
<unknown program name>(18287)/ KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-aku/ksycoca4"                                                                                                        
<unknown program name>(18287)/ kde4Factory: The library "/usr/lib/kde4/solid_bluez.so" does not offer a qt_plugin_instance function.                                                                                              
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)              
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)              
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)              
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
AGENT-RequestPinCode  "/org/bluez/15530/hci0/dev_00_07_61_E6_A8_37"
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
pinCode  "45678"

Program received signal SIGSEGV, Segmentation fault.
0x00000000007ec768 in ?? ()
Comment 2 Marc Schoechlin 2011-01-29 17:00:39 UTC
seems to be solved with kde 4.6