[Bug 52396] Stack overflows when running 64-bit .net6 program