Are you clearing both the color and depth buffers, or just the depth buffer? If the latter, there are some specific reasons why a clear may fail (one of them is that GL didn't give you a depth buffer during startup), so it's important to know.