Are you able to reproduce this issue? or it happened only once?
The issue might be specific to your machine because of several reasons such as maximum RAM/CPU usage.
Nevertheless, If you are able to reproduce the issue, please share a reproducible code snippet with us.