Skip to content
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

midis randomly stop playing because of thread thing #5504

Open
deltanedas opened this issue Oct 28, 2024 · 4 comments
Open

midis randomly stop playing because of thread thing #5504

deltanedas opened this issue Oct 28, 2024 · 4 comments

Comments

@deltanedas
Copy link
Contributor

it will stop playing and [DEBG] clyde.oal: Cleaning out buffered source X which finalized in another thread. in log
use after free gmaing

happens on linux and i assume windows from 2 pAIs and their user

@PJB3005
Copy link
Member

PJB3005 commented Oct 28, 2024

use after free gmaing

Uh, that's not a use after free, that means the MIDI system dropped the reference somehow and it (correctly) got finalized.

@metalgearsloth
Copy link
Contributor

metalgearsloth commented Oct 29, 2024

MIDI runs on its own thread so isn't this always going to log.

@deltanedas
Copy link
Contributor Author

it happens randomly, sometimes a whole midi can play sometimes it gets cut off a few seconds after starting

@metalgearsloth
Copy link
Contributor

Would be useful to have a debug overlay to see sources active + counts and a check for the highest ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants