Describe the bug
When I try to save a preset, I have to select a folder. After doing that, the plugin crashes the DAW.
The only way to restore the usage of the plugin is to delete the .config/ChowdhuryDSP/BYOD/UserPresets.txt file.
To Reproduce
Load the plugin through any DAW (Reaper, Bitwig, Carla...) and try to save the preset.
Expected behavior
I expect the plugin to save the preset and still usable.
Desktop
OS: Linux Mint 20.3
DAW Reaper, Bitwig, Ardour, Carla
Version:Nightly Build from 27/06/2022
Additional context
Log file:
This log file is currently being written to...
Log started: 29 Jun 2022 2:27:02pm
Version: BYOD 1.0.1
Commit: b12ef1d on HEAD with JUCE version JUCE v6.1.5
Build: 27 Jun 2022 2:43 on fv-az194-698.vahfjs35atkulmpwh5ujf4txfe.jx.internal.cloudapp.net with GNU-9.4.0
System: with Linux (64-bit) on 8 Core, Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
Plugin Info: LV2 running in Unknown running at sample rate 0.0 kHz with block size 0
Adding connection from Input, port #0 to Output port #0
Checking OpenGL availability...
OpenGL is available on this system: FALSE
Saving user preset, name: "MyPreset", category: ""
Loading preset: Default
Removing connection from Input, port #0 to Output port #0
Adding connection from Input, port #0 to Output port #0
Saving user preset, name: "SonicYouth", category: "Player"
Interrupt signal received!
Stack Trace:
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1d2443) [0x7fc50877a443]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x17e392) [0x7fc508726392]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1cacad) [0x7fc508772cad]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7fc551ed8420]
/lib/x86_64-linux-gnu/libc.so.6(+0x188717) [0x7fc551a0b717]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1cea58) [0x7fc508776a58]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1d04f0) [0x7fc5087784f0]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1d0b04) [0x7fc508778b04]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x3d0da0) [0x7fc508978da0]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x17681e) [0x7fc50871e81e]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0xf0bf2) [0x7fc508698bf2]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x3e404a) [0x7fc50898c04a]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x17ede3) [0x7fc508726de3]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x2f2c3e) [0x7fc50889ac3e]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x27c23b) [0x7fc50882423b]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x27c520) [0x7fc508824520]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1d5233) [0x7fc50877d233]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1d4c2a) [0x7fc50877cc2a]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1dd50b) [0x7fc50878550b]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0xd602c) [0x7fc50867e02c]
/usr/lib/lv2/BYOD.lv2/BYOD.so(+0x1b3f73) [0x7fc50875bf73]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7fc551ecc609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fc5519a2133]
Plugin crashing!!!
bug