While testing a datapack I'm creating, I get crashes from structure triggered advancements. I'm not entirely sure of the cause, I suspect it has something to do with structure detection in custom advancements. I have some advancements that are granted for visiting structures like monuments and temples. When I load this pack into a new world, I use /locate to find a structure, then while going there I usually get this crash. It crashes almost immediately again if I try to reload the world. The only ways I've found to stop crashing so far, are removing the datapack, or granting the structure advancements via command. I don't know if all structures have this problem, but I know desert temples for sure do (revoking the desert temple advancement near a desert temple immediately crashed the game). I attached my datapack in case its helpful in some way.
To recreate crash:
Create a new world in an affected version
Load a datapack with advancements that detects structures (especially desert temples)
Find a desert temple
Hang out around it without getting advancement if necessary
Watch game crash
Just found this is probably a duplicate MC-125051, which is marked as resolved, which is why I didn't find it before I made this report.