Description of problem: When I start nedit on a remote desktop from a Win 10 to a RHEL 7 (xrdp) nedit seg faults Version-Release number of selected component (if applicable): nedit.x86_64 5.7-1.el7 xrdp 1:0.9.11-1.el7 xorgxrdp 0.2.11-1.el7 How reproducible: always Steps to Reproduce: 1. remote desktop to a RHEL 7 system 2. start nedit 3. Actual results: nedit: the current locale is utf8 (en_US.UTF-8) nedit: changed locale to non-utf8 (en_US) Segmentation fault (core dumped) Expected results: It should work. Additional info: $ gdb nedit GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/nedit...Reading symbols from /usr/lib/debug/usr/bin/nedit.debug...done. done. (gdb) run Starting program: /bin/nedit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". nedit: the current locale is utf8 (en_US.UTF-8) nedit: changed locale to non-utf8 (en_US) Program received signal SIGSEGV, Segmentation fault. FindBestVisual (display=0x8bc840, appName=appName@entry=0x513876 "nedit", appClass=appClass@entry=0x4e83a2 "NEdit", visual=visual@entry=0x7fffffffbb68, depth=depth@entry=0x7fffffffbb64, colormap=colormap@entry=0x7fffffffbb70) at misc.c:405 405 reqID = DefaultVisual(display, screen)->visualid; (gdb) where #0 FindBestVisual (display=0x8bc840, appName=appName@entry=0x513876 "nedit", appClass=appClass@entry=0x4e83a2 "NEdit", visual=visual@entry=0x7fffffffbb68, depth=depth@entry=0x7fffffffbb64, colormap=colormap@entry=0x7fffffffbb70) at misc.c:405 #1 0x000000000040a033 in patchResourcesForVisual () at nedit.c:937 #2 main (argc=1, argv=0x7fffffffdcb8) at nedit.c:509 (gdb)
I recently encountered this. I narrowed it down to the Remote Desktop Connection using 32bit color. If I connect using anything other than 32bit color the segmentation fault does not occur.
thanks @davidredmon, the issue persists in EL9 and the workaround also works.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.