Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bbn!rochester!kodak!ektools!isctsse!fuller From: fuller@isctsse.UUCP (Bill Fuller) Newsgroups: comp.windows.x Subject: xperfmon on SUN 4 under 4.0 OS Message-ID: <227@isctsse.UUCP> Date: 2 May 89 01:14:41 GMT Sender: daemon@ektools (The Devil Himself) Reply-To: fuller@isctsse.UUCP () Distribution: usa Organization: Eastman Kodak Telecommunication Services, Rochester, N.Y. 14650 Lines: 21 Hi, Has anyone been able to get the xperfmon program that comes with the contribution clients to work under 4.0.1 SunOS on a SUN 4. I have an arithmetic exception, and then the program dumps. I have run trace on it and found that when it opened /dev/kmem to get the info it needed, the address that gets passed to the macro steal() is illegal and cause EFAULT in the module get_namelist for the MAXFREE (line 394). This function is in the file: system.c. However, my error does not occur until I am in the module draw_background(), in window.c. It calculates the lines to draw based on the window size and calls XDrawLine. However, all of the arguments being passed to XDrawLine appear correct in that the x1, y1, x2, y2, are properly calculated. Can anyone give me a lead here? Thankyou, William H. Fuller