Sometimes, usually after playing an hour or longer, blocks stop breaking properly. When you break them they immediately get back and you don't get the item.
Happens with grass/dirt, stone, wood and cocoa beans at least. Also with snow layer when you are not using a shovel.
Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here.