<?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 Using wdb &amp;quot;set thread-check&amp;quot; options on HP-PA in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936216#M545116</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a multi-threaded applucation running on HP-PARISC (HP-UX B.11.23 U 9000/785)&lt;BR /&gt;The application is deadlocking, and initial investigation reveal a possibility of some threads exiting without releasing lock on mutex.&lt;BR /&gt;&lt;BR /&gt;I saw that WDB provides for commands "set thread-check" to detect for threadlocks.&lt;BR /&gt;url: &lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.htmlhttp://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.htmlhttp://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I used "set thread-check on thread-exit-own-mutex on"&lt;BR /&gt;however my application exits with&lt;BR /&gt;&lt;BR /&gt;Trace library -- Non-recoverable error.&lt;BR /&gt;Out of memory.&lt;BR /&gt;Exiting...&lt;BR /&gt;&lt;BR /&gt;I don't see the gdb process really increase in size. Any pointers on how to use this option?&lt;BR /&gt;Any WDB specific forum?&lt;BR /&gt;&lt;BR /&gt;$gdb --version&lt;BR /&gt;HP gdb 5.5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00&lt;BR /&gt;and target hppa1.1-hp-hpux11.00.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 5.5.0 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Feb 2007 02:01:01 GMT</pubDate>
    <dc:creator>Shweta_3</dc:creator>
    <dc:date>2007-02-01T02:01:01Z</dc:date>
    <item>
      <title>Using wdb "set thread-check" options on HP-PA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936216#M545116</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a multi-threaded applucation running on HP-PARISC (HP-UX B.11.23 U 9000/785)&lt;BR /&gt;The application is deadlocking, and initial investigation reveal a possibility of some threads exiting without releasing lock on mutex.&lt;BR /&gt;&lt;BR /&gt;I saw that WDB provides for commands "set thread-check" to detect for threadlocks.&lt;BR /&gt;url: &lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.htmlhttp://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.htmlhttp://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,6420,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I used "set thread-check on thread-exit-own-mutex on"&lt;BR /&gt;however my application exits with&lt;BR /&gt;&lt;BR /&gt;Trace library -- Non-recoverable error.&lt;BR /&gt;Out of memory.&lt;BR /&gt;Exiting...&lt;BR /&gt;&lt;BR /&gt;I don't see the gdb process really increase in size. Any pointers on how to use this option?&lt;BR /&gt;Any WDB specific forum?&lt;BR /&gt;&lt;BR /&gt;$gdb --version&lt;BR /&gt;HP gdb 5.5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00&lt;BR /&gt;and target hppa1.1-hp-hpux11.00.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 5.5.0 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Feb 2007 02:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936216#M545116</guid>
      <dc:creator>Shweta_3</dc:creator>
      <dc:date>2007-02-01T02:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using wdb "set thread-check" options on HP-PA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936217#M545117</link>
      <description>&amp;gt;I don't see the gdb process really increase in size.&lt;BR /&gt;&lt;BR /&gt;You need to look at the debuggee process.  Saving this info in gdb would really slow things down.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Any WDB specific forum?&lt;BR /&gt;&lt;BR /&gt;It is lumped in with HP-UX devtools:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Feb 2007 03:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936217#M545117</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-01T03:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using wdb "set thread-check" options on HP-PA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936218#M545118</link>
      <description>Hello Shweta, &lt;BR /&gt;&lt;BR /&gt;Could you please try with the command: "set thread-check thread-exit-own-mutex on" (that is without the 'on' after 'thread-check') and let us know if it helps ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jini.</description>
      <pubDate>Thu, 01 Feb 2007 04:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936218#M545118</guid>
      <dc:creator>Jini Susan George</dc:creator>
      <dc:date>2007-02-01T04:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using wdb "set thread-check" options on HP-PA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936219#M545119</link>
      <description>Thank You Jini. This helped. Now the application is running in gdb. I hope to see some results.</description>
      <pubDate>Thu, 01 Feb 2007 04:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-wdb-quot-set-thread-check-quot-options-on-hp-pa/m-p/3936219#M545119</guid>
      <dc:creator>Shweta_3</dc:creator>
      <dc:date>2007-02-01T04:59:53Z</dc:date>
    </item>
  </channel>
</rss>

