Hanging in SDL_GL_SwapBuffers()

I’ve noticed that during my development, about once a day my system
hangs and doesn’t respond to input. My only way to recover is telneting
in from another box and killing my game. I tracked the hanging point
down to be my call to SDL_GL_SwapBuffers(). I’m not sure what’s causing
this. Is it possible that me specifying some out-of-bounds parameters
during my refresh code is causing this? Right now I suspect that it’s my
GL drivers (nvidia v.1541). Has anyone else had something like this
happen to them? Anyone else have trouble with nvidia linux drivers?