← Back to issue list

Multiprocess operations can lead to spinner deadlock

View original Github issue

Metadata

Project
craft-cli
Number
#172
Type
issue
State
open
Author
cmatsuoka
Labels
Created
2023-08-25 13:23:21+00:00
Updated
2023-08-25 13:23:21+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### 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 https://github.com/canonical/craft-parts/pull/535. ### To Reproduce TODO ### part yaml _No response_ ### Relevant log output ```shell TODO ```

Evaluation history

No evaluation history available.