Exported VST causing Access Violations
-
@Adam_G you have to run the debug build to find out whats happening, these crash reports don‘t contain any information.
Go into Xcode and select build for testing, then load the plugin with the Debug postfix.
-
@Christoph-Hart once I compile the debug version of Hise, do I just export the vst normally from it? how do I load the plugin with the Debug postfix?
-
Does this only happen when compiled as a plugin not as a standalone?
-
@d-healey haven't tried standalone yet, ill test that now.
-
@Adam_G Everything's easier to debug in standalone so if you get the problem there it will help
-
@d-healey no crashes on windows standalone. my Mac vm is very slow so its still currently exporting but I think this may be the same issue. my project too uses the midi overlay panel https://forum.hise.audio/topic/4656/midi-overlay-panels-in-compiled-plugin-crashing-daws/22?_=1684334539180
-
@Adam_G said in Exported VST causing Access Violations:
@d-healey no crashes on windows standalone. my Mac vm is very slow so its still currently exporting but I think this may be the same issue. my project too uses the midi overlay panel https://forum.hise.audio/topic/4656/midi-overlay-panels-in-compiled-plugin-crashing-daws/22?_=1684334539180
nope still crashing on Mac even after implementing this. no problems in standalone but it only happens when I close and reload the plugin. I'm unclear how to use the debug version once its compiled though
-
@Adam_G Run it from within xcode. There should be a way to attach it (xcode's debugger) to a DAW instance (I'm not familiar enough with xcode, there is probably a YouTube video for it).
-
@d-healey I think you're the only one who makes YouTube videos on hise :crying_face:
-
@Adam_G But I'm not the only one who makes videos about debugging with xcode :)
-
@d-healey i found one other one! xD ( big thanks to @Dan-Korneff )
now my mac virtual machine is apparently too slow to build the debug version in xcode without getting out of memory errors smh.
can i get the same info from doing this process on windows? that question is mostly for @Christoph-Hart
-
@Adam_G I think you can avoid the memory issue if you reduce the number of compile threads (don't ask me how)
-
This post is deleted! -
defaults write com.apple.Xcode PBXNumberOfParallelBuildSubtasks 8
in terminal to reduce compile threads
-
@d-healey still seems to be hanging on 299 of 302 steps :(
-
can i get the same info from doing this process on windows?
Sure, if it also crashes on Windows, you can debug it there, no need to run a VM.
-
@Christoph-Hart thanks Christoph :)
-
@Adam_G said in Exported VST causing Access Violations:
@d-healey still seems to be hanging on 299 of 302 steps :(
How long did you wait?
-
@d-healey its still running right now
-
@Adam_G Yeah that's not right