Validate crashes mongodb

I get the errors WiredTiger error (-31804) [1615576496:693764][7819:0x7f4999cba700], eviction-server: cache eviction thread error: WT_PANIC: WiredTiger library panic and Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361 when using mongodb. These errors cause my mongo to crash. I am trying to validate my collection with 100 million documents but as soon as I reach a certain amount it stops the mongodb.

When using the --repair flag everything is successful but when I use mongodb I get the errors above