I currently have a similar issue. In my single player game i use night vision potions while working underwater on a lake project. I've noticed that it usually only occurs when I am below water. Water is probably the equivalent to the cave or overhang ceilings in my case. i use version 1.7.2 and have never had this problem until today. The only way I have found to fix it is to swim up. placing torches or glowstone did not fix it. it is mildly annoying and occurs ever few minutes of block placing or removing. Hope this helps in getting the bug fixed.
I currently have a similar issue. In my single player game i use night vision potions while working underwater on a lake project. I've noticed that it usually only occurs when I am below water. Water is probably the equivalent to the cave or overhang ceilings in my case. i use version 1.7.2 and have never had this problem until today. The only way I have found to fix it is to swim up. placing torches or glowstone did not fix it. it is mildly annoying and occurs ever few minutes of block placing or removing. Hope this helps in getting the bug fixed.