acids-ircam / rave_vst

Other
186 stars 28 forks source link

Rave standalone VST crashes on launch #35

Open joeymorello opened 1 year ago

joeymorello commented 1 year ago

I downloaded the latest windows builds and was first able to launch and download a model to use. After closing RAVE and reopening, it now crashes every time. I have deleted RAVE and redownloaded the windows build but it continues to crash on launch.

pabloriera commented 1 year ago

Seeing the same problem for some models, VCTK loads ok, vintage.ts crashes. Linux build

[-] Network - No API response
[ ] RAVE - Model successfully loaded: /home/miles/.config/ACIDS/RAVE/vintage.ts.ts
    Encode parameters:     1
    1
   16
 2048
[ CPULongType{4} ]
    Decode parameters:    16
 2048
    2
    1
[ CPULongType{4} ]
    Prior parameters:     1
 2048
   16
 2048
[ CPULongType{4} ]
    Latent size: 128
    Sampling rate: 44100
    Full latent size: 128
    Ratio: 2048
to low; setting rate to : 11
[1]    1326413 segmentation fault (core dumped)  ./rave-vst_artefacts/Release/Standalone/RAVE
usdivad commented 1 year ago

Not totally sure why the crashes happen with some models and not others (looks like nasa crashes but percussion is fine), would need to investigate further -- seems like #27 and possibly #28 might stem from the same issue as well.

In the meantime, in order to get around the crashing-on-subsequent-startup you can try deleting the userApplicationDataDirectory's copy of the problematic model file (for me on Windows it's in C:\Users\{username}\AppData\Roaming\ACIDS\RAVE)

usdivad commented 1 year ago

FYI #39 appears to be the root of the problem -- currently trying a workaround and will follow up in that issue.