Answers Database
Dynatext Browser: dtext quits with bus error when executed from Solaris CDE.
Record #2015
Problem Title:
Dynatext Browser: dtext quits with bus error when executed from Solaris
CDE.
Problem Description:
Key Words: CDE, Dynatext, Bus Error, core, Solaris
Urgency: Standard
CDE (Common Desktop Envrionment) on Solaris, several warnings
may occur of the type :
krusty% dtext
DynaText(TM) v2.3, Oct 1 1994, Copyright (c) 1990-1994.
Issue #639
Electronic Book Technologies, Inc.
All Rights Reserved.
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-
*-*-*-*" to type FontSet
Warning: Unable to load any useable fontset
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-
*-*-*-*:" to type FontList
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-
*-*-*" to type FontSet
Warning: Unable to load any useable fontset
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-
*-*-*:" to type FontList
Then upon attempting to open a book, Dynatext abruptly ends
with a Bus Error (core dumped).
Solution 1:
This error can usually be fixed by loading the Openwindow Keys
into the system. If you type the following at a command
prompt:
xrdb /usr/openwin/lib/Xdefaults
before executing the Dynatext viewer, dtext, the warnings
should disappear and the system should no longer Bus Error when
executing Dynatext.
Note: This command may need to be re-executed if the user logs
out of the system or if the Fonts are adjusted from the CDE Style Manager.
Solution 2:
Another possible work-around is to remotely log into a machine
running SunOS4 and executing dtext from this machine :
cde_machine% rlogin sun4_machine
SunOS Release 4.1.4 (GENERIC) #4: Sun May 19 02:19:06 PDT 1996
sun4_machine% setenv DISPLAY cde_machine:0.0
sun4_machine% dtext
Note: When executing Dynatext from a SunOS4 machine, be sure
your path reflects the Sun4 binary from Dynatext:
set path (<Dynatext_install>/binsun4 $path)
Solution 3:
You'll need to point your XNLSPATH variable to the nls library to
/usr/dt/lib/nls
If you don't have this path or the correct nls libraries, you can download
the libraries from the following ftp site:
ftp://ftp.fnal.gov/pub/nedit
get the file nls.tar
Put the file in a temporary directory, untar it (tar xvf nls.tar)
it creates in the temp dir a sub dir called /nls
mkdir -p /usr/dt/lib/nls
copy the files from "/temp_dir/nls" to "/usr/dt/lib/nls"
Set a evironment variable : XNLSPATH to this directory.
Source or reboot and start dtext
Note: If you do not have permissions to write in the "/usr/dt/lib"
directory, it may be placed in another writable directory and the
XNLSPATH environment variable may point to that directory however it is
suggested to place it in the "/usr/dt/lib/nls" directory if possible.
See Xilinx Solution 2673 for any problems regarding the M1 core tools
because of this environment setting
End of Record #2015
For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals! |