To make sure it's not you clobbering the array or something, make a branch where that's the only code. If that doesn't work, there is a bug.