23volts / 23volts-vcv

23volts modules for VCVRack
GNU General Public License v3.0
8 stars 7 forks source link

Error hooking up a 0-10 signal to ClockM8 #39

Open sumpygump opened 2 years ago

sumpygump commented 2 years ago

I can recreate this every time. When I put a patch cable into the input #1 in the ClockM8, VCV immediately crashes.

I am using Rack 2.0.0 and I built the 23volts-vcv modules from this repo (branch 2.0, commit 3594a69).

Here is how to recreate:

  1. Add a clock module that produces a clock output. I used BPM Clock from AS, but also recreated using a square wave output from VCV LFO module (set offset to Unipolar).
  2. Add ClockM8
  3. Patch cable from Beat output from clock or square wave from LFO to input number 1 (the top input in panel).
  4. VCV Rack will crash.

Below is the relevant part (from what I can tell) from the crash report:

Thread 4 Crashed:
0   libsystem_kernel.dylib          0x00007fff2032e92e __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff2035d5bd pthread_kill + 263
2   libsystem_c.dylib               0x00007fff202b2406 abort + 125
3   com.vcvrack.rack                0x00000001067ed4ee fatalSignalHandler(int) + 366
4   libsystem_platform.dylib        0x00007fff203a2d7d _sigtramp + 29
5   ???                             0x00006000024e1500 0 + 105553154938112
6   plugin.dylib                    0x000000000b9c3602 ClockM8::process(rack::engine::Module::ProcessArgs const&) + 1842
7   libRack.dylib                   0x00000001069283bf rack::engine::Module::doProcess(rack::engine::Module::ProcessArgs const&) + 143
8   libRack.dylib                   0x0000000106921143 rack::engine::Engine::stepBlock(int) + 1411
9   libRack.dylib                   0x0000000106925e64 rack::engine::Engine_fallbackRun(rack::engine::Engine*) + 340
10  libRack.dylib                   0x0000000106926a5c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(rack::engine::Engine*), rack::engine::Engine*> >(void*) + 44
11  libsystem_pthread.dylib         0x00007fff2035d8fc _pthread_start + 224
12  libsystem_pthread.dylib         0x00007fff20359443 thread_start + 15

Model: MacBookPro13,3, BootROM 429.140.8.0.0, 4 processors, Quad-Core Intel Core i7, 2.6 GHz, 16 GB, SMC 2.38f12
Graphics: kHW_IntelHDGraphics530Item, Intel HD Graphics 530, spdisplays_builtin
Graphics: kHW_AMDRadeonPro450Item, AMD Radeon Pro 450, spdisplays_pcie_device, 2 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1680.8)
Bluetooth: Version 8.0.5d7, 3 services, 18 devices, 1 incoming serial ports
Network Service: USB 10/100/1000 LAN 2, Ethernet, en8
Network Service: Wi-Fi, AirPort, en0