glPushAttrib Doesn't Mix with glBindFramebuffer

Whenever calling glPushAttrib with nothing but GL_COLOR_BUFFER_BIT as a parameter, all subsequent calls to glBindFramebuffer generate a GL_INVALID_OPERATION message until the call to glPopAttrib is reached. Calling glPushAttrib with any parameter other than GL_COLOR_BUFFER_BIT works just fine, however. Any ideas on what could be causing this?