Operating System - HP-UX
1833012 Members
3097 Online
110048 Solutions
New Discussion

core dump trying to run wdb debugger

 
SOLVED
Go to solution
Chris De Angelis
Frequent Advisor

core dump trying to run wdb debugger

I'm trying to run the wdb debugger on my HP-UX 11.00 system for the first time, with the GUI. I am trying to do this by sending the display to a Sun workstation (running Solaris 8) as I have no HP workstation and the HP server just has the ugly console.

I have version 2.0 of wdb on this system, which I know is not the latest, but at the moment, I just want to run this somehow.

What I am getting is the following:
--------------------------------------------
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type Fon
tSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning:
Name: FONTLIST_DEFAULT_TAG_STRING
Class: XmRendition
Conversion failed. Cannot load font.

Warning:
Name: FONTLIST_DEFAULT_TAG_STRING
Class: XmRendition
Conversion failed. Cannot load font.

Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontS
et
Error: XtCreatePopupShell requires non-NULL parent

(...goes on with this one about a million times before dumping core:)

Warning:
Name: FONTLIST_DEFAULT_TAG_STRING
Class: XmRendition
Conversion failed. Cannot load font.
-----------------------------------------

Do I need to upgrade the Motif libraries on one of the two systems or something like that? If you have an idea, thanks a lot for sharing it!
2 REPLIES 2
Hartmut Lang
Trusted Contributor

Re: core dump trying to run wdb debugger

Your SUN does not have the FontSet installed wdb wants to use.

- install new Fonts on the SUN
or
- change x-resources for wdb to use another fontSet
Alex Glennie
Honored Contributor
Solution

Re: core dump trying to run wdb debugger


Explanation : CDE includes a small set of fonts and font aliases which are not
part of the standard MIT X distribution. In order for CDE to
function correctly, these fonts must be made available to
X-servers (X-Terminals) displaying CDE etc .... PC's have the same problem and
Suns implementation of CDE and fonts is vendor specific and not exactly the same as
on hpux.

Resolution : On the hpux system running opc process do the following :


1 - The font server needs to be configured to include the CDE
fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null

We now need to tell remote client to use this : log onto the solaris system and from within a dtterm window type : xset fp+ tcp/IPADDRESS:7000

you can add this into the users .profile or similar to make permanent ?