-
-
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
DEBUG ASSERT (2) in effects_refactoring branch #10582
Comments
Commented by: Be-ing Please elaborate how to reproduce this. |
Commented by: daschuer I was able to reproduce it by de-installing an LV2 plugin. However this was nothing I have done in the first place. So I guess there must be something else wrong. |
Commented by: daschuer Got it. The issue is that EffectPresetManager::loadDefaultEffectPresets tries to create a preset for every file it finds in the directory. In case of an non existing effect, it has a preset with a null manifest, causing the assertion. This can be fixed by only looking up files for existing effecs. |
Commented by: Be-ing What is the solution? Log a warning instead of an assertion? |
Commented by: daschuer The issue is that all the sorrounding code is not aware of a failure. |
This assertion is no longer in the code. |
Reported by: daschuer
Date: 2021-10-23T17:49:06Z
Status: Confirmed
Importance: High
Launchpad Issue: lp1948540
I see this as start up:
critical[Main] DEBUG ASSERT: "m_registeredEffects.contains(effectId)" in function virtual EffectManifestPointer BuiltInBackend::getManifest(const QString&) const at /home/daniel/workspace/i18n/src/effects/backends/builtin/builtinbackend.cpp:91
This happens if an configured effect is no longer enabled for some reasons.
The text was updated successfully, but these errors were encountered: