AR# 2015: Dynatext Browser: dtext quits with bus error when executed from Solaris CDE.
AR# 2015
|
Dynatext Browser: dtext quits with bus error when executed from Solaris CDE.
描述
Key Words: CDE, Dynatext, Bus Error, core, Solaris
Urgency: Standard
Description: After envoking the Dynatext Browser while running 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).
解决方案
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.
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
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