weston crashes disconnecting bluetooth device

Fixed

Description

After the dunfel migration, running qemux86-64 image on up2 has the following issue:

When music is playing in Mediaplayer over bluetooth and attempt is made to switch to local audio weston crashes abruptly.

Another way to reproduce the crash is just disconnect a connected bluetooth phone.

This is the systemctl status from weston@display:

This is the log after the crash in dmesg:

 

This is log from pipewire just before the crash

The following lines appear right after the crash:

Environment

None

Attachments

3

Activity

Show:

Walt Miner 
July 10, 2020 at 3:14 PM

Close for JJ RC1

Scott Murray 
May 19, 2020 at 11:10 PM

Should be resolved by SMACK labelling change for :

https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24472

Marius Vlad 
May 7, 2020 at 11:19 AM

Scott Murray 
May 4, 2020 at 2:05 PM

My attempts at simple fixes with respect to the error path started getting a lot more invasive, and to the realization that there's no way around seat resource v7 support in Wayland needing memfd, so my original simple change to allow disabling it breaks a lot of assumptions.  It's unclear that adding code to force fallback to v6 to work around this is entirely a good idea, so for now I've switched gears and am digging to see if we can get some scheme of SMACK labelling to work.

Marius Vlad 
May 4, 2020 at 1:05 PM

 no problem. The log file you posted confirms our previous investigation so thanks for attaching it. 

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Hardware Platform(s) Affected

Intel Minnowboard
Intel Upsquare
QEMU x86_64
Raspberry Pi 3
Raspberry Pi 4

Components

Affects versions

Priority

Created April 30, 2020 at 10:24 AM
Updated September 9, 2024 at 8:36 PM
Resolved May 19, 2020 at 11:10 PM