Skip to content

New tui table input handler sometimes panics #807

@roosterfish

Description

@roosterfish

In some occasions the new tui table input handler panics:

github.com/canonical/microcloud/microcloud/cmd/tui.(*InputHandler).getAllRows(0xc00031a550) panics panic: runtime error: index out of range [4] with length 4

The most recently observed errors are tracked in #653.

Most probably we the table's lock isn't obtained at all the necessary places which causes the internal table rows to get out of sync which then causes the panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConfirmed to be a bugJiraAllows the synchronization of a GitHub issue in Jira

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions