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

hack around macOS segfault on startup #2635

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

Be-ing
Copy link
Contributor

@Be-ing Be-ing commented Apr 8, 2020

https://bugs.launchpad.net/mixxx/+bug/1871238

I don't know why this is leading to a segfault, but if I understand correctly this code is only needed on Linux anyway.

@uklotzde
Copy link
Contributor

uklotzde commented Apr 8, 2020

The only subtle difference that I noticed is that the charcter literal is explicitly wrapped into a QStringLiteral() in the Qt docs:

https://doc.qt.io/qt-5/qloggingcategory.html#setFilterRules

Worth a try? I'm not sure if the implicit string conversion at runtime might affect this crash and why.

@Be-ing
Copy link
Contributor Author

Be-ing commented Apr 8, 2020

Alright, I'll merge this and get a master build going for someone on macOS to test. If this doesn't fix the crash, it probably doesn't hurt anything either. And if it does hurt something, it would be trivial to revert.

@Be-ing Be-ing merged commit 34bd086 into mixxxdj:master Apr 8, 2020
@Be-ing Be-ing deleted the macos_segfault_hack branch April 8, 2020 08:03
daschuer added a commit to daschuer/mixxx that referenced this pull request Nov 16, 2021
@daschuer daschuer mentioned this pull request Nov 16, 2021
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

Successfully merging this pull request may close these issues.

2 participants