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

SoundManager: Restore qHash() behavior #2801

Merged
merged 2 commits into from
May 22, 2020
Merged

SoundManager: Restore qHash() behavior #2801

merged 2 commits into from
May 22, 2020

Conversation

uklotzde
Copy link
Contributor

@uklotzde uklotzde commented May 17, 2020

Follow-up of #2762

The AudioPath hashing (and operator==/!=) MUST NOT (for whatever reason) include the m_channelGroup member. Otherwise switching devices will crash Mixxx caused by memory corruption in QHashData.

I still see crashes when exiting Mixxx with the controller connected.

@uklotzde uklotzde added this to the 2.4.0 milestone May 17, 2020
@uklotzde uklotzde changed the title SoundManager: Partially restore qHash() behavior SoundManager: Restore qHash() behavior May 17, 2020
Copy link
Member

@Holzhaus Holzhaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Holzhaus Holzhaus merged commit 058e259 into mixxxdj:master May 22, 2020
@uklotzde uklotzde deleted the qhash branch May 27, 2020 21:12
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.

2 participants