[13757] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Motif 1.2 core dumps instead of pasting to itself.

daemon@ATHENA.MIT.EDU (Matthew Freedman)
Thu Aug 17 17:15:54 1995

Date: Thu, 17 Aug 1995 14:15:39 -0700 (PDT)
From: Matthew Freedman <mattf@cac.washington.edu>
To: Bill Cattey <wdc@MIT.EDU>
Cc: bugs@MIT.EDU, brlewis@MIT.EDU, nut-lib@MIT.EDU,
        willow-dev@cac.washington.edu
In-Reply-To: <0kAuSiQGgE47BSG9AM@mit.edu>

On Thu, 17 Aug 1995, Bill Cattey wrote:
> It is important to be able to select text in the record display window
> and paste it into the search window.
> This is something that works just fine on the Willow built with Motif 1.1.
>
> Alas, it core dumps under Motif 1.2.
> This horrible behavior is repeatable on both the DECStation and the Sun.

I used my own Motif 1.1 binary for Decstation, so this would only effect
people who took the Solaris binary. I am working on getting an account on
a Solaris machine here, but have not been able to try it yet.

This item from Motif FAQ looks interesting...

-----------------------------------------------------------------------------
Subject: 254)  Why does the xyz application core dump when I cut and
paste?

Answer: Application crashes when text is cut and pasted into an XmText
widget may occur with statically linked executables linked with X11R5
libraries under SunOS. For example, a Netscape README file says:

    The SunOS 4.1 [Netscape 0.94] distribution also includes a directory
    called "nls".  This directory is a standard part of the MIT X11R5
    distribution, but is not included with OpenWindows 3.0 or earlier.  We
    have linked Netscape against the MIT R5 libraries because they are
    less buggy in general; however, they have one rather serious bug,
    which is that if this "nls" directory does not exist, the program will
    dump core any time you try to paste into a text field!

    So, if you don't have the "nls" directory on your system, you will
    need to install it first.  The usual place is /usr/lib/X11/nls,
    but you can put it anywhere: just point the $XNLSPATH environment
    variable at it.

    Some sites don't have their X libraries installed in /usr/lib/X11/.
    This doesn't matter.  You either need to put the nls directory in
    /usr/lib/X11/, or every user will need to set this environment
    variable.

So, for example, we do:

       setenv XNLSPATH /usr/local/x11r5/lib/X11/nls

since our X11R5 is not installed in the default location.

-----------------------------------------------------------------------------

Is the /usr/lib/X11/nls directory missing on the machine you are
experiencing the crash?

It does not say this occurs on Ultrix too, but I have a vague memory of
running into this a couple years ago, when I tried to use some program
built with X11R5 and we only had R4 installed on our Ultrix box. I think I
just created an empty /usr/lib/X11/nls directory and it worked.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
= Matthew M. Freedman                                                 =
= U. of Washington Information Systems       mattf@cac.washington.edu =
= 4545 15th Ave. NE; 3rd Floor               (206) 543-5593           =
= Seattle, WA  98105                                                  =
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



home help back first fref pref prev next nref lref last post