Software crashed when using latest driver

Hi everyone,

I am developing software and encountered a strange bug. When I upgrade my NVIDIA driver and run the testcase, my software crashes, and the dump stack shows the final address in nvoglv64.dll with a process not created by me.

system info:

CPU: Intel i7-12700

Mem: 32GB

GPU: RTX A2000 12GB

OS: Windows 11

Driver version: 581.15

And I also disabled thread optimisation.

Dump stacktrace: