Skip to content

Crash on close when using JACK for both audio and MIDI #4688

@PhysSong

Description

@PhysSong

MidiJack reuses JACK connection from AudioJack if the audio backend is JACK. The MidiJack destructor calls MidiJack::jackClient which calls m_jackAudio->jackClient(), but m_jackAudio is already deleted at the point. It causes segmentation faults.
#4384 contains a commit(abb13bd) which addresses this issue, but the PR was closed because @justnope have deleted the account.
I believe this issue is not very hard to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions