Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Plugin crashes are not always properly detected #97

Description

@jvanstraten

This is probably two issues, but I haven't investigated it fully yet. Ultimately what can happen is that DQCsim hangs when a plugin fatally crashes, specifically when an upstream plugin desyncs with a downstream plugin. So, two problems:

  • The crashing plugin should propagate its error message upstream.
  • Even if a plugin crashes so hard that it doesn't send this message, DQCsim should not wait indefinitely. It should periodically timeout its message fetching logic to check that all plugins are still alive, and propagate an error upstream if they aren't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglang:rust 🦀Involves the Rust crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions