You are not logged in.

#1 2017-05-09 12:42:18

canitha
Member
Registered: 2017-05-09
Posts: 2

Dbus error org.freedesktop.DBus.Error.NoReply for file descriptor

Hi,

When we are trying to call Acquire dbus api from our application , the bluez stack gets the fd, imtu, omtu successfully, and sends it over dbus using g_dbus_send_reply. But when we call dbus_connection_send_with_reply_and_block from our application, we are unable to get the reply,and unable to get the fd, imtu and omtu.The dbus is returning org.freedesktop.DBus.Error.NoReply.

dbus version used is 1.10.10.
Bluez version - 5.37

Dbus error seen is ,
method call time=1493814994.072004 sender=:1.50 -> destination=org.bluez serial=50 path=/org/bluez/hci0/dev_A4_70_D6_7A_74_7F/fd2; interface=org.bluez.MediaTransport1; member=Acquire

error time=1493814994.074396 sender=org.freedesktop.DBus -> destination=:1.50 error_name=org.freedesktop.DBus.Error.NoReply reply_serial=50
   string "Message recipient disconnected from message bus without replying"

Bluetoothd logs seen is,
State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2: TRANSPORT_STATE_PENDING -> TRANSPORT_STATE_ACTIVE
bluetoothd[7523]: Disconnected from D-Bus. Exiting.

Any inputs will be of great help. Awaiting for the reply.

Regards,
Anitha

Last edited by canitha (2017-05-09 12:44:48)

Offline

#2 2017-05-09 16:15:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Dbus error org.freedesktop.DBus.Error.NoReply for file descriptor

Please post your full pacman log.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-10 03:48:34

canitha
Member
Registered: 2017-05-09
Posts: 2

Re: Dbus error org.freedesktop.DBus.Error.NoReply for file descriptor

Copying few bluetoothd logs,

bluetoothd[7523]: ../bluez-5.39/profiles/network/connection.c:create_peer() Registered interface org.bluez.Network1 on path /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/src/service.c:btd_service_ref() 0x55f141fb5a70: ref=2
bluetoothd[7523]: ../bluez-5.39/profiles/network/connection.c:connection_register() id 4373 registered
bluetoothd[7523]: ../bluez-5.39/src/service.c:change_state() 0x55f141fb5a70: device 88:79:7E:84:2C:54 profile network-panu state changed: unavailable -> disconnected (0)
bluetoothd[7523]: ../bluez-5.39/profiles/network/connection.c:connection_register() /org/bluez/hci0/dev_88_79_7E_84_2C_54 id 4374
bluetoothd[7523]: ../bluez-5.39/src/service.c:btd_service_ref() 0x55f141fbb900: ref=2
bluetoothd[7523]: ../bluez-5.39/profiles/network/connection.c:connection_register() id 4374 registered
bluetoothd[7523]: ../bluez-5.39/src/service.c:change_state() 0x55f141fbb900: device 88:79:7E:84:2C:54 profile network-nap state changed: unavailable -> disconnected (0)
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avrcp.c:avrcp_controller_probe() path /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/control.c:control_init() Registered interface org.bluez.MediaControl1 on path /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/src/service.c:btd_service_ref() 0x55f141fb5aa0: ref=2
bluetoothd[7523]: ../bluez-5.39/src/service.c:change_state() 0x55f141fb5aa0: device 88:79:7E:84:2C:54 profile avrcp-controller state changed: unavailable -> disconnected (0)
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avrcp.c:avrcp_target_probe() path /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/src/service.c:btd_service_ref() 0x55f141fcedd0: ref=2
bluetoothd[7523]: ../bluez-5.39/src/service.c:change_state() 0x55f141fcedd0: device 88:79:7E:84:2C:54 profile audio-avrcp-target state changed: unavailable -> disconnected (0)
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:a2dp_source_probe() path /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/source.c:source_init() /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/src/service.c:btd_service_ref() 0x55f141fce550: ref=2
bluetoothd[7523]: ../bluez-5.39/src/service.c:change_state() 0x55f141fce550: device 88:79:7E:84:2C:54 profile a2dp-source state changed: unavailable -> disconnected (0)
bluetoothd[7523]: ../bluez-5.39/src/device.c:device_svc_resolved() /org/bluez/hci0/dev_88_79_7E_84_2C_54 err 0
bluetoothd[7523]: Authentication attempt without agent
bluetoothd[7523]: Access denied: org.bluez.Error.Rejected
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:channel_remove() chan 0x55f141fd0c10
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:dev_disconnected() Device 88:79:7E:84:2C:54 disconnected, reason 2
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:adapter_remove_connection()
bluetoothd[7523]: ../bluez-5.39/plugins/policy.c:disconnect_cb() reason 2
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:bonding_attempt_complete() hci0 bdaddr 88:79:7E:84:2C:54 type 0 status 0xe
bluetoothd[7523]: ../bluez-5.39/src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[7523]: ../bluez-5.39/src/device.c:device_bonding_failed() status 14
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:resume_discovery()
bluetoothd[7523]: ../bluez-5.39/src/device.c:btd_device_set_trusted() trusted 1
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:connected_callback() hci0 device 88:79:7E:84:2C:54 connected eir_len 13
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:confirm_cb() AVDTP: incoming connect from 88:79:7E:84:2C:54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/source.c:source_set_state() State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54: SOURCE_STATE_DISCONNECTED -> SOURCE_STATE_CONNECTING
bluetoothd[7523]: ../bluez-5.39/src/device.c:device_probe_profiles() Probing profiles for device 88:79:7E:84:2C:54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_connect_cb() AVDTP: connected signaling channel to 88:79:7E:84:2C:54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_connect_cb() AVDTP imtu=672, omtu=672
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:session_cb()
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_parse_cmd() Received DISCOVER_CMD
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:session_cb()
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_parse_cmd() Received  GET_CAPABILITIES_CMD
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:endpoint_getcap_ind() Sink 0x55f141fac450: Get_Capability_Ind
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:session_cb()
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_parse_cmd() Received SET_CONFIGURATION_CMD
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:endpoint_setconf_ind() Sink 0x55f141fac450: Set_Configuration_Ind
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_ref() 0x55f141fb6bd0: ref=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_ref() 0x55f141fbc6a0: ref=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.39 path = /MediaEndpoint/A2DPSink
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_ref() 0x55f141fb6bd0: ref=2
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: IDLE -> CONFIGURED
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_unref() 0x55f141fbc6a0: ref=0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_free() 0x55f141fbc6a0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unref() 0x55f141fb6bd0: ref=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:session_cb()
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_parse_cmd() Received OPEN_CMD
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:open_ind() Sink 0x55f141fac450: Open_Ind
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_ref() 0x55f141fb6bd0: ref=2
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_ref() 0x55f141fbb970: ref=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:confirm_cb() AVDTP: incoming connect from 88:79:7E:84:2C:54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: CONFIGURED -> OPEN
bluetoothd[7523]: ../bluez-5.39/profiles/audio/source.c:source_set_state() State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54: SOURCE_STATE_CONNECTING -> SOURCE_STATE_CONNECTED
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:transport_update_playing() /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2 State=TRANSPORT_STATE_IDLE Playing=0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_unref() 0x55f141fbb970: ref=0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_free() 0x55f141fbb970
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unref() 0x55f141fb6bd0: ref=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avctp.c:avctp_confirm_cb() AVCTP: incoming connect from 88:79:7E:84:2C:54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avctp.c:avctp_set_state() AVCTP Connecting
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avctp.c:avctp_connect_cb() AVCTP: connected to 88:79:7E:84:2C:54
bluetoothd[7523]: Can't open input device: No such file or directory (2)
bluetoothd[7523]: AVRCP: failed to init uinput for 88:79:7E:84:2C:54
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avrcp.c:controller_init() 0x55f141fb7090 version 0x0103
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_controller_create() /org/bluez/hci0/dev_88_79_7E_84_2C_54/player0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avrcp.c:target_init() 0x55f141faa710 version 0x0103
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avctp.c:avctp_set_state() AVCTP Connected
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avrcp.c:handle_vendordep_pdu() AVRCP PDU 0x31, company 0x001958 len 0x0005
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_position() 4294967295
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_status() paused
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_playlist_item() 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() Title: 98.3
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() Artist: INDIA'S NO 1 FM STATION
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() Album:
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() TrackNumber: 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() NumberOfTracks: 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() Genre:
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_metadata() Duration: 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_duration() 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_position() 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_status() paused
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_duration() 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_position() 0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_status() paused
bluetoothd[7523]: ../bluez-5.39/profiles/audio/player.c:media_player_set_position() 4294967295
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:session_cb()
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_parse_cmd() Received START_CMD
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:start_ind() Sink 0x55f141fac450: Start_Ind
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_ref() 0x55f141fb6bd0: ref=2
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: OPEN -> STREAMING
bluetoothd[7523]: ../bluez-5.39/profiles/audio/source.c:source_set_state() State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54: SOURCE_STATE_CONNECTED -> SOURCE_STATE_PLAYING
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:transport_update_playing() /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2 State=TRANSPORT_STATE_IDLE Playing=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2: TRANSPORT_STATE_IDLE -> TRANSPORT_STATE_PENDING
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_owner_create() Owner created: sender=:1.39
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_ref() 0x55f141fb6bd0: ref=3
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:a2dp_sep_lock() SEP 0x55f141fac450 locked
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_ref() 0x55f141fb6bd0: ref=4
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_ref() 0x55f141fabf80: ref=1
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unref() 0x55f141fb6bd0: ref=3
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_request_create() Request created: method=Acquire id=5
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_owner_add() Owner :1.39 Request Acquire
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_transport_set_owner() Transport /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2 Owner :1.39
bluetoothd[7523]: /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2: fd(21) ready
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_owner_remove() Owner :1.39 Request Acquire
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2: TRANSPORT_STATE_PENDING -> TRANSPORT_STATE_ACTIVE
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_unref() 0x55f141fabf80: ref=0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:setup_free() 0x55f141fabf80
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unref() 0x55f141fb6bd0: ref=2
bluetoothd[7523]: Disconnected from D-Bus. Exiting.
bluetoothd[7523]: ../bluez-5.39/src/plugin.c:plugin_cleanup() Cleanup plugins
bluetoothd[7523]: ../bluez-5.39/profiles/input/suspend-none.c:suspend_exit()
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:media_server_remove() path /org/bluez/hci0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/media.c:release_endpoint() sender=:1.39 path=/MediaEndpoint/A2DPSink
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_transport_remove_owner() Transport /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2 Owner :1.39
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:media_owner_free() Owner :1.39
bluetoothd[7523]: ../bluez-5.39/profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_88_79_7E_84_2C_54/fd2: TRANSPORT_STATE_ACTIVE -> TRANSPORT_STATE_IDLE
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:a2dp_sep_unlock() SEP 0x55f141fac450 unlocked
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unref() 0x55f141fb6bd0: ref=1
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:adapter_service_remove() /org/bluez/hci0
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:remove_uuid() sending remove uuid command for index 0
bluetoothd[7523]: ../bluez-5.39/src/sdpd-service.c:remove_record_from_server() Removing record with handle 0x10005
bluetoothd[7523]: ../bluez-5.39/profiles/audio/media.c:release_endpoint() sender=:1.39 path=/MediaEndpoint/A2DPSink
bluetoothd[7523]: Endpoint unregistered: sender=:1.39 path=/MediaEndpoint/A2DPSink
bluetoothd[7523]: ../bluez-5.39/profiles/audio/media.c:media_endpoint_destroy() sender=:1.39 path=/MediaEndpoint/A2DPSink
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:abort_cfm() Sink 0x55f141fac450: Abort_Cfm
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: STREAMING -> IDLE
bluetoothd[7523]: No reply to Suspend request
bluetoothd[7523]: ../bluez-5.39/profiles/audio/a2dp.c:suspend_cfm() Sink 0x55f141fac450: Suspend_Cfm
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unref() 0x55f141fb6bd0: ref=0
bluetoothd[7523]: ../bluez-5.39/profiles/audio/avdtp.c:avdtp_unregister_sep() SEP 0x55f141fac450 unregistered: type:1 codec:0 seid:1
bluetoothd[7523]: ../bluez-5.39/plugins/hostname.c:hostname_remove()
bluetoothd[7523]: ../bluez-5.39/src/agent.c:agent_destroy() agent :1.39
bluetoothd[7523]: ../bluez-5.39/src/agent.c:agent_release() Releasing agent :1.39, /org/bluez/agent
bluetoothd[7523]: ../bluez-5.39/src/agent.c:agent_unref() 0x55f141fafa00: ref=0
bluetoothd[7523]: ../bluez-5.39/src/adapter.c:adapter_remove() Removing adapter /org/bluez/hci0
bluetoothd[7523]: ../bluez-5.39/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_88_79_7E_84_2C_54
bluetoothd[7523]: ../bluez-5.39/src/service.c:change_state() 0x55f141fbb9e0: device 88:79:7E:84:2C:54 profile gap-profile state changed: disconnected -> unavailable (0)

Offline

#4 2017-05-10 04:10:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Dbus error org.freedesktop.DBus.Error.NoReply for file descriptor

That's not what I asked for. Nor is it in code tags: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB