It is possible to get stuck on top of gates in some Clockworks areas, as seen in the screene below:
http://img89.imageshack.us/img89/1382/spiral20110705111627.png
There is a switch over to the left (not pictured) that, when hit, lowers the gate, which then raises in ten seconds or so. Players can then get stuck on the gate if they are standing on it when it raises. Luckily, I managed to wiggle off the gate by swinging my sword. And of course this isn't a problem if there is someone else in your party to hit the switch again.
(And yeah, I admit, I stepped on the gate on purpose, though I wasn't expecting to get stuck... :P )