Quote Originally Posted by ObadiahtheSlim View Post
Wait a month. Veins should respawn. Or is that part of the Markarth quest...
Apparently the bug is that the veins don't respawn, so if you don't realize what you're supposed to do you get trapped forever. Also I don't think you can break out of the Markarth jail, the door isn't pickable (or even openable)