mixxxdj / mixxx

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

ControlDoublePrivate::getControl returning NULL for ( "[Channel3]" , "beats_set_halve" ) #13263

Closed mxmilkiib closed 4 months ago

mxmilkiib commented 4 months ago

Bug Description

On main, intermittent, after loading a track to deck 1, then waiting several seconds;

...
warning [Thread (pooled)] fromIccProfile: failed minimal tag size sanity
warning [Controller] ControlDoublePrivate::getControl returning NULL for ( "[Channel3]" , "beats_set_halve" )
DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at ./src/control/control.cpp:203
zsh: IOT instruction (core dumped)  ./mixxx
./mixxx  20.32s user 7.21s system 41% cpu 1:07.03 total
           PID: 50586 (mixxx)
           UID: 1000 (milk)
           GID: 1000 (milk)
        Signal: 6 (ABRT)
     Timestamp: Wed 2024-05-22 21:09:48 BST (9min ago)
  Command Line: ./mixxx
    Executable: /home/milk/src/mixxx/build/mixxx
 Control Group: /user.slice/user-1000.slice/session-9.scope
          Unit: session-9.scope
         Slice: user-1000.slice
       Session: 9
     Owner UID: 1000 (milk)
       Boot ID: d13a5bce378846f6a6837bed51b53de0
    Machine ID: 13e3e2ee85664436b5512c752462b86b
      Hostname: red
       Storage: /var/lib/systemd/coredump/core.mixxx.1000.d13a5bce378846f6a6837bed51b53de0.50586.1716408588000000.zst (present)
  Size on Disk: 117.8M
       Message: Process 50586 (mixxx) of user 1000 dumped core.

                Stack trace of thread 50670:
                #0  0x000076d060bb332c n/a (libc.so.6 + 0x8d32c)
                #1  0x000076d060b626c8 raise (libc.so.6 + 0x3c6c8)
                #2  0x000076d060b4a4b8 abort (libc.so.6 + 0x244b8)
                #3  0x000076d06128c6ac n/a (libQt6Core.so.6 + 0x8c6ac)
                #4  0x000076d06128cebd _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x8cebd)
                #5  0x00005f68a5495a89 n/a (/home/milk/src/mixxx/build/mixxx + 0xe8ca89)
                #6  0x00005f68a47c4044 n/a (/home/milk/src/mixxx/build/mixxx + 0x1bb044)
                ELF object binary architecture: AMD x86-64

Version

2.5-alpha

OS

No response

Swiftb0y commented 4 months ago

I'm sorry but this stacktrace isn't very usable. Where did you get this build from? compiling with -DDEBUG_ASSERTIONS_FATAL while removing the debug symbols doesn't make much sense. Ensure you compile with -DCMAKE_BUILD_TYPE=Debug to get proper stacktraces.

mxmilkiib commented 4 months ago

Hmm, yes, just realised that, whilst I was on main and did a git pull after not updating in a while, I was provided with what turns out to be 2.4-alpha-1723-gbee7674d9e (main), exposing my ignorance as to how the damn tool works.

I use cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_USER_UDEV_RULES=OFF \ -DOPTIMIZE=native \ -DQT6=ON \ -DBULK=ON \ -DFAAD=ON \ -DLILV=ON \ -DFFMPEG=ON \ -DKEYFINDER=ON \ -DMAD=ON \ -DMODPLUG=ON \ -DOPUS=ON \ -DQTKEYCHAIN=ON \ -DWAVPACK=ON \ -DCMAKE_BUILD_TYPE=Debug \ -DDEBUG_ASSERTIONS_FATAL=ON .. each time before make.

Ugh, I'll just rm -rf and pull afresh.