-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
lp1956144 prevent segmentation fault when using midi.sendShortMsg and platform vnc. #4619
Conversation
Controller logging categories (with --controllerDebug support)
for compatibility with HidController::poll
Fix library track selection, save model state
WEffectChainPresetSelector: don't set elide padding in c++
CMake: remove obsolete references to files generated by scons
remove autogenerated code from ChannelMixer
ChannelMixer: Use range-based for loops
Fix isDirty() signature and semantics
rename maybeStartOrStopPolling to pollIfAnyControllersOpen
This allows for multiple CMake build directories, for example build-qt5, build-qt6, build-vcpkg.
gitignore: change /build to /build*
WTrackMenu: add Remove From Disk action
WTrackMenu: Add missing feature to all features enum variant
Thanks for submitting a patch. Unfortunately, this will make an expensive string comparison on every single received MIDI message. If we want to add this workaround it should be added to the Screensaver inhibitor, where this check can be done once during startup, not every time the controller sends a packet (the platform won't change while mixxx is running). |
Thanks for the feedback, understand and agree on what you are saying. I dont have the right experience to make such patch. |
Could you check if the crash is fixed if you replace lines 177-178 in if (display != nullptr) {
XResetScreenSaver(display);
XCloseDisplay(display);
} |
Just recompiled, looks like your change is working too. |
Alright, can you update the PR? You do that with |
Also, please rebase on the https://github.com/mixxxdj/mixxx/wiki/Using%20Git#targeting-another-base-branch |
…idi.sendShortMsg is resulting in a segmentation fault. This is because of the used triggerActivity() function to bump the x11 screensaver timer to prevent the sceensaver to popup. Workaround is to check the platform, and if its vnc, skip the triggerActivity() function.
I think its right now, same bug also appears in the main branche. |
You didn't rebase yet, can you please run:
And then force-push again. |
...and then squash those 3 commits into 1? Simply run This will give you an editor view similiar to this with an explanation underneath
At the top is the first (oldest) commit. In that line, replace |
The rebased branch is here: #4635 |
@admindotnu I like to add your name to the contributor list in the Mixxx about box. Shall I use your full name or just your first name or your GitHub user name? |
When starting mixxx from the command line, and using -platform vnc. midi.sendShortMsg is resulting in a segmentation fault. This is because of the used triggerActivity() function to bump the x11 screensaver timer to prevent the sceensaver to popup.
Workaround is to check the platform, and if its vnc, skip the triggerActivity() function.