mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.39k stars 1.26k forks source link

DEBUG ASSERT: "pManifest.isNull() == pEffectPreset.isNull()" #11290

Open JoergAtGithub opened 1 year ago

JoergAtGithub commented 1 year ago

Bug Description

I ran into the following DEBUG ASSERT at startup:

DEBUG ASSERT: "pManifest.isNull() == pEffectPreset.isNull()" in function void __cdecl EffectSlot::loadEffectInner(const class QSharedPointer<class EffectManifest>,class QSharedPointer<class EffectPreset>,bool) at C:\Users\Joerg.WORLDWARTWEB\source\repos\JoergAtGithub\mixxx\src\effects\effectslot.cpp:274

grafik

It appears with the effects.xml in the attached zip file. If I delete this file, Mixxx starts up without assert.

effects.zip

Version

2.4.0

OS

Windows 11

ronso0 commented 1 year ago

Is the effect with the id http://drobilla.net/plugins/mda/Degrade installed? never mind..

ronso0 commented 1 year ago

what is logged just before the assert? https://github.com/mixxxdj/mixxx/blob/7307fc9df44794bbc222d09b77db0c27449f88bc/src/effects/effectslot.cpp#L260-L269

JoergAtGithub commented 1 year ago
info [Main] CoreServices - Initializing or upgrading database schema
info [Main] SchemaManager - Database schema is up-to-date at version 39
debug [Main] LV2Manifest: plugin "MaBitcrush" has custom unit "bits" for parameter "resolution"
debug [Main] LV2Manifest: plugin "DIE Compressor" has custom unit " " for parameter "Ratio"
debug [Main] LV2Manifest: plugin "DIE Compressor (stereo)" has custom unit " " for parameter "Ratio"
debug [Main] LV2Manifest: plugin "DIE Expander" has custom unit " " for parameter "Ratio"
debug [Main] LV2Manifest: plugin "DIE Expander (stereo)" has custom unit " " for parameter "Ratio"
Failed to load libjack DLL: 2028291552libjack not found, so do not try to load  jack_client_open ffs  !
debug [Main] EngineNetworkStream - addWorker: worker added
debug [Main] EngineNetworkStream - worker slots used: "1 out of 16"
debug [Main] BroadcastManager - addConnection: created connection for profile "Connection 1"
debug [Main] "EffectChain([EqualizerRack1_[Channel1]])" addEffectSlot "[EqualizerRack1_[Channel1]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel1]])" addEffectSlot "[QuickEffectRack1_[Channel1]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel1]])" addEffectSlot "[QuickEffectRack1_[Channel1]_Effect2]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel1]])" addEffectSlot "[QuickEffectRack1_[Channel1]_Effect3]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel1]])" addEffectSlot "[QuickEffectRack1_[Channel1]_Effect4]"
debug [Main] "EffectChain([EqualizerRack1_[Channel2]])" addEffectSlot "[EqualizerRack1_[Channel2]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel2]])" addEffectSlot "[QuickEffectRack1_[Channel2]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel2]])" addEffectSlot "[QuickEffectRack1_[Channel2]_Effect2]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel2]])" addEffectSlot "[QuickEffectRack1_[Channel2]_Effect3]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel2]])" addEffectSlot "[QuickEffectRack1_[Channel2]_Effect4]"
debug [Main] "EffectChain([EqualizerRack1_[Channel3]])" addEffectSlot "[EqualizerRack1_[Channel3]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel3]])" addEffectSlot "[QuickEffectRack1_[Channel3]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel3]])" addEffectSlot "[QuickEffectRack1_[Channel3]_Effect2]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel3]])" addEffectSlot "[QuickEffectRack1_[Channel3]_Effect3]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel3]])" addEffectSlot "[QuickEffectRack1_[Channel3]_Effect4]"
debug [Main] "EffectChain([EqualizerRack1_[Channel4]])" addEffectSlot "[EqualizerRack1_[Channel4]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel4]])" addEffectSlot "[QuickEffectRack1_[Channel4]_Effect1]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel4]])" addEffectSlot "[QuickEffectRack1_[Channel4]_Effect2]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel4]])" addEffectSlot "[QuickEffectRack1_[Channel4]_Effect3]"
debug [Main] "EffectChain([QuickEffectRack1_[Channel4]])" addEffectSlot "[QuickEffectRack1_[Channel4]_Effect4]"
debug [Main] "EffectChain([EffectRack1_EffectUnit1])" addEffectSlot "[EffectRack1_EffectUnit1_Effect1]"
debug [Main] "EffectChain([EffectRack1_EffectUnit1])" addEffectSlot "[EffectRack1_EffectUnit1_Effect2]"
debug [Main] "EffectChain([EffectRack1_EffectUnit1])" addEffectSlot "[EffectRack1_EffectUnit1_Effect3]"
debug [Main] "EffectChain([EffectRack1_EffectUnit1])" addEffectSlot "[EffectRack1_EffectUnit1_Effect4]"
debug [Main] "EffectChain([EffectRack1_EffectUnit2])" addEffectSlot "[EffectRack1_EffectUnit2_Effect1]"
debug [Main] "EffectChain([EffectRack1_EffectUnit2])" addEffectSlot "[EffectRack1_EffectUnit2_Effect2]"
debug [Main] "EffectChain([EffectRack1_EffectUnit2])" addEffectSlot "[EffectRack1_EffectUnit2_Effect3]"
debug [Main] "EffectChain([EffectRack1_EffectUnit2])" addEffectSlot "[EffectRack1_EffectUnit2_Effect4]"
debug [Main] "EffectChain([EffectRack1_EffectUnit3])" addEffectSlot "[EffectRack1_EffectUnit3_Effect1]"
debug [Main] "EffectChain([EffectRack1_EffectUnit3])" addEffectSlot "[EffectRack1_EffectUnit3_Effect2]"
debug [Main] "EffectChain([EffectRack1_EffectUnit3])" addEffectSlot "[EffectRack1_EffectUnit3_Effect3]"
debug [Main] "EffectChain([EffectRack1_EffectUnit3])" addEffectSlot "[EffectRack1_EffectUnit3_Effect4]"
debug [Main] "EffectChain([EffectRack1_EffectUnit4])" addEffectSlot "[EffectRack1_EffectUnit4_Effect1]"
debug [Main] "EffectChain([EffectRack1_EffectUnit4])" addEffectSlot "[EffectRack1_EffectUnit4_Effect2]"
debug [Main] "EffectChain([EffectRack1_EffectUnit4])" addEffectSlot "[EffectRack1_EffectUnit4_Effect3]"
debug [Main] "EffectChain([EffectRack1_EffectUnit4])" addEffectSlot "[EffectRack1_EffectUnit4_Effect4]"
debug [Main] "EffectChain([OutputEffectRack_[Master]])" addEffectSlot "[OutputEffectRack_[Master]_Effect1]"
debug [Main] EffectSlot(0x1f87c8447a0) "[EffectRack1_EffectUnit1_Effect1]" unloading effect
DEBUG ASSERT: "pManifest.isNull() == pEffectPreset.isNull()" in function void __cdecl EffectSlot::loadEffectInner(const class QSharedPointer<class EffectManifest>,class QSharedPointer<class EffectPreset>,bool) at C:\Users\Joerg.WORLDWARTWEB\source\repos\JoergAtGithub\mixxx\src\effects\effectslot.cpp:274
ronso0 commented 1 year ago

ahhm, yes.. forgot to mention you need to enable kEffectDebugOutput in src/effects/defs.h