1839826 Members
2406 Online
110156 Solutions
New Discussion

Motif Problem

 
Sreenivas_1
Occasional Advisor

Motif Problem

Hi,
We are running some GUI application. When we run the application, it comes up, and in its browser if we select some object the GUI disappears by displaying the following message.
----------------------
Name: OptionButton
Class: XmCascadeButtonGadget
Illegal value (0) for rep type XmRLabelType

X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0x0
Serial number of failed request: 3309
Current serial number in output stream: 3309
----------------
The application is not dumping any core, it just exits after the above message.

This problem started after rebooting our HP-UX server.

Any help regarding this is really great.

Thanks in advance
4 REPLIES 4
Steve Steel
Honored Contributor

Re: Motif Problem

Hi


What is your patch level for cde X motif


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Sreenivas_1
Occasional Advisor

Re: Motif Problem

Hi,
Here is the patches installed on the server:
swlist | grep Motif
PHSS_13871 1.0 X/Motif2.1 Runtime Feb 98 Periodic Patch
PHSS_25877 1.0 X/Motif 32bit Runtime JAN2002 Periodic Patch
PHSS_25879 1.0 X/Motif 64bit Runtime JAN2002 Periodic Patch

Thanks & Regards,
Sreenivas.
R. Sri Ram Kishore_1
Respected Contributor

Re: Motif Problem

Hi Sreenivas,

Take a look at these docs:
http://www.rahul.net/kenton/perrors.html
http://w3.pppl.gov/misc/motif/MotifProgGuide/en_US/TOC.html

HTH.

Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
Elmar P. Kolkman
Honored Contributor

Re: Motif Problem

It could be caused by a broken Resource Database value. Check out /usr/lib/X11/app-defaults for a file with a name like the name of your application. That file contains some application resources. That one could cause the problems. Or the problem is in the already loaded values, which can be shown with the command 'xrdb -query'

An X application that has a problem with an X-server gives messages like the one you got and exits normally, not dumping a core. Luckily, otherwise you system would be full of core files after someone shuts down his X-environment without stopping all X-applications...

Other then this, I don't know of anything else helpfull with the info you gave till now.
Every problem has at least one solution. Only some solutions are harder to find.