Crash with "Orange Line"

Hello,

I’m working on the two vcv files emulating “Moog Labyrinth”, from Omri Cohen and Davevenom. VCV RAck crashes when I import these files, but also on my own patch at the moment I import the “Orange line” module. It crashes about 15’’ after imported. Here is the log file. I can’t see anything special in it.

W11, VCV Rack 2.5.2

Any idea? Alain (Synthé Buel)

log.txt (121.4 KB)

i can’t add any unique or additional info about this crash myself, other than to confirm that i, too, get an almost immediate crash when adding Orange Line “Morpheus” to my patch. my log file looks the same - no mention anywhere of any issues occurring, just a straight crash-to-desktop.

Using a GDB debug session I get this in my Rack log (no GDB trace)

[1178.446 fatal adapters/standalone.cpp:49 fatalSignalHandler] Fatal signal 22. Stack trace:
22:  0x0
21: raise 0x7ffb10bbabe0
20: abort 0x7ffb10bbf1e0
19: wassert 0x7ffb10bbd210
18: ZN4rack6engine6Engine24updateParamHandle_NoLockEPNS0_11ParamHandleExib 0x7ffab0370340
17: ZN4rack6engine6Engine17updateParamHandleEPNS0_11ParamHandleExib 0x7ffab0370510
16: ZN17PatchMasterWidget4stepEv 0x7ffa9ea9b620
15: ZN4rack6widget6Widget4stepEv 0x7ffab0388ce0
14: ZN4rack6widget6Widget4stepEv 0x7ffab0388ce0
13: ZN4rack6widget6Widget4stepEv 0x7ffab0388ce0
12: ZN4rack6widget6Widget4stepEv 0x7ffab0388ce0
11: ZN4rack6widget6Widget4stepEv 0x7ffab0388ce0
10: ZN4rack2ui12ScrollWidget4stepEv 0x7ffab03812d0
9: ZN4rack3app16RackScrollWidget4stepEv 0x7ffab035b500
8: ZN4rack6widget6Widget4stepEv 0x7ffab0388ce0
7: ZN4rack6window6Window4stepEv 0x7ffab038aed0
6: ZN4rack6window6Window3runEv 0x7ffab038b910
5: ZN4rack6window6Window3runEv 0x7ffab038b910
4: ZN4rack6window6Window3runEv 0x7ffab038b910
3: ZN4rack6window6Window3runEv 0x7ffab038b910
2: ZN4rack6window6Window3runEv 0x7ffab038b910
1: BaseThreadInitThunk 0x7ffb10587360
0: RtlUserThreadStart 0x7ffb116fcc70

@Stubs

1 Like

Strange isn’t it?

Thanks for helping.

But, what is a GDB debug session? Can I use this debug stuff if I’m not a VCV programmer?

Alain

every Orange Line module seems to cause a crash lately…

GDB is the GNU Debugger. You’d need to be familiar with using console based tools; if you are then it’s quite easy to use to find where a crash occured, which module etc.

1 Like

there’s even a simple helper that I use. After building rack, make debug will launch the debugger

1 Like

Call stack looks like PatchMasterWidget::step() is doing something that triggers an assert in Rack engine::updateParamHandleNoLock().

This doesn’t necessarily mean it’s a PatchMaster bug, since it seems to depend on the other module.

I use a modified version of that as a bash alias.

Hello, Want to let you know that I am aware that something is wrong but I cannot reproduce the crash on my computers. Both Linux and Windows 10 just working fine here with OrangeLine. Jim Aikin had the Effekt that everything is fine with 48khz but crashes with 44.1. Looks like race condition during module initialization. I’m looking through all my changes and will need some testing help to check whether possible changes work. Regards Dieter

4 Likes

Hi, Furtther checking the code, the only change I find which affects all modules is the number of samples skipped to reduce cpu usage. Was a constant before and was changed to be dependent on the samplerate. It was defined to constant 35 samples which is ok for samplerates >= 44.1 but can lead to dropping of very short triggers on lower samplerates. So I changes it to be: int(rack::settings::sampleRate / 1500) If for samoe reason rack::settings::sampleRate is 0 during initialization this might lead to division by 0 in checking whether to skip or not. I added an additional check for that and pushed it to github. Is there anyone out there experiencing the crash and is able to build the module from source ? If so please checkout OrangeLine (Branch 2.0) and give it a try. Regards Dieter

I’ll try modifying the rate to see if there is a difference… Alain

Not possible for me. I’m don’t have VCV Rack’s development… Alain

My VCV Rack Patches that have Orange Line Modules crash immediatly I try to open them.

Also VCV Rack Crashes each time I try to add an Orange Line Module.

This started after the Latest Update of Orange Line Modules on the 22/09/2024 Very frustrating as I find these Modules very good. I am no programmer but there is obviously a Bug Fix needed. Any help greatly appreciated

I am on win10-vcv 2.4.1 and experiencing the crash , but unable to build from source, so if anyone can provide the build, i could test on my system. Also noticed that if i only change to 48 on master audio module and leaving the engine on auto (in theory also 48) the crash still occurs-have to change directly on engine menu for working fine.

no crash here anymore, first I changed to 48 kHz and every module loaded just fine, then I switched back to 44,1 kHz and it also works, strange…

Built a new OrangeLine 2.4.6 patch release for Windows to download from github. https://github.com/Stubs42/OrangeLine/releases/download/2.4.6/OrangeLine-2.4.6-win-x64.vcvplugin Can someone check whether the crash still exists with this patch release?

3 Likes

i will test more in depth later, but for now it seems working fine here (44.1 of course)

1 Like