bluez crashs on RCAR3 during a2dp streaming

Description

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: /org/bluez/hci0/dev_5C_AF_06_B0_7D_39/fd0: fd(23) ready

Apr 23 05:08:36 m3ulcb audit[2863]: AVC lsm=SMACK fn=smack_file_receive action=denied subject="System" object="_" requested=w pid=2863 comm="dbus-daemon" path="socket:[10572]" dev="sockfs" ino=10572

Apr 23 05:08:36 m3ulcb audit[2863]: SYSCALL arch=c00000b7 syscall=212 success=yes exit=72 a0=1c a1=ffffe8cb8300 a2=40000000 a3=0 items=0 ppid=1 pid=2863 auid=4294967295 uid=994 gid=994 euid=994 suid=994 fsuid=994 egid=994 sgid=994 fsgid=994 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/usr/bin/dbus-daemon" subj=System key=(null)

Apr 23 05:08:36 m3ulcb kernel: audit: type=1400 audit(1492924116.474:8): lsm=SMACK fn=smack_file_receive action=denied subject="System" object="_" requested=w pid=2863 comm="dbus-daemon" path="socket:[10572]" dev="sockfs" ino=10572

Apr 23 05:08:36 m3ulcb kernel: audit: type=1300 audit(1492924116.474:8): arch=c00000b7 syscall=212 success=yes exit=72 a0=1c a1=ffffe8cb8300 a2=40000000 a3=0 items=0 ppid=1 pid=2863 auid=4294967295 uid=994 gid=994 euid=994 suid=994 fsuid=994 egid=994 sgid=994 fsgid=994 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/usr/bin/dbus-daemon" subj=System key=(null)

Apr 23 05:08:36 m3ulcb kernel[2855]: [   94.162815] audit: type=1400 audit(1492924116.474:8): lsm=SMACK fn=smack_file_receive action=denied subject="System" object="_" requested=w pid=2863 comm="dbus-daemon" path="socket:[10572]" dev="sockfs" ino=10572

Apr 23 05:08:36 m3ulcb kernel[2855]: [   94.182600] audit: type=1300 audit(1492924116.474:8): arch=c00000b7 syscall=212 success=yes exit=72 a0=1c a1=ffffe8cb8300 a2=40000000 a3=0 items=0 ppid=1 pid=2863 auid=4294967295 uid=994 gid=994 euid=994 suid=994 fsuid=994 egid=994 sgid=994 fsgid=994 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/usr/bin/dbus-daemon" subj=System key=(null)

Apr 23 05:08:36 m3ulcb audit: PROCTITLE proctitle=2F7573722F62696E2F646275732D6461656D6F6E002D2D73797374656D002D2D616464726573733D73797374656D643A002D2D6E6F666F726B002D2D6E6F70696466696C65002D2D73797374656D642D61637469766174696F6E

Apr 23 05:08:36 m3ulcb kernel: audit: type=1327 audit(1492924116.474:8): proctitle=2F7573722F62696E2F646275732D6461656D6F6E002D2D73797374656D002D2D616464726573733D73797374656D643A002D2D6E6F666F726B002D2D6E6F70696466696C65002D2D73797374656D642D61637469766174696F6E

Apr 23 05:08:36 m3ulcb kernel[2855]: [   94.214549] audit: type=1327 audit(1492924116.474:8): proctitle=2F7573722F62696E2F646275732D6461656D6F6E002D2D73797374656D002D2D616464726573733D73797374656D643A002D2D6E6F666F726B002D2D6E6F70696466696C65002D2D73797374656D642D61637469766174696F6E

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: Disconnected from D-Bus. Exiting.

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: Endpoint unregistered: sender=:1.15 path=/MediaEndpoint/A2DPSource

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: Endpoint unregistered: sender=:1.15 path=/MediaEndpoint/A2DPSink

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: No reply to Suspend request

Apr 23 05:08:36 m3ulcb ofonod[2859]: Aborting (signal 11) /usr/sbin/ofonod

Apr 23 05:08:36 m3ulcb systemd[1]: ofono.service: Main process exited, code=exited, status=1/FAILURE

Apr 23 05:08:36 m3ulcb systemd[1]: ofono.service: Unit entered failed state.

Apr 23 05:08:36 m3ulcb systemd[1]: ofono.service: Failed with result 'exit-code'.

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: GLib: g_source_remove: assertion 'tag > 0' failed

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: Stopping SDP server

Apr 23 05:08:36 m3ulcb bluetoothd[4157]: Exit

Environment

After playing streaming a2dp audio for a short period of time on rcar3 the bluez daemon crashs due to a SMACK ACL issue.

Activity

Show:

Walt Miner 
May 24, 2017 at 8:56 PM

Close for Dab RC1

Matt Ranostay 
May 15, 2017 at 3:47 PM

Smack patchsets merged

Jose Bollo 
May 15, 2017 at 9:03 AM

, the commit is now merged in meta-agl. May I close the issue? If you can test it would be great. Otherwise, from tests made by my side I'll close it. Regards.

Jose Bollo 
May 11, 2017 at 3:27 PM

Same issue that . kernel 4.9 doesn't include the corrections.

Matt Ranostay 
May 2, 2017 at 1:07 PM

 pair with mobile phone,  run a mobile media application of your choice (e.g. Apple Music, Google Play, Amazon Prime) and select device as your output.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created April 23, 2017 at 5:16 AM
Updated May 24, 2017 at 8:56 PM
Resolved May 15, 2017 at 3:47 PM