Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiprocess operations can lead to spinner deadlock #172

Open
cmatsuoka opened this issue Aug 25, 2023 · 0 comments
Open

Multiprocess operations can lead to spinner deadlock #172

cmatsuoka opened this issue Aug 25, 2023 · 0 comments

Comments

@cmatsuoka
Copy link
Contributor

Bug Description

There is a bad interaction between the way we perform overlay operations (a chroot in a multiprocess-created subprocess) and the way craft applications indicate progress on the cli (a spinner in a thread).

The consequence of the bad interaction is that trying to write an info message to the terminal ends up deadlocking the main thread in the subprocess because the thread that could unblock it does not exist.

See canonical/craft-parts#535.

To Reproduce

TODO

part yaml

No response

Relevant log output

TODO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant