Loading/creating a file causes crash on Win 11
-
When loading a DSP file into a Faust node HISE will instantly crash. This is on Windows 11.
Running the debugger in Visual Studio 2022 gives me:
Exception thrown at 0x00007FF818B22825 (faust.dll) in HISE Debug.exe: 0xC0000005: Access violation writing location 0x00000000FFFFFFFF.
Am I doing something wrong? I thought I followed the very simple instructions in the stickied post to the letter, but it's been a long day..
EDIT: this is with a Dev build, baked fresh today..
-
@modularsamples did you recompile your ScriptNodes?
-
@Lindon Could clarify what you mean by "recompile scriptnodes", please? are you talking about the refresh icon in the Faust node?
This is happening in a new, otherwise empty project.
-
@modularsamples probably not what I was thinking then - if its crashing on a new project
-
Okay, so it seems the problem was with VS 2022.
I uninstalled 2022 and built with VS 2017 (per the original instructions) and now the Faust node behaves as expected.
The trickiest part was finding a way to install the community version of VS2017 as it isn't specifically listed on the Microsoft download page. There's a simple solution though:
- Visit the Visual Studio Older Downloads page
- Download the trial version of the enterprise edition
- Run the installer
- Close the install dialogue box (not the installer itself)
Now the community edition will be shown as an available download.
-
@modularsamples Have you been able to build a plugin with Faust successfully and without any problem or DAW crash?
Which version of Faust are you using?
-
@harris-rosendahl Yeah, the project builds and while testing has been brief (limited to Reaper), there were no crashes so far.
The latest, v2.54.9.