-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
incusd crashes when a message is written to console websocket #1449
Comments
I found a potentical cause. incus/cmd/incusd/instance_console.go Lines 290 to 327 in c2f4950
When incus/cmd/incusd/instance_console.go Line 324 in c2f4950
and Line 92 in c2f4950
so can't we remove the first WriteMessage, which is called without mutex? |
Required information
incus info
Issue description
When I opened
Text console
of a VM/Container on Web UI and then moved to another pane likeConfiguration
, incusd crashed with the following output:or
Steps to reproduce
I can reproduce the problem by
Text console
of a containerConfiguration
After some tries, incusd will crash.
However, I'm still looking for a way to reproduce this with CLI or a Go program.
Information to attach
[ ] Any relevant kernel output (dmesg
)[ ] Container log (incus info NAME --show-log
)[ ] Container configuration (incus config show NAME --expanded
)[ ] Output of the client with --debugincus monitor --pretty
while reproducing the issue)The text was updated successfully, but these errors were encountered: