VCVRack / VCV-Recorder

Other
24 stars 5 forks source link

Crash when trying to start recording #49

Open ghost opened 2 years ago

ghost commented 2 years ago

CPU: Intel® Core™2 Quad Processor Q8300 OS: Windows 10 1703 Rack: Free 2.1.2 Recorder: latest

Rack crashes when I try to start recording using Recorder. It happens 100% with or without any other modules.

These actions will all trigger the crash:

Changing engine sample rate / threads, Recorder audio format / sample rate / bit depth won't help.

This bug is not new in Rack 2.1.2, it appeared after some updates of Recorder or Rack 2 that I can't remember exactly, but I didn't file an issue back then.

Here are the backtraces from gdb when the crash happens:

Thread 27 received signal SIGILL, Illegal instruction.
[Switching to Thread 9360.0x2448]
0x00007ffc7a05b970 in plugin!av_get_channel_layout_nb_channels () from C:\Users\Letheward\Documents\Rack2\plugins\VCV-Recorder\plugin.dll
(gdb) bt
#0  0x00007ffc7a05b970 in plugin!av_get_channel_layout_nb_channels () from C:\Users\Letheward\Documents\Rack2\plugins\VCV-Recorder\plugin.dll
#1  0x00007ffc79fe84e8 in plugin!avcodec_open2 () from C:\Users\Letheward\Documents\Rack2\plugins\VCV-Recorder\plugin.dll
#2  0x00007ffc7a145235 in plugin!_ZN7Encoder4openENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_iiiiii () from C:\Users\Letheward\Documents\Rack2\plugins\VCV-Recorder\plugin.dll
#3  0x00007ffc7a147862 in plugin!_ZN8Recorder5startEv () from C:\Users\Letheward\Documents\Rack2\plugins\VCV-Recorder\plugin.dll
#4  0x00007ffc7a148625 in plugin!_ZN8Recorder7processERKN4rack6engine6Module11ProcessArgsE () from C:\Users\Letheward\Documents\Rack2\plugins\VCV-Recorder\plugin.dll
#5  0x00007ffc8e95fb6a in libRack!_ZN4rack6engine6Module9doProcessERKNS1_11ProcessArgsE () from D:\Software\Rack2\libRack.dll
#6  0x00007ffc8e95ab82 in libRack!_ZN4rack6engine6Engine9stepBlockEi () from D:\Software\Rack2\libRack.dll
#7  0x00007ffc8e95b486 in libRack!_ZN4rack6engine6Engine9stepBlockEi () from D:\Software\Rack2\libRack.dll
#8  0x00007ffc91001371 in ?? () from D:\Software\Rack2\libstdc++-6.dll
#9  0x00007ffca77f4d53 in ?? () from D:\Software\Rack2\libwinpthread-1.dll
#10 0x00007ffcbc06ae06 in msvcrt!_beginthreadex () from C:\Windows\System32\msvcrt.dll
#11 0x00007ffcbc06aedc in msvcrt!_endthreadex () from C:\Windows\System32\msvcrt.dll
#12 0x00007ffcb9e82784 in KERNEL32!BaseThreadInitThunk () from C:\Windows\System32\kernel32.dll
#13 0x00007ffcbc810c31 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)