Read access violation in juce_ArrayBase.h

I’m getting a read access violation exception at runtime for my plugin in the juce_ArrayBase.h file. The line

inline int size() const noexcept
{
return numUsed;
}

is apparently what is causing issues. Could this be something on my end, or is this juce? For reference, this exception occurs only when my plugin’s gui is left open for 10-20 minutes at a time.

Full exception message: “Exception thrown: read access violation.
this was 0x8.”

Looks related to this issue: