Path: utzoo!attcan!uunet!husc6!mailrus!cornell!uw-beaver!tektronix!tekcrl!eirik From: eirik@tekcrl.TEK.COM (Eirik Fuller) Newsgroups: comp.windows.x Subject: Re: X10 on a color sun Message-ID: <3137@tekcrl.CRL.TEK.COM> Date: 7 Oct 88 01:27:09 GMT Sender: ftp@tekcrl.CRL.TEK.COM Organization: Tektronix, Inc., Beaverton, OR. Lines: 18 A while back I posted a request for information about memory corruption on the Sun X10 server running on a color display. We found the problem just before the project that depended on it was cancelled :-(. One of the respondents to my original posting also told us about the cure the very next day (such timing). For pixmaps of odd width, there should be an extra byte of padding on an eight bit deep display, but the server code failed to take that into account. The fix I did, that cured our particular problem, was to replace the calls in libsun/bitpix.c to the macro BZPixmapSize() with calls to a minor variation, which I called ABZPixmapSize() : #define ABZPixmapSize(width, height) (((width) + ((width)%2)) * (height)) A couple of the responses also indicated that there were probably bugs in the font code as well, but just the above fix was enough to get us past our immediate problem. Thanks to all who responded.