This happens from time to time when playing SMP with a friend on my local minecraft server.
The chest seems to remain on the open state (regarding the animation) and closes once I rightclick it to view its inventory, so basically it's inverted. The issue doesn't seem to resolve itself after relogging, so it must be a server-side issue.
It usually happens after playing for a while, after frequently using a chest. Have been able to reproduce this for a few times, so I'll provide a screenshot whenever it happens again.