If you enter "/locate <Structure>" in the world where the "Generate Structures" is disabled, then the world is frozen (until you close the game forcibly (through the task manager), the progress in it is not saved, and the teams do not work).
Environment
Java 211 x64, Windows 7 x64
Thanks for the report; however this is a duplicate of MC-126244.