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

Fix crash due to concurrent access in MidiController (Alternative) #14159

Open
wants to merge 6 commits into
base: 2.5
Choose a base branch
from

Conversation

daschuer
Copy link
Member

This is an alternative to fix #13940

I have not yet fully understand the issue though. But this should help to uncover it.

@daschuer
Copy link
Member Author

@mxmilkiib Can you check out his?

@daschuer
Copy link
Member Author

@mxmilkiib I have added mutex with debug Information.
This will hopefully finally fix the crash. However It needs some polishing.
Please Test and provide the mixxx.log. (or the backtrace if it is still crashing)

@daschuer
Copy link
Member Author

@mxmilkiib Does this still crash?

@mxmilkiib
Copy link
Contributor

yes

maaaybe this is config file related, removing files manually but Mixxx not forgetting

can't remember the state from before though

@daschuer
Copy link
Member Author

Can you please share the mixxx.log of the crash?
A backtrace is also helpful.

@mxmilkiib
Copy link
Contributor

ah this is the older issue

I'll see if I can replicate now, not had any recent ones for this issue though, building from this branch that is

@daschuer
Copy link
Member Author

Cool, please also share the mixxx.log from a short test run without crash. This will help me polishing.

@mxmilkiib
Copy link
Contributor

mxmilkiib commented Jan 30, 2025

https://gist.github.com/mxmilkiib/b223874ec20f85b07840b7e0d2a5ba55

I managed to make it crash, on clicking play though.

DEBUG ASSERT: "it == cbegin() || it == cend() || *it >= position" in function mixxx::Beats::ConstIterator mixxx::Beats::iteratorFrom(mixxx::audio::FramePos) const at ./src/track/beats.cpp:470

Otherwise, no problem experienced (except the waveforms were lo res, idk).

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

Successfully merging this pull request may close these issues.

qhash.h:790 ASSERT on multiple MIDI messages in quick succession
2 participants