Bug 207765 - bluetooth crashes on upgrade
Summary: bluetooth crashes on upgrade
Status: RESOLVED DUPLICATE of bug 199044
Alias: None
Product: kde-bluetooth
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Tom Patzig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 10:55 UTC by Chris Gadd
Modified: 2009-09-19 18:31 UTC (History)
1 user (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 Chris Gadd 2009-09-18 10:55:41 UTC
Application that crashed: kbluetooth4
Version of the application: 0.3
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Upgrading bluez broke apt-get because my bluetooth dongle wasn't plugged in. After plugging it in and trying upgrade again it crashed bluetooth.
apt-get with dongle unplugged (kdebluetooth running, but no icon):
Reading package lists... Done                                                                                                     
Building dependency tree                                                                                                          
Reading state information... Done                                                                                                 
The following packages will be upgraded:                                                                                          
  bluez                                                                                                                           
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                                                                    
Need to get 0B/393kB of archives.                                                                                                 
After this operation, 135kB of additional disk space will be used.                                                                
Do you want to continue [Y/n]? y                                                                                                  
(Reading database ... 137097 files and directories currently installed.)                                                          
Preparing to replace bluez 4.53-0ubuntu1 (using .../bluez_1%3a4.39-0ubuntu2_i386.deb) ...                                         
 * Stopping bluetooth                                                                                                             bluetoothd: no process killed                                                                                                     
invoke-rc.d: initscript bluetooth, action "stop" failed.                                                                          
dpkg: warning - old pre-removal script returned error exit status 1                                                               
dpkg - trying script from the new package instead ...                                                                             
 * Stopping bluetooth                                                                                                             bluetoothd: no process killed                                                                                                     
invoke-rc.d: initscript bluetooth, action "stop" failed.                                                                          
dpkg: error processing /var/cache/apt/archives/bluez_1%3a4.39-0ubuntu2_i386.deb (--unpack):                                       
 subprocess new pre-removal script returned error exit status 1                                                                   
postinst called with unknown argument `abort-upgrade'                                                                             
Errors were encountered while processing:                                                                                         
 /var/cache/apt/archives/bluez_1%3a4.39-0ubuntu2_i386.deb                                                                         
E: Sub-process /usr/bin/dpkg returned an error code (1)                                                                           

apt-get with dongle connected (kdebluetooth running, icon now showing after connecting dongle):
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  bluez
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/393kB of archives.
After this operation, 135kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 137097 files and directories currently installed.)
Preparing to replace bluez 4.53-0ubuntu1 (using .../bluez_1%3a4.39-0ubuntu2_i386.deb) ...
 * Stopping bluetooth                                                                                                      [ OK ]
Unpacking replacement bluez ...
Processing triggers for man-db ...
Setting up bluez (1:4.39-0ubuntu2) ...
Installing new version of config file /etc/default/bluetooth ...
Installing new version of config file /etc/bluetooth/main.conf ...
Installing new version of config file /etc/dbus-1/system.d/bluetooth.conf ...
Installing new version of config file /etc/init.d/bluetooth ...
Creating device nodes ...
 * Reloading system message bus config...                                                                                  [ OK ]
 * Reloading kernel event manager...                                                                                       [ OK ]
 * Starting bluetooth                                                                                                      [ OK ]


 -- Backtrace:
Application: KBluetooth4 - The KDE4 Bluetooth Framework (kbluetooth4), signal: Segmentation fault
[KCrash Handler]
#6  0x00000001 in ?? ()
#7  0xb739cd23 in QDBusConnectionPrivate::activateCall (this=0x9751fb8, object=0x9716968, flags=273, msg=@0x97f0c70) at qdbusintegrator.cpp:753
#8  0xb739d5e1 in QDBusConnectionPrivate::activateObject (this=0x9751fb8, node=@0x97f0c5c, msg=@0x97f0c70, pathStartPos=18) at qdbusintegrator.cpp:1370
#9  0xb739dada in QDBusActivateObjectEvent::placeMetaCall (this=0x97f0c30) at qdbusintegrator.cpp:1464
#10 0xb72953b0 in QObject::event (this=0xbfa2d150, e=0x97f0c30) at kernel/qobject.cpp:1111
#11 0xb728456b in QCoreApplication::event (this=0xbfa2d150, e=0x97f0c30) at kernel/qcoreapplication.cpp:1434
#12 0xb68c2679 in QApplication::event (this=0xbfa2d150, e=0x97f0c30) at kernel/qapplication.cpp:2317
#13 0xb68bcd3c in QApplicationPrivate::notify_helper (this=0x96dc0d0, receiver=0xbfa2d150, e=0x97f0c30) at kernel/qapplication.cpp:4056
#14 0xb68c503e in QApplication::notify (this=0xbfa2d150, receiver=0xbfa2d150, e=0x97f0c30) at kernel/qapplication.cpp:3603
#15 0xb7ac885d in KApplication::notify (this=0xbfa2d150, receiver=0xbfa2d150, event=0x97f0c30) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#16 0xb7284bcb in QCoreApplication::notifyInternal (this=0xbfa2d150, receiver=0xbfa2d150, event=0x97f0c30) at kernel/qcoreapplication.cpp:610
#17 0xb7285825 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x96c4b38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0xb7285a1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#19 0xb72b06af in postEventSourceDispatch (s=0x96ded78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#20 0xb6202b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb62060eb in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb6206268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb72b02f8 in QEventDispatcherGlib::processEvents (this=0x96c4d10, flags={i = -1079852904}) at kernel/qeventdispatcher_glib.cpp:327
#24 0xb695ea75 in QGuiEventDispatcherGlib::processEvents (this=0x96c4d10, flags={i = -1079852856}) at kernel/qguieventdispatcher_glib.cpp:202
#25 0xb72831fa in QEventLoop::processEvents (this=0xbfa2c1c8, flags={i = -1079852792}) at kernel/qeventloop.cpp:149
#26 0xb7283642 in QEventLoop::exec (this=0xbfa2c1c8, flags={i = -1079852572}) at kernel/qeventloop.cpp:201
#27 0xb73a0fcc in QDBusConnectionPrivate::sendWithReply (this=0x97eca30, message=@0xbfa2c338, sendMode=<value optimized out>, timeout=-1) at qdbusintegrator.cpp:1782
#28 0xb738a3c1 in QDBusConnection::call (this=0x97f481c, message=@0xbfa2c338, mode=QDBus::BlockWithGui, timeout=-1) at qdbusconnection.cpp:516
#29 0xb73a8c6b in QDBusAbstractInterface::callWithArgumentList (this=0x97fb880, mode=QDBus::BlockWithGui, method=@0xbfa2c4e4, args=@0xbfa2c418) at qdbusabstractinterface.cpp:402
#30 0xb73acbbd in QDBusAbstractInterface::call (this=0x97fb880, mode=QDBus::BlockWithGui, method=@0xbfa2c4e4, arg1=@0xbfa2c4cc, arg2=@0xbfa2c4c0, arg3=@0xbfa2c4b4, arg4=@0xbfa2c4a8, 
    arg5=@0xbfa2c49c, arg6=@0xbfa2c490, arg7=@0xbfa2c484, arg8=@0xbfa2c478) at qdbusabstractinterface.cpp:655
#31 0x08066ce3 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-19 18:31:03 UTC
Thanks

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