Skip to content

Deadlock when deactivating the client after the server has shut down #219

@kunerd

Description

@kunerd

Hi,

I'm trying to make my GUI app a jack client and would like to handle the case of a server shutdown with an automatic retry. Unfortunately, I either ran into a problem, where my working thread hangs, or I if I start the async client in another thread, I get a SEGFAULT as soon as I try to stop it.
It's very likely, that I'm doing something wrong here.

I have build a stripped down minimal example here:
https://github.com/kunerd/rust_jack_threading/tree/segfault

The main branch contains my previous attempt without the additional thread.

I really would appreciate some help on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions