Bug 188966 - kdebluetooth crash
Summary: kdebluetooth crash
Status: RESOLVED FIXED
Alias: None
Product: kbluetooth
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Tom Patzig
URL:
Keywords:
: 208128 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-06 15:32 UTC by Lewkow Brigitte
Modified: 2009-11-17 22:11 UTC (History)
4 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 Lewkow Brigitte 2009-04-06 15:32:34 UTC
Version:           Kbluetooth (using KDE 4.1.4)
Compiler:          gcc 4.3.2 (i486-linux-gnu) 
OS:                Linux
Installed from:    Ubuntu Packages

Cette pile des appels apparaît être inutilisable.
C'est probablement dû au fait que votre paquetage a été construit d'une manière qui empêche de créer des piles d'appels corrects, ou que le cadre de pile a été sérieusement corrompu dans l'incident.

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb60ce6c0 (LWP 10563)]
[New Thread 0xb45c5b90 (LWP 10807)]
0xb7f55430 in __kernel_vsyscall ()
[Current thread is 0 (LWP 10563)]

Thread 2 (Thread 0xb45c5b90 (LWP 10807)):
#0  0xb7f55430 in __kernel_vsyscall ()
#1  0xb69ccdf1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7615150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb75456ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb642050f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb69d4a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb60ce6c0 (LWP 10563)):
#0  0xb7f55430 in __kernel_vsyscall ()
#1  0xb698ff36 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb698fd4e in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7b73612 in KCrash::startDrKonqi (argv=0xbfc55e24, argc=15) at /build/buildd/kde4libs-4.1.4/kdeui/util/kcrash.cpp:412
#4  0xb7b74014 in KCrash::defaultCrashHandler (sig=11) at /build/buildd/kde4libs-4.1.4/kdeui/util/kcrash.cpp:337
#5  <signal handler called>
#6  0x65626f6e in ?? ()
#7  0xb6b71880 in Solid::Control::BluetoothManager::~BluetoothManager () from /usr/lib/libsolidcontrol.so.4
#8  0xb6b7192a in ?? () from /usr/lib/libsolidcontrol.so.4
#9  0xb6b61b9b in ?? () from /usr/lib/libsolidcontrol.so.4
#10 0xb6921d89 in exit () from /lib/tls/i686/cmov/libc.so.6
#11 0xb690968d in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#12 0x0804fdb1 in _start ()
#0  0xb7f55430 in __kernel_vsyscall ()
Comment 1 Jonathan Thomas 2009-09-10 23:10:44 UTC
Unfortunately the backtrace we received downstream isn't much better. But at least it's a bit better :P

It was reported as crashing when shutting down bluetooth.

#0  0x00000001 in ?? ()
#1  0xb784e000 in ~BluetoothManager (this=0x97b09f0)
    at /build/buildd/kdebase-workspace-4.2.0/libs/solid/control/bluetoothmanager.cpp:100
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 1722}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x98826d8}, d = 0x98826d8}}, brk = 0, i = {
    i = 0x98826ec}, e = {i = 0x98826f0}}
#2  0xb784e0aa in destroy ()
    at /build/buildd/kdebase-workspace-4.2.0/libs/solid/control/ifaces/../singletondefs.h:35
	x = (
    class Solid::Control::SingletonHelper<Solid::Control::BluetoothManager>
     *) 0x97f36b0
#3  0xb783f1fb in ~KCleanUpGlobalStatic (this=0xb7859170)
    at /usr/include/kglobal.h:62
No locals.
#4  0xb6680b89 in exit () from /lib/tls/i686/cmov/libc.so.6
#5  0xb666877d in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#6  0x0804fe01 in _start ()
Comment 2 Jonathan Thomas 2009-09-17 17:01:36 UTC
Better backtrace:

.
Thread 2 (process 3740):
#0  0x00007f0ed4b9e742 in select () from /lib/libc.so.6
#1  0x00007f0ed634df16 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f0ed6286952 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f0ed224b3ba in start_thread () from /lib/libpthread.so.0
#4  0x00007f0ed4ba5fcd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#5  0x0000000000000000 in ?? ()
.
Thread 1 (process 3699):
#0  0x0000000000000001 in ?? ()
#1  0x00007f0ed7525a5b in ~BluetoothInterface (this=0x18a82f0)
    at /build/buildd/kdebase-workspace-4.2.1a/libs/solid/control/bluetoothinterface.cpp:97
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 2356}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x17be250}, d = 0x17be250}}, brk = 0, i = {
    i = 0x17be268}, e = {i = 0x17be270}}
#2  0x00007f0ed75296c5 in ~BluetoothManager (this=0x1862380)
    at /build/buildd/kdebase-workspace-4.2.1a/libs/solid/control/bluetoothmanager.cpp:100
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 2356}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x18bb660}, d = 0x18bb660}}, brk = 0, i = {
    i = 0x18bb678}, e = {i = 0x18bb680}}
#3  0x00007f0ed7529767 in destroy ()
    at /build/buildd/kdebase-workspace-4.2.1a/libs/solid/control/ifaces/../singletondefs.h:35
	x = (
    class Solid::Control::SingletonHelper<Solid::Control::BluetoothManager>
     *) 0x1862380
#4  0x00007f0ed4af66ed in *__GI_exit (status=0) at exit.c:75
	atfct = <value optimized out>
	onfct = <value optimized out>
	cxafct = (void (*)(void *, int)) 0x2709120
	old = <value optimized out>
#5  0x00007f0ed4ade5ad in __libc_start_main (main=0x40b610 <_start+5552>, 
    argc=1, ubp_av=0x7fffe0920d58, init=0x428a90 <__libc_csu_init>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffe0920d48) at libc-start.c:252
	result = 25426432
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {4360848, 
        2113784652142129909, 4235360, 140736961056080, 0, 0, 
        -2113759611973881099, -2069401096113573131}, mask_was_saved = 0}}, 
  priv = {pad = {0x0, 0x0, 0x1, 0x40b610}, data = {prev = 0x0, cleanup = 0x0, 
      canceltype = 1}}}
	not_first_call = <value optimized out>
#6  0x000000000040a089 in _start ()
Comment 3 Jonathan Thomas 2009-09-18 20:05:24 UTC
Oh, and as a note this happens when shutting off bluetooth.
Comment 4 Dario Andres 2009-09-21 23:58:58 UTC
*** Bug 208128 has been marked as a duplicate of this bug. ***
Comment 5 Alex Fiestas 2009-09-23 20:02:20 UTC
Hi
This should be fixed in the 0.4 version, can you test it again please?

Thanks!
Comment 6 Jonathan Thomas 2009-09-27 22:16:07 UTC
We received a duplicate report of this crash from someone running 0.4-beta1b (https://launchpad.net/bugs/437732)

.
Thread 2 (process 5294):
#0  0x0041b422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03d21981 in select () from /lib/tls/i686/cmov/libc.so.6
No locals.
#2  0x08396af5 in QProcessManager::run (this=0x881b198)
    at io/qprocess_unix.cpp:296
	readset = {fds_bits = {64, 0 <repeats 31 times>}}
	nselect = <value optimized out>
	c = 0 '\0'
#3  0x082c7e22 in QThreadPrivate::start (arg=0x881b198)
    at thread/qthread_unix.cpp:188
	data = (QThreadData *) 0x881b078
#4  0x00aee80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5  0x03d287ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 1 (process 5290):
#0  0x00000006 in ?? ()
No symbol table info available.
#1  0x002d103f in ~BluetoothManager (this=0x88f7778)
    at ../../../../libs/solid/control/bluetoothmanager.cpp:100
	_container_ = {c = {{d = 0x8c03fb8, e = 0x8c03fb8}}, brk = 0, i = {
    i = 0x8922b5c}, e = {i = 0x8c03fb8}}
#2  0x002d115a in destroy ()
    at ../../../../libs/solid/control/ifaces/../singletondefs.h:35
	x = (
    class Solid::Control::SingletonHelper<Solid::Control::BluetoothManager>
     *) 0x8b9ef98
#3  0x002c241b in ~KCleanUpGlobalStatic (this=0x2e2394)
    at /usr/include/kglobal.h:62
No locals.
#4  0x03c8b05f in __run_exit_handlers (status=0, listp=0x3db0304, 
    run_list_atexit=true) at exit.c:78
	atfct = <value optimized out>
	onfct = <value optimized out>
	cxafct = (void (*)(void *, int)) 0x891cc80
#5  0x03c8b0cf in *__GI_exit (status=0) at exit.c:100
No locals.
#6  0x03c72b5e in __libc_start_main (main=0x8053e50 <main>, argc=1, 
    ubp_av=0xbff59d64, init=0x807c1c0 <__libc_csu_init>, 
    fini=0x807c1b0 <__libc_csu_fini>, rtld_fini=0x825d20 <_dl_fini>, 
    stack_end=0xbff59d5c) at libc-start.c:252
	result = 143164328
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {64684020, 0, 0, 
        -1074422472, 389274722, 1918659354}, mask_was_saved = 0}}, priv = {
    pad = {0x0, 0x0, 0x1, 0x8051e70}, data = {prev = 0x0, cleanup = 0x0, 
      canceltype = 1}}}
	not_first_call = <value optimized out>
#7  0x08051e91 in _start () at ../sysdeps/i386/elf/start.S:119
No locals.


Looks like a Solid Bluetooth bug in any case.
Comment 7 Max 2009-10-28 17:52:23 UTC
Application: KBluetooth4 (kbluetooth4), signal: Aborted
[KCrash Handler]
#5  0x00007fbe79990645 in raise () from /lib64/libc.so.6
#6  0x00007fbe79991c33 in abort () from /lib64/libc.so.6
#7  0x00007fbe75152745 in ?? () from /lib64/libdbus-1.so.3
#8  0x00007fbe7514e58d in ?? () from /lib64/libdbus-1.so.3
#9  0x00007fbe751436c9 in dbus_message_new_method_call () from /lib64/libdbus-1.so.3
#10 0x00007fbe7b66d85e in ?? () from /usr/lib64/libQtDBus.so.4
#11 0x00007fbe7b669b60 in ?? () from /usr/lib64/libQtDBus.so.4
#12 0x00007fbe7b6553d3 in QDBusConnection::call(QDBusMessage const&, QDBus::CallMode, int) const () from /usr/lib64/libQtDBus.so.4
#13 0x00007fbe7b6709ef in QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode, QString const&, QList<QVariant> const&) () from /usr/lib64/libQtDBus.so.4
#14 0x00007fbe7b6746bc in QDBusAbstractInterface::call(QDBus::CallMode, QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib64/libQtDBus.so.4
#15 0x00007fbe7b674911 in QDBusAbstractInterface::call(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib64/libQtDBus.so.4
#16 0x00007fbe727c6908 in BluezBluetoothRemoteDevice::getProperties() const () from /usr/lib64/kde4/solid_bluez.so
#17 0x00007fbe7c723999 in Solid::Control::BluetoothRemoteDevice::getProperties() () from /usr/lib64/libsolidcontrol.so.4
#18 0x00007fbe7c723fee in Solid::Control::BluetoothRemoteDevice::getProperty(QString const&) () from /usr/lib64/libsolidcontrol.so.4
#19 0x00007fbe7c7248df in Solid::Control::BluetoothRemoteDevice::name() () from /usr/lib64/libsolidcontrol.so.4
#20 0x000000000041e678 in _start ()
Comment 8 Alex Fiestas 2009-11-06 00:56:46 UTC
Hi, this bug should be fixed now, as it seems to be a duplicated of: https://bugs.kde.org/show_bug.cgi?id=212607

I'm going to set as resolved->fixed. If anybody is able to reproduce it again please, reopen it again.

Thanks for reporting!
Comment 9 Rastislav Krupanský 2009-11-17 12:39:13 UTC
(In reply to comment #8)
> Hi, this bug should be fixed now, as it seems to be a duplicated of:
> https://bugs.kde.org/show_bug.cgi?id=212607
> 
> I'm going to set as resolved->fixed. If anybody is able to reproduce it again
> please, reopen it again.
> 
> Thanks for reporting!

In which one version should we expect the fix?
I'm on openSUSE's KDE 4.3.3, release 2 and kdebluetooth4-0.3-11.1.i586, but still crashes.
Comment 10 Alex Fiestas 2009-11-17 13:07:56 UTC
This have to be fixed in the 0.4RC2 version, is up to your distribution to upgrade since right now seems that you're using a very old version (0.3).
Comment 11 Rastislav Krupanský 2009-11-17 22:11:22 UTC
(In reply to comment #10)
> This have to be fixed in the 0.4RC2 version, is up to your distribution to
> upgrade since right now seems that you're using a very old version (0.3).

Yes, i can confirm kbluetooth-0.4_RC2-1.1.i586 fixes the crash.Great work.
Thanks for fixing :-D