HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- crash when initializing xmTextFieldWidgetClass
Operating System - HP-UX
1827204
Members
2477
Online
109716
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 06:49 AM
07-31-2003 06:49 AM
Hello,
I've a crash when trying to the xmTextFieldWidgetClass on HP-UX 11.11
Motif2.1 is used and X11R6.
Attached is a little program that reproduces the problem. Also the 'call stack' when crashed is included.
I've already installed patch PHSS_28371 but it had no effect.
When I compile on HP-UX 10.20 there is no problem (Motif1.2 / X11R6)
Any ideas on what might cause this and/or
ways to fix it?
I've a crash when trying to the xmTextFieldWidgetClass on HP-UX 11.11
Motif2.1 is used and X11R6.
Attached is a little program that reproduces the problem. Also the 'call stack' when crashed is included.
I've already installed patch PHSS_28371 but it had no effect.
When I compile on HP-UX 10.20 there is no problem (Motif1.2 / X11R6)
Any ideas on what might cause this and/or
ways to fix it?
A brilliant idea: Something that only happens to others.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 07:00 AM
07-31-2003 07:00 AM
Re: crash when initializing xmTextFieldWidgetClass
Does the crash create a core dump or a crash dump in /var/adm/crash
If it really crashes the machine, perform q4 analysis on it. Instructions attached.
SEP
If it really crashes the machine, perform q4 analysis on it. Instructions attached.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 07:15 AM
07-31-2003 07:15 AM
Re: crash when initializing xmTextFieldWidgetClass
It's only the program that crashes.
No core is dumped.
It says "Bus error" when exiting.
No core is dumped.
It says "Bus error" when exiting.
A brilliant idea: Something that only happens to others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:55 AM
08-04-2003 11:55 AM
Solution
This answer is a repeat of my response to you in the dev-tools mailing list. I'll put it here for the benefit of other folks trying to answer the question now and for future searches of the same topic.
---------------------------------------------------------------------------
The Motif2.1 code assumes that the vendorShellWidgetClass has been
initialized before other Motif widget classes. The XtAppInitialize
version of your test works because it creates an ApplicationShell
widget, which initializes the applicationShellWidgetClass and its
superclass, the vendorShellWidgetClass. That calls several functions
to set up global data. The vital function in this case was
_XmInitializeTraits, which initializes a global pointer
used code under by XtInitializeWidgetClass(xmTextFieldWidgetClass).
It is not clear if the Motif2.1 authors were right to assume that
vendorShellWidgetClass would be initialized first. But that is
the way it is. You can work around it with the following call.
#include
XtInitializeWidgetClass(vendorShellWidgetClass);
---------------------------------------------------------------------------
The Motif2.1 code assumes that the vendorShellWidgetClass has been
initialized before other Motif widget classes. The XtAppInitialize
version of your test works because it creates an ApplicationShell
widget, which initializes the applicationShellWidgetClass and its
superclass, the vendorShellWidgetClass. That calls several functions
to set up global data. The vital function in this case was
_XmInitializeTraits, which initializes a global pointer
used code under by XtInitializeWidgetClass(xmTextFieldWidgetClass).
It is not clear if the Motif2.1 authors were right to assume that
vendorShellWidgetClass would be initialized first. But that is
the way it is. You can work around it with the following call.
#include
XtInitializeWidgetClass(vendorShellWidgetClass);
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP