I first noticed this when making my way through the dwarven ruin Mzulft. My follower, Marcurio, had stopped attacking enemies. His hands were in the correct position for spellcasting, but they were empty. The problem did not resolve even when I gave him a staff and a sword- he was still empty handed. He just stood there helplessly until I finished off the enemies myself.
The only thing that fixed his attacking was going through a loading screen door. When the game loaded again he took out the sword and began attacking enemies with this and his spells again. I don't really know what caused this glitch, but I think the problems started when Marcurio was knocked to the floor and staggered upright again.
This isn't the only dungeon/area it happened in. It also happened in Labyrinthian, and in the wilderness near Riften. (Though I can't see why it happened in the wilderness, as he wasn't knocked to the ground.)
It's very annoying to have a useless follower until the next loading screen. Has this happened to anyone else?