Reproduction
/setworldspawn 29999980 100 29999980
Reload the world
The game freezes during loading.
Code analysis
MinecraftServer waits for a hardcoded 441 chunks to be loaded around the spawn point when it's started but that never happens in the +, + corner of the world.
Can confirm in 1.18 Pre-release 1.