crash on open and save
Brought to you by:
tringali
I've installed version 5.3 on the computers in our lab
and students are crashing the application when they try
to open or save a document. Old documents from their
home directories are listed in the open previous menu
and can be openned, but not saved. This behavior began
after installation of RedHat 8.0 on all of the client
machines. I'm running NIS and students save all of
their code on the server using an auto mount. Hope
this is enough information. Let me know if I can give
you more. Also, has this bug been reported by other
users of RedHat 8.0?
thanks!!!
Steve Strong
Washington HS
Cedar Rapids, IA
Logged In: YES
user_id=11321
Please send us the first 8 lines from "Help > Version" (or the
output from "nedit -V") which will give us extra information to
help us reproduce your problem.
Logged In: YES
user_id=11321
Note: if you built it yourself, then you sometimes rebuild
it when you upgrade the operating system. Linux
distributions are not very robust when it comes to binary
compatability. If so, consider using the binary from our
website.
Logged In: YES
user_id=170040
I have the exact same problem after upgrading to RH 8.0
I am on a local workstation. No network issues. ie: NIS,
automount.
error message on crash.
[1]+ Segmentation fault nedit url.cpp
no core file seems to be generated.
Logged In: YES
user_id=170040
sorry, forgot to add.
I used the binary distribution. I tried to recompile from
source but I got
an error. see below for some more information.
# uname -a
Linux dude 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686
i686 i386 GNU/Linux
# nedit -V
NEdit 5.3
Jun 1, 2002
Built on: Linux, x86, GNU C
Built at: Jun 7 2002, 11:41:04
With Motif: 2001 [@(#)Motif Version 2.1.30]
Running Motif: 2001
Server: The XFree86 Project, Inc 40200000
$$---- error message truncated for brevity....
file.o: In function `PrintString':
file.o(.text+0x1728): the use of `tmpnam' is dangerous,
better use `mkstemp'
/usr/X11R6/lib/libXm.a(EditresCom.o): In function
`_XEditResCheckMessages':
EditresCom.o(.text+0xd4): undefined reference to
`_XEditResResetStream'
EditresCom.o(.text+0xe8): undefined reference to `_XEditResPut8'
/usr/X11R6/lib/libXm.a(EditresCom.o): In function `BuildEvent':
EditresCom.o(.text+0x22e): undefined reference to
`_XEditResGet8'
EditresCom.o(.text+0x25f): undefined reference to
`_XEditResGet8'
//
********************************************************* //
//***** eliminated several lines of errors ************** //
//
********************************************************* //
EditresCom.o(.text+0x1b1f): undefined reference to
`_XEditResPutString8'
EditresCom.o(.text+0x1b32): undefined reference to
`_XEditResPutString8'
EditresCom.o(.text+0x1b48): undefined reference to
`_XEditResPutString8'
/usr/X11R6/lib/libXm.a(EditresCom.o): In function `DumpValues':
EditresCom.o(.text+0x1fe7): undefined reference to
`_XEditResPut16'
EditresCom.o(.text+0x2017): undefined reference to
`_XEditResPutString8'
EditresCom.o(.text+0x2066): undefined reference to
`_XEditResPutString8'
/usr/X11R6/lib/libXm.a(EditresCom.o): In function
`InsertWidget':
EditresCom.o(.text+0x20d8): undefined reference to
`_XEditResPut16'
EditresCom.o(.text+0x20ff): undefined reference to
`_XEditResPut32'
collect2: ld returned 1 exit status
make[1]: *** [nedit] Error 1
make[1]: Leaving directory `/home/ian/download/nedit-5.3/source'
make: *** [linux] Error 2
Logged In: YES
user_id=11321
Here's a workaround:
setenv LANG en_US
or
setenv LANG C
then run NEdit. You also may be able to choose a different
language via your login screen.
It looks like RH decided to default everything to a locale
which Motif can't handle. (The same thing happened when
w/XFree86 decide that Unicode fonts should be installed and
come back from a query if you don't specify an encoding.)
We'll see if there's a way to fix this.
As for building NEdit yourself with OM2.2 (not recommended),
you need to add -lXmu to the link line.
Logged In: NO
Or, since you're probably using bash:
export LANG=en_US
or
export LANG=C
-n8
Logged In: YES
user_id=170040
it worked !! no crash on <ctrl-o> while in nedit.
bash shell:
export LANG=en_US
or
export LANG=C
both worked.
thanks for the help.
Logged In: YES
user_id=121553
Did the CVS update on Mon, 24 Mar 2003 solve this
issue?
Logged In: YES
user_id=11321
Workaround placed in CVS to avoid UTF-8 locales with
OpenMotif.
Logged In: YES
user_id=11321
Release noted.