The recent xlib change seems to contain an infinite loop - the attached patch fixes it for me Colin -------------- next part -------------- A non-text attachment was scrubbed... Name: xlib.patch Type: text/x-patch Size: 584 bytes Desc: not available URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080329/259337ab/attachment.bin>