Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!mcsun!unido!tub!net From: net@tub.UUCP (Oliver Laumann) Newsgroups: comp.windows.x Subject: Problem with XtDisplayToApplicationContext() in X11R4 Message-ID: <1174@tub.UUCP> Date: 14 Feb 90 14:02:29 GMT Reply-To: net@tub.UUCP (Oliver Laumann) Organization: Technical University of Berlin, Germany Lines: 12 The documentation of XtDisplayToApplicationContext() says "If the display is not known to the Intrinsics, an error message is issued". However, XtDisplayToApplicationContext() drops core when it is invoked with a display not known to Xt (at least when no other display is known to Xt, i.e. when the internal display list is empty). The culprit is the macro _XtGetPerDisplay in mit/lib/Xt/InitialI.h. It doesn't check whether the display list is empty. Regards, -- Oliver Laumann net@TUB.BITNET net@tub.cs.tu-berlin.de net@tub.UUCP