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

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

Closed
mixxxbot opened this issue Aug 23, 2022 · 3 comments
Closed

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

mixxxbot opened this issue Aug 23, 2022 · 3 comments
Labels
Milestone

Comments

@mixxxbot
Copy link
Collaborator

Reported by: daschuer
Date: 2021-10-12T23:57:17Z
Status: Fix Committed
Importance: High
Launchpad Issue: lp1946812


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
```
@mixxxbot mixxxbot added the bug label Aug 23, 2022
@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2021-10-13T19:21:52Z


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

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2021-10-15T10:51:06Z


#4421

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Committed.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.4.0 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant