Memset error

This error suddenly started popping up in my code, apparently occurring randomly at different places in the code when I run my tests. Some times it doesn’t happen at all and the tests all complete successfully.

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: UNKNOWN at 0x7ffd193c3616 -- memset at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
in expression starting at C:\OpticSim.jl\test\testsets\GlassCat.jl:14

That’s all there is. No stack trace, so it’s really difficult to figure out what is triggering it. This time the error occurred in GlassCat.jl but other times it has occurred in code in different files.

None of the code in the GlassCat.jl file does this kind of low level memory access.

Making a MWE would be very difficult. I recall reading about using rr to report this type of low level bug but have never used this tool (not even sure it works on Windows).

Any suggestions about how to debug this?

Julia Version 1.7.1
Commit ac5cc99908 (2021-12-22 19:35 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, broadwell)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 28