If you break a block and open your inventory while the animation plays (so fast enough) then the block breaking sound gets replayed when you close your inventory again.
This happens to me in single player mode
haven't tested whether this happens in multiplayer mode as well
Related issues
Comments


MC-35714 is about any sound being duplicated / looped when opening any GUI
tl;dr is the issue presented above only about jukebox or was only the initial thread about jukeboxes and this applies to a lot more sounds? (like block breaking in this case)
and I'm sorry that I probably opened another thread for this but I wasn't able to find the thread you marked as a duplicate through the search :/