Bug 199770 - Nedit really slow and crash on file-save / file-open
Summary: Nedit really slow and crash on file-save / file-open
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nedit
Version: 6
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-21 20:45 UTC by A. Lok
Modified: 2013-07-02 23:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-30 11:38:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Nedit window with green borders (4.58 KB, image/png)
2006-08-10 19:24 UTC, A. Lok
no flags Details
Patch to fix random nedit crashes (582 bytes, patch)
2006-08-30 11:21 UTC, Jindrich Novy
no flags Details | Diff

Description A. Lok 2006-07-21 20:45:08 UTC
Description of problem:

Nedit is really, really slow, and crashes on file>save / file>open. I think it
is caused by an updated openmotif version, since at install nedit worked flawless.

Version-Release number of selected component (if applicable):
nedit-5.5-8.fc6
openmotif-2.3.0-0.2.1

Steps to Reproduce:
1. start Nedit
2. Notice slow redrawing of the application
3. press ctrl-S or File > Save
4. Nedit closes
  
Actual results:
Nedit closes

Expected results:
Save-file dialog

Additional info:

information after the crash on the command-line:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  91 (X_QueryColors)
  Value in failed request:  0xffb3b3b3
  Serial number of failed request:  4532
  Current serial number in output stream:  4532

Comment 1 A. Lok 2006-08-10 19:24:33 UTC
Created attachment 133974 [details]
Nedit window with green borders

Comment 2 A. Lok 2006-08-10 19:28:36 UTC
Updated to Fedora Core 6 test 2, since it isn't working right in this version
either.

-Slow behaviour is gone
-Still crashes on File > Save, File > Open
-Nedit windows have a green border (see attached image)

installed versions:
nedit 5.5-8.fc6
libXp 1.0.0-4.1
openmotif 2.3.0-0.2.1

Comment 3 Jindrich Novy 2006-08-28 14:40:47 UTC
Yes, it's likely caused by the updated openmotif, nedit crashes with:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  91 (X_QueryColors)
  Value in failed request:  0xffb3b3b3
  Serial number of failed request:  4596
  Current serial number in output stream:  4596

on File/Open...

Comment 4 Thomas Woerner 2006-08-28 15:27:51 UTC
Jindrich: Is nedit setting the path for rgb.txt?

Comment 5 Jindrich Novy 2006-08-28 16:16:06 UTC
Nope, I grepped all nedit sources, but found no reference to rgb.txt.

Comment 6 Thomas Woerner 2006-08-29 15:25:34 UTC
This seems to be a xlib problem with the composite extension. For now you have
two solutions:

1) Set XLIB_SKIP_ARGB_VISUALS environment variable
   export XLIB_SKIP_ARGB_VISUALS=1

2) Set visual for nedit to Default
   nedit -xrm "*VisualID: Default"

--
Assigning back to nedit.

Comment 7 Jindrich Novy 2006-08-30 11:21:48 UTC
Created attachment 135197 [details]
Patch to fix random nedit crashes

I wrote this simple patch to fix this. It still allows an user to redefine the
default visual by the -xrm nedit option, but it disables best visual detection
and sets the Default one regardless the list of visuals which is available.


Note You need to log in before you can comment on or make changes to this bug.