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.
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.
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.