David Blackman on 29 Mar 2006 13:48:01 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] puzzling Motif(?) font(?) problem


 
Maybe the resource files required for the apps are not installed? 
You can try looking at the strace output while the app is starting and see if it is trying to open a resource file and what directories are being searched.

 
On 3/28/06, bergman@merctech.com <bergman@merctech.com> wrote:

Hello,

I'm experiencing what I believe are problems with Motif. The symptoms are
that certain apps no longer display any text--either on menus, widgets,
or within the body of the application. Some example apps are grok (from
xmbase-grok, a Motif front-end to a flat file database system), and
winsetup (from Win4Lin, the admin GUI to a commercial Windows-under-Linux
package).

All other GUI access and X applications seem fine.  Other applications
that use Motif (for example xpdf, ddd) work fine. I can't trace the appearance
of the problem to a particular upgrade, but the applications used to work in
the past...

The affected apps seem to run fine--no core dumps, strace doesn't reveal
any problems, and there are no Xorg.0.log or .xsession-errors messages
that seem relevent. It's possible to run the apps, but it must be done
"blindly", ie., drop-down menus work, buttons work, etc., but there's
no text displayed.

I've tried forcibly installing lesstif-0.94.4-1.i586 over the motif
packages--the install works, but has no affect on the problem.

I've tried recompiling grok--the build goes fine, the executable runs, but the
symptoms are the same (no text, but it seems to run fine).

Any suggestions for a fix, or for how to debug this problem further?

I can provide strace output and screen shots (off the list), but the apps
appear to work--there is no core dump or exit with an error condition,
but the text is not visible.

Thanks,

Mark

----------------------------------------------------------------------------

Evironment:
               FC4 (kept current with yum)
               kernel 2.6.9
               X packages:
                       fonts-xorg-100dpi-6.8.2-1
                       fonts-xorg-75dpi-6.8.2-1
                       fonts-xorg-base-6.8.2-1
                       fonts-xorg-ISO8859-14-100dpi-6.8.2-1
                       fonts-xorg-ISO8859-14-75dpi-6.8.2-1
                       fonts-xorg-ISO8859-15-100dpi-6.8.2-1
                       fonts-xorg-ISO8859-15-75dpi-6.8.2-1
                       fonts-xorg-ISO8859-2-100dpi-6.8.2-1
                       fonts-xorg-ISO8859-2-75dpi-6.8.2-1
                       fonts-xorg-ISO8859-9-100dpi-6.8.2-1
                       fonts-xorg-ISO8859-9-75dpi-6.8.2-1
                       fonts-xorg-truetype-6.8.2-1
                       openmotif21-2.1.30
                       openmotif-2.2.3-10.FC4.1
                       openmotif-devel-2.2.3-10.FC4.1
                       xorg-x11-100dpi-fonts-6.7.0-14
                       xorg-x11-6.8.2-37.FC4.49.2
                       xorg-x11-75dpi-fonts-6.7.0-14
                       xorg-x11-deprecated-libs-6.8.2-37.FC4.49.2
                       xorg-x11-deprecated-libs-devel-6.8.2-37.FC4.49.2
                       xorg-x11-devel-6.8.2-37.FC4.49.2
                       xorg-x11-doc-6.8.2-37.FC4.49.2
                       xorg-x11-font-utils-6.8.2-37.FC4.49.2
                       xorg-x11-ISO8859-15-100dpi-fonts-6.7.0-14
                       xorg-x11-ISO8859-15-75dpi-fonts-6.7.0-14
                       xorg-x11-ISO8859-2-100dpi-fonts-6.7.0-14
                       xorg-x11-ISO8859-2-75dpi-fonts-6.7.0-14
                       xorg-x11-ISO8859-9-100dpi-fonts-6.7.0-14
                       xorg-x11-ISO8859-9-75dpi-fonts-6.7.0-14
                       xorg-x11-libs-6.8.2-37.FC4.49.2
                       xorg-x11-Mesa-libGL-6.8.2-37.FC4.49.2
                       xorg-x11-Mesa-libGLU-6.8.2-37.FC4.49.2
                       xorg-x11-tools-6.8.2-37.FC4.49.2
                       xorg-x11-truetype-fonts-6.7.0-14
                       xorg-x11-twm-6.8.2-37.FC4.49.2
                       xorg-x11-xauth-6.8.2-37.FC4.49.2
                       xorg-x11-xdm-6.8.2-37.FC4.49.2
                       xorg-x11-xfs-6.8.2-37.FC4.49.2
                       xorg-x11-Xnest-6.8.2-37.FC4.49.2
                       xorg-x11-Xvfb-6.8.2-37.FC4.49.2

ldd /usr/bin/grok
       linux-gate.so.1 =>  (0xffffe000)
       libXm.so.3 => /usr/X11R6/lib/libXm.so.3 (0xb7d7a000)
       libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4d1e1000)
       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4d093000)
       libm.so.6 => /lib/libm.so.6 (0x44de8000)
       libc.so.6 => /lib/libc.so.6 (0x44cbd000)
       libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4d552000)
       libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4d196000)
       libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4d17a000)
       libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4d169000)
       libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x4d60a000)
       libdl.so.2 => /lib/libdl.so.2 (0x44e0f000)
       /lib/ld-linux.so.2 (0x44c9f000)


Log entries from ~/.xsession-errors when the apps are closed:
       X Error: BadWindow (invalid Window parameter) 3
                Major opcode:  19
                Minor opcode:  0
                Resource id:  0x4a00005
       X Error: BadWindow (invalid Window parameter) 3
                Major opcode:  19
                Minor opcode:  0
                Resource id:  0x4800005

       (note: except for changes in the "Resource id" field, these messages
       are the same when a well-behaving app, such as xpdf, is also closed
       the same way, so I don't believe they are relevent)


-----
Mark Bergman    Biker, Rock Climber, Unix mechanic, IATSE #1 Stagehand

http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=bergman%40merctech.com

I want a newsgroup with a infinite S/N ratio! Now taking CFV on:
rec.motorcycles.stagehands.pet-bird-owners.pinballers.unix-supporters
15+ So Far--Want to join? Check out: http://www.panix.com/~bergman

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug



--
David Blackman
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug