home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:9201 comp.windows.x.motif:5563
- Newsgroups: comp.sys.hp,comp.windows.x.motif
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!beor!jonas
- From: jonas@beor.informatik.rwth-aachen.de (Josef Nelissen)
- Subject: SUMMARY: Error: Couldn't find per display information
- Message-ID: <jonas.713630470@beor>
- Keywords: X, display, Xt Error
- Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
- Nntp-Posting-Host: beor
- Organization: Rechnerbetrieb Informatik / RWTH Aachen
- Date: 12 Aug 92 14:41:10 GMT
- Lines: 59
-
- Short summary of the first two postings:
- I ran into trouble with my current X programming project, which from
- one day to the other didn't show up but exited silently with the error
- message
- Error: Couldn't find per display information
-
- What puzzled me most was the fact that I could force it to work by
- starting it over and over again; after three or four attempts it did
- show up.
- My platform is a HP720 and X11R4; the programme is based on the
- Motif1.1 Widget Set, but perhaps the Widget Set wasn't so important in
- this case ( The error message comes from libXt.sl ).
- In a painful attack to the problem I figured out that the error lay
- somewhere deep in the intrinsics, I tracked it down a function stack
- of XtVaAppInitialize, XtVaAppCreateShell, XtAppCreateShell up to
- XtCopyAllSmallCallbacks where I didn't go further.
-
-
- Well, as in most cases, the problem isn't so difficult at the end,
- asking lint and trying his advice I detected that I had some
- ambiguity within my identifiers and those used by the libraries.
- In fact I got the following message out of a couple of others
-
- > name multiply declared
- > profil kreuzung.c(22) :: llib-lc(965)
- > select gen.c(156) :: llib-lc(988)
-
- > warning: 'rand' redefinition hides earlier one
-
- Removing these ambiguities prevented the error to happen again (at
- least in a test of some hundert programme starts - wasn't Murphy just
- looking round the corner ?).
-
- Sorry for the bandwidth I wasted for such an annoying and unnecassary
- error - I promise to ask lint again before posting another question.
-
- Possible other causes of the error include:
-
- a) Creating a widget as the child of a gadget, in which case the
- toolkit futily searches the parent's window to find the "per display
- information" (contributed by langman@hsacsd.signaal.nl, Roelof Langman)
-
- b) Using XtDisplay() instead of XtDisplayOfObject() on a gadget
- (contributed by dbl@osf.org, David B. Lewis)
-
- c) Mixing of Xt routines with Xt*App*() forms and Xt*() forms.
- (contributed by autodesk!autodesk.com!andy@fernwood.mpk.ca.us, Andrew
- Purshottam)
-
- Many thanks to all who responded, Josef
- --
- Josef Nelissen, Lehrstuhl fuer Angewandte Mathematik, insbesondere Informatik;
- RWTH-Aachen, 5100 Aachen, Germany
- jonas@beor.informatik.rwth-aachen.de;
-
- --
- Josef Nelissen, Lehrstuhl fuer Angewandte Mathematik, insbesondere Informatik;
- RWTH-Aachen, 5100 Aachen, Germany
- jonas@beor.informatik.rwth-aachen.de;
-