> Does the xserver patch below help? That was fast :-) With the limited testing (lock/unlock screen ~10 times) it looks very good so far. With your patch I haven't been able to either crash X or trigger the sanity-check log I originally added to detect the too small malloc.