It seems to freeze the game when you select oil patch placed over water.
the mod allowing oil patch to spawn on water and pump placement on water;
https://mods.factorio.com/mod/Water_Ores
https://mods.factorio.com/mod/mining-drill-on-water
Image:
https://imgur.com/a/puVAXBm
Factorio log since the game does not crash but freeze:
72.826 Script @WellPlanner/wp_engine.lua:535: find patches
72.837 Script @WellPlanner/wp_engine.lua:680: Elapsed: 11.823700ms
72.838 Script @WellPlanner/wp_engine.lua:535: route pipes
72.859 Script @WellPlanner/wp_engine.lua:765: Elapsed: 21.160900ms
72.859 Script @WellPlanner/wp_engine.lua:535: route underground pipes
72.869 Script @WellPlanner/wp_engine.lua:892: Elapsed: 10.180300ms
72.869 Script @WellPlanner/wp_engine.lua:535: place electric poles
72.870 Script @WellPlanner/wp_engine.lua:414: finding pole_positions
72.880 Script @WellPlanner/wp_engine.lua:431: Elapsed: 10.321900ms
72.880 Script @WellPlanner/wp_engine.lua:432: pole_positions_count = 1134
72.880 Script @WellPlanner/wp_engine.lua:433: placing electric poles
72.880 Script @WellPlanner/wp_engine.lua:437: #consumers = 18
72.888 Script @WellPlanner/wp_engine.lua:437: #consumers = 16
72.895 Script @WellPlanner/wp_engine.lua:437: #consumers = 14
72.900 Script @WellPlanner/wp_engine.lua:437: #consumers = 12
72.905 Script @WellPlanner/wp_engine.lua:437: #consumers = 10
72.910 Script @WellPlanner/wp_engine.lua:437: #consumers = 8
72.913 Script @WellPlanner/wp_engine.lua:437: #consumers = 6
72.916 Script @WellPlanner/wp_engine.lua:437: #consumers = 4
72.917 Script @WellPlanner/wp_engine.lua:437: #consumers = 3
72.919 Script @WellPlanner/wp_engine.lua:437: #consumers = 2
72.920 Script @WellPlanner/wp_engine.lua:513: Elapsed: 39.611400ms
72.920 Script @WellPlanner/wp_engine.lua:514: done powering consumers