<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic crash when initializing xmTextFieldWidgetClass in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038460#M907296</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I've a crash when trying to the xmTextFieldWidgetClass on HP-UX 11.11&lt;BR /&gt;Motif2.1 is used and X11R6.&lt;BR /&gt;Attached is a little program that reproduces the problem. Also the 'call stack' when crashed is included.&lt;BR /&gt;I've already installed patch PHSS_28371 but it had no effect.&lt;BR /&gt;When I compile on HP-UX 10.20 there is no problem (Motif1.2 / X11R6)&lt;BR /&gt;&lt;BR /&gt;Any ideas on what might cause this and/or&lt;BR /&gt;ways to fix it?</description>
    <pubDate>Thu, 31 Jul 2003 13:49:39 GMT</pubDate>
    <dc:creator>Bart Vanneste</dc:creator>
    <dc:date>2003-07-31T13:49:39Z</dc:date>
    <item>
      <title>crash when initializing xmTextFieldWidgetClass</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038460#M907296</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I've a crash when trying to the xmTextFieldWidgetClass on HP-UX 11.11&lt;BR /&gt;Motif2.1 is used and X11R6.&lt;BR /&gt;Attached is a little program that reproduces the problem. Also the 'call stack' when crashed is included.&lt;BR /&gt;I've already installed patch PHSS_28371 but it had no effect.&lt;BR /&gt;When I compile on HP-UX 10.20 there is no problem (Motif1.2 / X11R6)&lt;BR /&gt;&lt;BR /&gt;Any ideas on what might cause this and/or&lt;BR /&gt;ways to fix it?</description>
      <pubDate>Thu, 31 Jul 2003 13:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038460#M907296</guid>
      <dc:creator>Bart Vanneste</dc:creator>
      <dc:date>2003-07-31T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: crash when initializing xmTextFieldWidgetClass</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038461#M907297</link>
      <description>Does the crash create a core dump or a crash dump in /var/adm/crash&lt;BR /&gt;&lt;BR /&gt;If it really crashes the machine, perform q4 analysis on it.  Instructions attached.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 31 Jul 2003 14:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038461#M907297</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-31T14:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: crash when initializing xmTextFieldWidgetClass</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038462#M907298</link>
      <description>It's only the program that crashes.&lt;BR /&gt;No core is dumped.&lt;BR /&gt;It says "Bus error" when exiting.</description>
      <pubDate>Thu, 31 Jul 2003 14:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038462#M907298</guid>
      <dc:creator>Bart Vanneste</dc:creator>
      <dc:date>2003-07-31T14:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: crash when initializing xmTextFieldWidgetClass</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038463#M907299</link>
      <description>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.&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;  The Motif2.1 code assumes that the vendorShellWidgetClass has been&lt;BR /&gt;initialized before other Motif widget classes.  The XtAppInitialize&lt;BR /&gt;version of your test works because it creates an ApplicationShell&lt;BR /&gt;widget, which initializes the applicationShellWidgetClass and its&lt;BR /&gt;superclass, the vendorShellWidgetClass.  That calls several functions&lt;BR /&gt;to set up global data.  The vital function in this case was&lt;BR /&gt;_XmInitializeTraits, which initializes a global pointer&lt;BR /&gt;used code under by XtInitializeWidgetClass(xmTextFieldWidgetClass).&lt;BR /&gt;&lt;BR /&gt;  It is not clear if the Motif2.1 authors were right to assume that&lt;BR /&gt;vendorShellWidgetClass would be initialized first.  But that is&lt;BR /&gt;the way it is.  You can work around it with the following call.&lt;BR /&gt;&lt;BR /&gt;#include &lt;X11&gt;&lt;BR /&gt;XtInitializeWidgetClass(vendorShellWidgetClass);&lt;BR /&gt;&lt;/X11&gt;</description>
      <pubDate>Mon, 04 Aug 2003 18:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-when-initializing-xmtextfieldwidgetclass/m-p/3038463#M907299</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-08-04T18:55:24Z</dc:date>
    </item>
  </channel>
</rss>

