[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nedit-develop
Subject:    [ nedit-Bugs-1543796 ] Crash trying to open a file on ubuntu if
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-10-27 2:36:38
Message-ID: E1GdHaI-0005wh-9d () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1543796, was opened at 2006-08-21 17:49
Message generated for change (Comment added) made by jrclarke
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1543796&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Clarke (jrclarke)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash trying to open a file on ubuntu if LANG=en_AU.UTF-8

Initial Comment:
Raising a new bug as requested by yooden in bug 1440331.

The nedit binary from nedit.org crashes on a standard
ubuntu desktop installation (hoary, breezy, dapper) if
I press Control-O to open a file.

The crash is dependent upon the value of LANG.  The
default in ubuntu seems to be to use UTF8, and so I had
LANG=en_AU.UTF-8.  If I unset LANG then run nedit, it
works perfectly.

If I use the binary provided by ubuntu, I get lots of
weird errors all apparently due to lesstif.  Changing
or unsetting LANG doesn't seem to make much difference.

Rebuilding the ubuntu package with openmotif instead
fixes most of the problems, although the file open
dialog doesn't work properly if LANG is set.  With LANG
unset, this version works just as well as the binary
from nedit.org.

The ubuntu bug report is here:

   
https://launchpad.net/distros/ubuntu/+source/nedit/+bug/1027

and for anyone using ubuntu who wants a working
package, I've put my nedit-dmotif here:

   
http://kirriwa.net/john/software/nedit/nedit-dmotif_5.5-1ubuntu1_i386.deb

That's the nedit source package from dapper modified to
build with openmotif instead of lesstif, and renamed to
nedit-dmotif to distinguish it from ubuntu's binary
package.


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

>Comment By: John Clarke (jrclarke)
Date: 2006-10-27 12:36

Message:
Logged In: YES 
user_id=859594

With LANG=C and any one of LC_COLLATE, LC_TIME, LC_NUMERIC,
LC_MONETARY or LC_MESSAGES set to en_AU.UTF-8,
nedit+openmotif seems to be working normally.

If LC_CTYPE=en_AU.UTF-8 or LC_ALL=en_AU.UTF-8, the file open
dialog doesn't work, as I reported earlier.  "Doesn't work
properly" means that directory navigation is impossible (it
initially shows the directory containing the current open
file, but returns to the directory from which nedit was
started if I try to change to another directory) and any
attempt to select a file, by either keyboard or mouse,
results in a pop-up dialog which says "Please select a file
to open".

Yes I'm using openmotif 2.2.3 (2.2.3-1.2ubuntu2).  I'll try
the latest cvs version and let you know what happens.  After
that, I'll reinstall ubuntu's nedit and get a core dump.


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

Comment By: Scott Tringali (tringali)
Date: 2006-10-26 12:28

Message:
Logged In: YES 
user_id=11321

Are you using OpenMotif 2.2.3?  If so, try the latest CVS
version.  I've checked in a fix to disable UTF8 for LC_CTYPE
for all OpenMotif 2.2.3.  Some folks have noted that it
still crashes, whereas my copy of OM 2.2.3 (Fedora Core 2
and 3) doesn't have the problem.

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

Comment By: Scott Tringali (tringali)
Date: 2006-09-30 02:16

Message:
Logged In: YES 
user_id=11321

Please try this:

setenv LANG C
env LC_CTYPE=en_AU.UTF-8 nedit
env LC_COLLATE=en_AU.UTF-8 nedit
env LC_TIME=en_AU.UTF-8 nedit
env LC_NUMERIC=en_AU.UTF-8 nedit
env LC_MONETARY=en_AU.UTF-8 nedit
env LC_MESSAGES=en_AU.UTF-8 nedit
env LC_ALL=en_AU.UTF-8 nedit

Each time, run the nedit and see if it dies.

I understand crash, but what does "doesn't work properly" mean?

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

Comment By: John Clarke (jrclarke)
Date: 2006-09-18 16:19

Message:
Logged In: YES 
user_id=859594

LANG: Yes, but only with openmotif.
- en_AU.UTF-8: nedit crashes when I type control-O.
- en_AU: the file open dialog appears but doesn't work
properly when I type control-O.
- unset: nedit works fine.

With lesstif, nedit doesn't work properly regardless of
whether LANG is set or not.

core: OK, I'll do it after I get home.

And thanks, we're already having fun :-)


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

Comment By: Thorsten Haude (yooden)
Date: 2006-09-18 04:20

Message:
Logged In: YES 
user_id=119143

LANG: I see, so we have three different states here.

Core: Have fun, get back here when you are ready.

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

Comment By: John Clarke (jrclarke)
Date: 2006-09-18 04:15

Message:
Logged In: YES 
user_id=859594

I can't use LANG=en_AU, if I do, the file open dialog
doesn't work properly.

I can't give you a core file now; I'm travelling and won't
be home until mid-October.  I'll be happy to provide a core
dump after I return if you can wait that long.

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

Comment By: Thorsten Haude (yooden)
Date: 2006-09-18 03:32

Message:
Logged In: YES 
user_id=119143

First of all, you could use LANG=en_AU, you don't have to
unset it. No LANG at all means falling back to LANG=C.

About the crash: Could you provide us with a core file?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1543796&group_id=11005
-- 
NEdit Develop mailing list - Develop@nedit.org
http://www.nedit.org/mailman/listinfo/develop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic