Incorrect order of surfaces destruction if XDG_RUNTIME_DIR is not set

Description

As expressed in SPEC-3623 agl-compositor does not cleanly exit on a corner case, where the black surface is created but there is an issue before the wl_display_run .

The most common case, which seemed to be XDG_RUNTIME_DIR not defined, was already covered, by performing this check prior to the surface creation, however, the underlying issue is still present.

Environment

None

Activity

Show:

Walt Miner 
December 22, 2020 at 7:36 PM

Close for KK M1

Marius Vlad 
December 14, 2020 at 10:07 AM

Fix for this has been landed in master. 

Walter Lozano 
October 28, 2020 at 5:07 PM

Hi Marius,

With similar I meant that during the exit process, specifically with the surface destroy process I received  a segfault, in the context described.

I will open a new Jira ticket and add more information about the segfault.

Marius Vlad 
October 28, 2020 at 7:50 AM

Hi,

What you mean by similar? https://lf-automotivelinux.atlassian.net/browse/SPEC-3623#icft=SPEC-3623 was related to the way/order we destroy surfaces. Care to add a a backtrace to it because I can't seem to replicate it, and if so, please open a distinct Jira ticket and just link it here.

Walter Lozano 
October 28, 2020 at 1:10 AM

I have also experienced a similar issue if I use  agl-compositor with a configuration file with the section [shell-client] with a valid command. When trying to exit a similar segfault is triggered.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Components

Priority

Created October 8, 2020 at 4:52 PM
Updated December 22, 2020 at 7:36 PM
Resolved December 14, 2020 at 10:07 AM

Flag notifications