JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

[Bug]: Closing the Standalone plugin gives a Violation Access error

Open bryfa opened this issue 2 years ago • 6 comments
trafficstars

Detailed steps on how to reproduce the bug

Just build a plugin with a standalone version. Run the standalone version for debugging Close the plugin

What is the expected behaviour?

Should handle this without any issue when closing

Operating systems

Windows

What versions of the operating systems?

Windows 11 Pro Version 10.0.22621 Build 22621

Architectures

x86_64

Stacktrace

No response

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

  • [X] I agree to follow the Code of Conduct

bryfa avatar Nov 15 '23 09:11 bryfa

image

bryfa avatar Nov 20 '23 15:11 bryfa

Tried this in the DEV branch and got the critical error when closing the standalone test app

bryfa avatar Nov 20 '23 15:11 bryfa

@bryfa are you able to reproduce this issue using one of the example plugin projects?

Anthony-Nicholls avatar Nov 21 '23 10:11 Anthony-Nicholls

Will try that, the thing is that is not consistent..

bryfa avatar Nov 21 '23 14:11 bryfa

The best way for us to take a look is with an example that demonstrates the issue. My best guess is that you are accessing an object that has already been deleted. You could also try enabling the address santizer to see if this provides any useful information.

Anthony-Nicholls avatar Nov 21 '23 14:11 Anthony-Nicholls

I didnt got the error lately and maybe your right about the deleted object. Happened only when closing the standalone app. I enabled the sanitizer, hope it will help finding the issue. Thanks for the tip.

bryfa avatar Nov 21 '23 15:11 bryfa