Debug assert when changing from 2- to 4-deck skins

Bug #1946812 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Committed
High
Daniel Schürmann

Bug Description

When changing from Shade to Tango skin some debug assertions are violated:

```
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel3]" , "end_of_track" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel3]" , "time_remaining" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
debug [Main] WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 2
debug [Main] Created QGLWidget. Context Valid: true Sharing: true
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel4]" , "end_of_track" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel4]" , "time_remaining" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
```

snip

```
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel3]" , "end_of_track" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel3]" , "time_remaining" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
debug [Main] Created QGLWidget. Context Valid: true Sharing: true
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel4]" , "end_of_track" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
warning [Main] ControlDoublePrivate::getControl returning NULL for ( "[Channel4]" , "time_remaining" )
critical [Main] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at /home/daniel/workspace/2.3/src/control/control.cpp:186
critical [Main] DEBUG ASSERT: "flags & ControlFlag::AllowMissingOrInvalid" in function ControlProxy::ControlProxy(const ConfigKey&, QObject*, ControlFlags) at /home/daniel/workspace/2.3/src/control/controlproxy.cpp:16
```

Revision history for this message
ronso0 (ronso0) wrote :

I'm pretty sure it happens when switching to any 4-deck skin.
See https://mixxx.zulipchat.com/#narrow/stream/247620-development-help/topic/qDebug.20messages.20with.20DEBUG_ASSERTIONS_FATAL

IF it happened, it did for various COs, all of Channel3

Changed in mixxx:
status: New → Confirmed
Changed in mixxx:
assignee: nobody → Daniel Schürmann (daschuer)
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
ronso0 (ronso0) wrote :
summary: - Debug assert when changing to Tango skin
+ Debug assert when changing from 2- to 4-deck skins
Changed in mixxx:
milestone: none → 2.4.0
Changed in mixxx:
status: In Progress → Fix Committed
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/10558

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.