After a long and painful compilation of gcc-2.7.2, binutils-2.5.2,
libg++-2.7 I succeeded to compile ddd (Data Display De* see:
<http://www.veryComputer.com/;) I did have a lot of problems
linking this baby but that was due to HP secondary symbols and
Now I have a nice executable of 9.8 Mb but this program crashes my
X server. I've installed the latest patch (February 1995 patch for
the X server) but that didn't help either. I'm now looking for clues
on how to find where the problems exactly is. This is a list of
things I already did:
1) Attach a de* to the X server: the stack trace told me that it
crashed in _catsPolyText8 (or something related). This means that a
XDrawString() or a XDrawText() is being called (I presume...) When I look
at the text that is being displayed in one of the widgets: It looks
like garbage. The very big disadvantage is that this _cats... code is
probably HP's own code. (Any one wants to donate the source???)
2) Try to isolate the event that is sent to the X server but I need more
clues on how to isolate this event that is causing it. It may very well
also be a problem in the Motif layer, Xt or Xlib.
3) I did hardcode XSynchronize() in the code of ddd.
The version of X is X11R5 on my system.
I'm general looking for the following:
1) Is there some nice tool that allows me to see the events that are
being sent FROM the application TO the X server? (The other way around
is less complicated, I understood...)
2) Any other ideas?
Avi Cohen Stuart
A. B. Cohen Stuart, M.Sc. |Baron van Nagellstraat 89|Phone: +31 342 428229
Software Engineer |P.O. Box 143 |Fax : +31 342 428787
Baan Research & Development |The Netherlands |Home : +31 15 2141797