GattManager1 RegisterApplication Segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good morning

I am using bluez 5.50 DBus interface to expose a custom service. Seems
things goes well from logs, but I receive a Segmentation fault after
the registration is complete.

sudo bluetoothd -E -d -n -P hostname
...
bluetoothd[22951]: src/gatt-database.c:manager_register_app()
Registering application: :1.2272:/org/bluez/hci0/app0
bluetoothd[22951]: src/gatt-database.c:proxy_added_cb() Object
received: /org/bluez/hci0/app0/service_000003e8, iface:
org.bluez.GattService1
bluetoothd[22951]: src/gatt-database.c:include_services() path
/org/bluez/hci0/app0
bluetoothd[22951]: include service not found
bluetoothd[22951]: src/gatt-database.c:include_services() path
/org/bluez/hci0/app0
bluetoothd[22951]: include service not found
bluetoothd[22951]: src/gatt-database.c:gatt_db_service_added() GATT
Service added to local database
bluetoothd[22951]: src/adapter.c:adapter_service_add() /org/bluez/hci0
bluetoothd[22951]: src/sdpd-service.c:add_record_to_server() Adding
record with handle 0x1001b
bluetoothd[22951]: src/sdpd-service.c:add_record_to_server() Record
pattern UUID 00000007-0000-1000-8000-00805f9
bluetoothd[22951]: src/sdpd-service.c:add_record_to_server() Record
pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[22951]: src/sdpd-service.c:add_record_to_server() Record
pattern UUID 000003e8-0001-1000-8000-00805f9
bluetoothd[22951]: src/sdpd-service.c:add_record_to_server() Record
pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[22951]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[22951]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[22951]: src/gatt-database.c:client_ready_cb() GATT
application registered: :1.2272:/org/bluez/hci0/app0
Segmentation fault


As a side note, I am setting GattService1 `Includes` to the same
service UUID because bluetoothd would otherwise report an error
parsing the field if let empty or omitted.

bluetoothd[25818]: src/gatt-database.c:manager_register_app()
Registering application: :1.2291:/org/bluez/hci0/app0
bluetoothd[25818]: src/gatt-database.c:proxy_added_cb() Object
received: /org/bluez/hci0/app0/service_000003e8, iface:
org.bluez.GattService1
bluetoothd[25818]: Failed to read "Includes" property of service
bluetoothd[25818]: Failed to add service
bluetoothd[25818]: Failed to create GATT service entry in local database


Do you have a suggestion ?

Thank you
Kind regards

Luca



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux