Calling glFenceSync(), part of GL_ARB_sync, triggers an assertion in glretrace, because it thinks the returned pointer should be part of a previously-known address range (it isn't; it's more of a handle than a pointer). Patch attached. This fixed the problem here, but I'm not sure of the full ramifications of the change. --ryan.