I have now tried a few more things:
1. On 1.21.1, there is no problem and chunk reloading witrh F3 + A works without crashing
2. On my Laptop, which also runs Linux Mint Cinnamon (but 21.3 instead of 21.2) I don't see the issue and it reloads chunks normally without crashing
3. I also tried reboothing my PC, which didn't fix the issue
This happens in every newly-generated world (I tried 3 times) or in a world where the game has been restarted and the world then reopened.
I haven't tried worlds from old versions.
If i try this command in game:
/execute as @e at @s if entity @s[y=0,dy=255] run say hi
i works, but i have this command in a function, and it doesn't work:
execute as @s at @s if entity @s[tag=!rth.graves.found_space] if entity @s[y=0,dy=255] run function piston_randomthings:misc/graves/find_free_spot
The command works fine when I use it ingame(also on non-player entities now) nut in the function it just fails.
But i need it in the execute command for running a function, like so:
/execute as @s at @s if entity @s[y=0,dy=255] run function ...
This is still in Minecraft 1.14.
Still in 1.14 and for me it neary always happens when I try to type Selectors(I have QWERTZ Layout) like @a.
This is also the case for other blocks like colored wool.
The problem seems to be fixed in 24w34a and 24w35a as I also couldn't reproduce it there.