--- src/xserver/dix/privates.c.orig 2018-04-02 17:29:44.135069985 -0300 +++ src/xserver/dix/privates.c 2018-04-02 17:29:45.920034526 -0300 @@ -381,8 +381,11 @@ } else { /* Resize if we can, or make sure nothing's allocated if we can't */ - if (!allocated_early[type]) - assert(!global_keys[type].created); + if (!allocated_early[type]) { + if(global_keys[type].created) { + return FALSE; + } + } else if (!allocated_early[type] (dixReallocPrivates, bytes)) return FALSE; offset = global_keys[type].offset;