infrequent crash when some tool is absent (racy crash?) #5263
Replies: 3 comments 2 replies
|
Using |
|
I tracked this down to using |
|
Both panics in your report are fixed, though at different times — and the second one is a different bug from the first, so it's worth splitting them. The tvl.resolve(&config, &Default::default()).await?;The first failing task therefore aborted the whole set, and the drain afterwards used Fixed on both layers:
Your The On the workarounds in this thread: @greg0ire — @jkp — your Everything here predates your |
Uh oh!
There was an error while loading. Please reload this page.
This is not perfectly reproducible i.e. there might be a race somewhere.
mise version -JI initially believe that capturing the output of mise had something to do with the issue, but in practice just doing some nonsense
mise whichtriggers the issue. I've seen one issue in CI where a stub points to an uninstalled tool producing the same error/location.On my workstation:
Managed to capture a full backtrace as well, but it's not terribly informative without symbols. In this one we witness the expected error message to show out before the backtrace shows up (and presumably, exit code 101):
The "happy path" for that error is the classic:
Finally, an observation: in CI where I saw this same error, in previous builds using an older mise we had
mise WARN failed to resolve toolseterrors for various reasons.All reactions