Your message dated Mon, 12 Oct 2009 20:05:53 +0100
with message-id <[email protected]>
and subject line Re: libgnome-bluetooth2: immediate SEGV, possibly related to 
previously-connected phone
has caused the Debian Bug report #549873,
regarding libgnome-bluetooth2: immediate SEGV, possibly related to 
previously-connected phone
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
549873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549873
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgnome-bluetooth2
Version: 2.27.5-1
Severity: important

When I either select "Turn On Bluetooth" from the menu, or start
bluetooth-applet with rfkill already disabled (via
"echo enable > /proc/acpi/ibm/bluetooth"), bluetooth-applet segfaults.
I'm using the built-in Bluetooth on a Lenovo Thinkpad X200s.

bluetooth-properties shows similar behaviour, with a similar backtrace, so
I'm filing this against the library.

The device "smcv's 6233" seen in the backtrace below is a Nokia 6233 cellphone.
 I'd been using it for PPP several hours previously, but at the time of the
crash, its Bluetooth feature was disabled, and had been for hours, including
several suspend/resume cycles on the laptop.

add_device() seems to cope gracefully with any missing GValue in the hash
table of information it's given, except for "Class" at line 540, causing this
crash. Perhaps this crash is only fatal with GLib 2.22, and 2.20 was more
tolerant of NULL GValues, or something?

The interesting-looking stack frames with "bt full", from a nostrip build:

#0  IA__g_value_get_uint (value=0x0)
    at 
/build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gobject/gvaluetypes.c:712
        __r = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__g_value_get_uint"
#1  0x08055240 in add_device (adapter=0x80ca100, parent=0xffffcd0c, 
    client=0x80bfe78, 
    path=0x80d4ba8 "/org/bluez/30940/hci0/dev_XX_XX_XX_XX_XX_XX", 
    hash=0x80c21b0) at bluetooth-client.c:540
        device = 0x80ca138
        address = 0x80d1ff0 "XX:XX:XX:XX:XX:XX"
        alias = 0x80d5360 "smcv's 6233"
        name = 0x80d5858 "smcv's 6233"
        icon = <value optimized out>
        uuids = <value optimized out>
        services = <value optimized out>
        paired = <value optimized out>
        trusted = <value optimized out>
        connected = <value optimized out>
        type = <value optimized out>
        rssi = <value optimized out>
        iter = {stamp = 134757976, user_data = 0xf7743fe6, 
          user_data2 = 0x80d51b8, user_data3 = 0x80bfe78}
#2  0x08055984 in device_created (adapter=0x80ca100, 
    path=0x80d4ba8 "/org/bluez/30940/hci0/dev_XX_XX_XX_XX_XX_XX", 
    user_data=0x80bfe78) at bluetooth-client.c:655
        iter = {stamp = -1540062985, user_data = 0x806a568, user_data2 = 0x0, 
          user_data3 = 0x0}
#3  0x08055d11 in adapter_added (manager=0x80ca0c8, 
    path=0x80d2080 "/org/bluez/30940/hci0", user_data=0x80bfe78)
    at bluetooth-client.c:782
        path = 0x80d4ba8 "/org/bluez/30940/hci0/dev_XX_XX_XX_XX_XX_XX"
        i = 1
        iter = {stamp = -1540062985, user_data = 0x806a568, 
          user_data2 = 0xffffce28, user_data3 = 0xf7ff37c0}
        adapter = 0x80ca100
        devices = 0x806a618
        hash = 0x80c2150
        address = 0x80d4de8 "XX:XX:XX:XX:XX:XX"
        name = 0x80d38d8 "Reptile"
        discovering = <value optimized out>
        powered = <value optimized out>
#4  0x08056621 in bluetooth_client_init (client=0x80bfe78)
    at bluetooth-client.c:957
        path = 0x80d2080 "/org/bluez/30940/hci0"
        i = 1
        priv = 0x80bfe88
        array = 0x806a600
        default_path = 0x0

and the rest of the backtrace:

#5  0xf77e8ab5 in IA__g_type_create_instance (type=134982776)
    at 
/build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gobject/gtype.c:1674
#6  0xf77cd595 in g_object_constructor (type=134982776, 
    n_construct_properties=0, construct_params=0x0)
    at 
/build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gobject/gobject.c:1338
#7  0xf77cddc6 in IA__g_object_newv (object_type=134982776, n_parameters=0, 
    parameters=0x0)
    at 
/build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gobject/gobject.c:1215
#8  0xf77ce986 in IA__g_object_new_valist (object_type=134982776, 
    first_property_name=0x0, 
    var_args=0xffffd198 "`\341o\367\350\32\t\b\350\32\t\b 
0\f\b\370\321\377\377\201\367\4\b 0\f\b\350\32\t\b\377\377\377\377")
    at 
/build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gobject/gobject.c:1278
#9  0xf77ceafe in IA__g_object_new (object_type=134982776, 
    first_property_name=0x0)
    at 
/build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gobject/gobject.c:1060
#10 0x08054524 in bluetooth_client_new () at bluetooth-client.c:1054
#11 0x0804f781 in main (argc=135001600, argv=0x2) at main.c:783

-- System Information:

Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.31-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-bluetooth depends on:
ii  gconf2                 2.26.2-3          GNOME configuration database syste
ii  libatk1.0-0            1.28.0-1          The ATK accessibility toolkit
ii  libc6                  2.9-27            GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.16-2          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.82-2            simple interprocess messaging syst
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libgconf2-4            2.26.2-3          GNOME configuration database syste
ii  libglib2.0-0           2.22.1-1          The GLib library of C routines
ii  libgnome-bluetooth2    2.27.5-1          GNOME Bluetooth tools - support li
ii  libgtk2.0-0            2.18.1-1          The GTK+ graphical user interface 
ii  libhal1                0.5.13-3          Hardware Abstraction Layer - share
ii  libnotify1 [libnotify1 0.4.5-1           sends desktop notifications to a n
ii  libpango1.0-0          1.26.0-1          Layout and rendering of internatio
ii  libunique-1.0-0        1.1.2-2           Library for writing single instanc
ii  obex-data-server       0.4.4-2           D-Bus service for OBEX client and 
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages gnome-bluetooth recommends:
ii  gvfs-backends                 1.4.0-2    userspace virtual filesystem - bac

Versions of packages gnome-bluetooth suggests:
ii  nautilus-sendto               1.1.5-1    integrates Evolution and Pidgin in

-- no debconf information



--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Version: 2.28.1-1

I can't reproduce the original bug with 2.27.5-1 now, but the relevant code
in 2.28.1's add_device() seems to guard against NULL better, so I think this
can be considered closed.

    Simon
-----BEGIN PGP SIGNATURE-----

iQIVAwUBStN+BU3o/ypjx8yQAQjLMw//fJ6M/FzmjEsicpBsE1YVFTAWtj14w9nH
9HhmqghIaFGVNIx9mGA2+jPUwWHhCMQq2oeCxx6jtnC03A8MjO3qI1jBJaTIPwJ+
P+0+ZhEleihdMUrzKocVVdkZa1njRvYgElYDjxiM8J4QM1Co1+qcqNloX09vX3UJ
esk7A7WZmgnxCxSX9PUD2L5q6aN3noVojvjwP8qBHBppFWVDqo/vswH1s6zc9WZq
1LAUs8UTw90XSxOvNa7iauBXh6AG5igpkP0RmJ6exYvabbatBQp7b+hAADuT9y+5
kDsFmFbVFTd17Pu3nL2aowYTkvbl5X5o0x0Lo/emu7lYFwz7fJ269d014c6Co4zm
sdNqcIJN8VpYYhcag7yhX3DprMB7LKMsFS7pXbyHAeuf3HKf867peCd06WgNynV/
Y8aH7lh1lRMQ9aI1SP1WEayL2wp5eD2wXzeP4hD8vuhWbOsWstK4dZbWetRwvzwa
wRdmzKQOosZ0KdX3AbHcPnXX6vt3veNZNAxAXzuWeYAR5BxyFVCsBumvdcyrg0KW
DhJvGKNCcY+tVlsVkD0nE9OipPeY7AE1ShIN7CenO65reH7rWr5nZOf+TyY7a4Dd
IqRP/wgeIPLDM74xNy4bw/3Sl1t56kjLpEw7B97CqiKWBYw0nLyPzXJWgiAgRR4s
CPQgNsdq/cE=
=FiOl
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to