Bug 274696 - Bluedevil crashed immediately after pairing
Summary: Bluedevil crashed immediately after pairing
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: bluetooth-wizard (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
: 275048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-01 17:52 UTC by Marco Postigo Perez
Modified: 2012-06-30 08:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (1.72 KB, text/plain)
2011-08-09 22:19 UTC, juergen_js
Details
New crash information added by DrKonqi (3.91 KB, text/plain)
2011-10-20 18:55 UTC, howard.bryan.webb
Details
New crash information added by DrKonqi (6.46 KB, text/plain)
2011-10-25 00:26 UTC, howard.bryan.webb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Postigo Perez 2011-06-01 17:52:57 UTC
Application: bluedevil-wizard (0.1)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.8-0.2-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
Immediately after I paired with a Lego NXT Brick it crashes... it is shown as a known device after it has crashed but the brick doesn't contain my device...
Tried the same with my Sony W705 and everything worked fine...

The brick was already successfuly paired with windows/mac workstations/laptops without any problems.

uname -a
Linux linux-sxe1.site 2.6.34.8-0.2-desktop #1 SMP PREEMPT 2011-04-06 18:11:26 +0200 i686 i686 i386 GNU/Linux

used USB dongle:
Bus 005 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

rpm -qa | grep -i "blue"
bluedevil-lang-1.0.2-3.9.3.noarch
libbluetooth3-4.64-2.10.i586
bluez-4.64-2.10.i586
libbluedevil1-1.8-4.1.i586
bluedevil-1.0.2-3.9.3.i586

rpm -qa | grep -i "dbus"
libeggdbus-1-0-0.6-5.1.i586
dbus-1-x11-1.4.1-7.1.i586
dbus-1-1.4.1-7.1.i586
dbus-1-glib-0.86-2.3.1.i586
dbus-1-debuginfo-1.4.1-7.1.i586
yast2-dbus-client-2.18.0-5.1.i586
dbus-1-python-0.83.0-31.1.i586
libdbusmenu-qt2-0.6.6-6.1.i586

The crash can be reproduced every time.

-- Backtrace:
Application: Bluetooth-Assistent (bluedevil-wizard), signal: Aborted
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5fad7ff in raise () from /lib/libc.so.6
#9  0xb5faf140 in abort () from /lib/libc.so.6
#10 0xb5aabfc5 in _dbus_abort () at dbus-sysdeps.c:94
#11 0xb5aa18d1 in _dbus_warn_check_failed (
    format=0xb5ab1e80 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#12 0xb5a94126 in dbus_message_get_sender (message=0x0) at dbus-message.c:3320
#13 0xb6f6b106 in q_dbus_message_get_sender (message=..., error=0xbfacc770) at qdbus_symbols_p.h:213
#14 QDBusMessagePrivate::toDBusMessage (message=..., error=0xbfacc770) at qdbusmessage.cpp:152
#15 0xb6f57168 in QDBusConnectionPrivate::send (this=0x817a6f8, message=...) at qdbusintegrator.cpp:1786
#16 0xb6f4f29f in QDBusConnection::send (this=0xbfacc8f8, message=...) at qdbusconnection.cpp:435
#17 0x080587e9 in _start ()

Possible duplicates by query: bug 270064, bug 226005.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-06-06 17:43:58 UTC
*** Bug 275048 has been marked as a duplicate of this bug. ***
Comment 2 juergen_js 2011-08-09 22:19:50 UTC
Created attachment 62713 [details]
New crash information added by DrKonqi

bluedevil-wizard (0.1) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

paired with a BTM-222 bluetooth module.
right after pairing finished, crash happens.
Pairing finished successfully.
Crash happens all the time I pair with this device. Does not have a different bluetooth device to test with.

-- Backtrace (Reduced):
#8  0x00007f749296f095 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x00007f7492966015 in _dbus_warn_check_failed (format=0x7f74929752f0 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x00007f749295a184 in dbus_message_get_sender (message=<value optimized out>) at dbus-message.c:3320
#11 0x00007f7496e3f38a in q_dbus_message_get_sender (message=<value optimized out>, error=0x7fff9e0a9cd0) at qdbus_symbols_p.h:213
#12 QDBusMessagePrivate::toDBusMessage (message=<value optimized out>, error=0x7fff9e0a9cd0) at qdbusmessage.cpp:152
Comment 3 Alex Fiestas 2011-10-07 19:46:15 UTC
uff I don't know what to do with this backtrace... it shows nothing at bluedevil level.

Can you try to reproduce this bug with a recent distribution? maybe something with kernel 3.0 ? with a livecd it should be good enough.

Thanks!
Comment 4 howard.bryan.webb 2011-10-20 18:55:59 UTC
Created attachment 64739 [details]
New crash information added by DrKonqi

bluedevil-wizard (0.1) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

Much earlier, I had been using various bluetooth tools (hcidump, hcitool, et. al.) to try and figure out what the bluetooth system was doing.  After a break, I discovered the bluetooth icon in the system tray.

I had just been attempting to pair a Mindstorms NXT to my openSuSE 11.4 system, using the Bluetooth applet in the tray at the bottom right of the desktop.  After several failed attempts, the pairing completion was "Successful", and then a crash report popped up.

The Bluetooth applet continued to operate successfully (as it appeared to me), despite the popup.

According to the stack trace, it looks like there is some __ dbus __ notification/registration problem causing the crash.  Actually, it looks like a programming error formatting an error/warning message.

Reading between the lines, it looks like the Bluetooth app sent a msg to/over dbus which was misformatted, crashing dbus.  I'd bet this msg only occurs upon successful bluetooth pairing.

Since dbus is implicated, here is some of the nearby /var/log/messages:

Oct 20 10:59:50 c4 bluetoothd[2897]: Discovery session 0xb788e950 with :1.77 activated
Oct 20 11:00:01 c4 bluetoothd[2897]: Stopping discovery
Oct 20 11:00:29 c4 rtkit-daemon[4059]: Supervising 0 threads of 0 processes of 0 users.
Oct 20 11:00:30 c4 avahi-daemon[2663]: Failed to open /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml: Permission denied
Oct 20 11:00:30 c4 avahi-daemon[2663]: Failed to load introspection data.
Oct 20 11:00:30 c4 avahi-daemon[2663]: Failed to open /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml: Permission denied
Oct 20 11:00:30 c4 avahi-daemon[2663]: Failed to load introspection data.
Oct 20 11:01:49 c4 rtkit-daemon[4059]: Supervising 0 threads of 0 processes of 0 users.
Oct 20 11:01:49 c4 avahi-daemon[2663]: Failed to open /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml: Permission denied
Oct 20 11:01:49 c4 avahi-daemon[2663]: Failed to load introspection data.
Oct 20 11:01:49 c4 avahi-daemon[2663]: Failed to open /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml: Permission denied
Oct 20 11:01:49 c4 avahi-daemon[2663]: Failed to load introspection data.
Oct 20 11:03:20 c4 bluetoothd[2897]: Invalid PIN length (0) from agent
Oct 20 11:03:55 c4 bluetoothd[2897]: Invalid PIN length (0) from agent
Oct 20 11:06:12 c4 bluetoothd[2897]: Discovery session 0xb789f248 with :1.78 activated
Oct 20 11:06:27 c4 bluetoothd[2897]: Invalid PIN length (0) from agent
Oct 20 11:06:41 c4 bluetoothd[2897]: Stopping discovery

(at this point, I started this bug report.)

-- Backtrace (Reduced):
#10 0xb5bf2005 in _dbus_abort () at dbus-sysdeps.c:94
#11 0xb5be7911 in _dbus_warn_check_failed (format=0xb5bf7ec0 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#12 0xb5bda146 in dbus_message_get_sender (message=0x0) at dbus-message.c:3320
#13 0xb709be86 in q_dbus_message_get_sender (message=..., error=0xbfc708a0) at qdbus_symbols_p.h:213
#14 QDBusMessagePrivate::toDBusMessage (message=..., error=0xbfc708a0) at qdbusmessage.cpp:152
Comment 5 howard.bryan.webb 2011-10-25 00:26:36 UTC
Created attachment 64848 [details]
New crash information added by DrKonqi

bluedevil-wizard (0.1) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

I initiated pairing.  After pairing was completed (according to screen) crash occurred.  I was able to get a much deeper trace by doing this operation as root.

-- Backtrace (Reduced):
#10 0xb5ad4005 in _dbus_abort () at dbus-sysdeps.c:94
#11 0xb5ac9911 in _dbus_warn_check_failed (format=0xb5ad9ec0 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#12 0xb5abc146 in dbus_message_get_sender (message=0x0) at dbus-message.c:3320
#13 0xb6f7de86 in q_dbus_message_get_sender (message=..., error=0xbfb4e600) at qdbus_symbols_p.h:213
#14 QDBusMessagePrivate::toDBusMessage (message=..., error=0xbfb4e600) at qdbusmessage.cpp:152
Comment 6 Alex Fiestas 2012-04-26 22:54:47 UTC
Can anybody still reproduce this bug with latest version?
Comment 7 Alex Fiestas 2012-06-30 08:43:52 UTC
Nobody replied so I'm going to guess that this is fixed.

If you can still reproduce the bug please, re-open i t!