Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!philmtl!atha!aunro!alberta!dvinci!macphed From: macphed@dvinci.usask.ca (Ian MacPhedran) Newsgroups: comp.windows.x Subject: Re: X on a Sparc question Message-ID: <1989Oct26.155613.25372@dvinci.usask.ca> Date: 26 Oct 89 15:56:13 GMT References: <894@swbatl.UUCP> Organization: University of Saskatchewan Lines: 32 From article <894@swbatl.UUCP>, by uucigj@swbatl.UUCP (3531): > > > I have just gotten X11R3 running on my new Sparcstation and seem to be > having some problems with applications that use buttons. Every time I move > the mouse over the location of a button that application dies with either > a memory fault or a segmentation violation. Now, I am assuming that the > problem lies in the buttons but I could be wrong. Of all the clients that > are provided with the base release of X (that I received) every thing > works ok except those with buttons. For example the xclipboard, the button > at the top that says "quit" , when I move the arrow all around the window > it is fine. But, when I move it over the button to quit I get: Memory > fault(coredump). There appears to be problems when compiling the X11R3 distribution under SunOS 4.0.3. (I assume that's what you're running.) Recompile without the -O (optimizer) switch, and these problems will go away. I ran into the same problems and went through a typical application with dbx to find the culprit routines and recompiled them, but I forget which they were exactly. (And I couldn't use xdbx, because it was one of the afflicted programs.) It takes extra time, but it is worth it in the end. Ian. +------------------------------------+--------------------------------+ | Ian MacPhedran | USEnet ..!dvinci!macphed | | Engineering Applications | BITNET MacPhedran@Sask | | Department of Computing Services | macphed@dvinci.usask.ca | | 2B13 Engineering Bldg. | Phone (306) 966-4832 | | University of Saskatchewan, Saskatoon, Saskatchewan, Canada S7N 0W0 | +---------------------------------------------------------------------+