Various problems with Instro in linux
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 101
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm getting only noises and glitches with Instro on Linux, whatever instrument is chosen. Also with gate and v/o connected, I got a crash selecting the drum instrument.
This is my system, from Rack's log.txt:
[0.000 info src/main.cpp:119] VCV Rack v1.1.6
[0.000 info src/main.cpp:120] Linux 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000 x86_64
The RJModules version installed:
[0.145 info src/plugin.cpp:154] Loaded plugin RJModules v1.7.2 from /home/gg/.Rack/plugins-v1/RJModules
The crash log with drum:
[12.261 fatal src/main.cpp:45] Fatal signal 6. Stack trace:
18: ./Rack() [0x56d2b1]
17: /usr/lib/libc.so.6(+0x3c3e0) [0x7f87db1483e0]
16: /usr/lib/libc.so.6(gsignal+0x145) [0x7f87db148355]
15: /usr/lib/libc.so.6(abort+0x127) [0x7f87db131853]
14: /usr/lib/libstdc++.so.6(+0x9686a) [0x7f87db4ca86a]
13: /usr/lib/libstdc++.so.6(+0xa2d8a) [0x7f87db4d6d8a]
12: /usr/lib/libstdc++.so.6(+0xa2df7) [0x7f87db4d6df7]
11: /usr/lib/libstdc++.so.6(+0xa309e) [0x7f87db4d709e]
10: /home/gg/.Rack/plugins-v1/RJModules/plugin.so(_ZN3stk3Stk11handleErrorENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8StkError4TypeE+0x1a8) [0x7f87ce7d1e42]
9: /home/gg/.Rack/plugins-v1/RJModules/plugin.so(_ZNK3stk3Stk11handleErrorENS_8StkError4TypeE+0xd7) [0x7f87ce7d1f31]
8: /home/gg/.Rack/plugins-v1/RJModules/plugin.so(_ZN3stk8FileRead4readERNS_9StkFramesEmb+0x1bd) [0x7f87ce86de4b]
7: /home/gg/.Rack/plugins-v1/RJModules/plugin.so(_ZN3stk8FileWvIn8openFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbb+0x153) [0x7f87ce779fa7]
6: /home/gg/.Rack/plugins-v1/RJModules/plugin.so(_ZN3stk7Drummer6noteOnEdd+0x31f) [0x7f87ce82b2c9]
5: /home/gg/.Rack/plugins-v1/RJModules/plugin.so(_ZN6Instro7processERKN4rack6engine6Module11ProcessArgsE+0x3c67) [0x7f87ce836e77]
4: ./Rack() [0x5b5da3]
3: ./Rack() [0x5b84af]
2: /usr/lib/libstdc++.so.6(+0xcff12) [0x7f87db503f12]
1: /usr/lib/libpthread.so.0(+0x9422) [0x7f87dbeb1422]
0: /usr/lib/libc.so.6(clone+0x43) [0x7f87db20bbf3]
This is output on the console:
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
Instrmnt::controlChange: virtual function call!
FileRead: Error reading file data.
terminate called after throwing an instance of 'stk::StkError'
Aborted (core dumped)
Thanks for your modules and work!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report on Linux with VCV Rack v1.1.6 and RJModules v1.7.2, then inspect the Instro::process stack-trace path involving STK Drummer, FileRead, and the repeated controlChange errors. Compare instrument output with and without gate/V/O connections. Done means instruments produce usable sound and selecting the drum instrument no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- audio-video-rtc, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100