GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using wdb "set thread-check" options on HP-PA
Operating System - HP-UX
1845181
Members
2606
Online
110237
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
01-31-2007 06:01 PM
01-31-2007 06:01 PM
Hello,
I have a multi-threaded applucation running on HP-PARISC (HP-UX B.11.23 U 9000/785)
The application is deadlocking, and initial investigation reveal a possibility of some threads exiting without releasing lock on mutex.
I saw that WDB provides for commands "set thread-check" to detect for threadlocks.
url: 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
I used "set thread-check on thread-exit-own-mutex on"
however my application exits with
Trace library -- Non-recoverable error.
Out of memory.
Exiting...
I don't see the gdb process really increase in size. Any pointers on how to use this option?
Any WDB specific forum?
$gdb --version
HP gdb 5.5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
I have a multi-threaded applucation running on HP-PARISC (HP-UX B.11.23 U 9000/785)
The application is deadlocking, and initial investigation reveal a possibility of some threads exiting without releasing lock on mutex.
I saw that WDB provides for commands "set thread-check" to detect for threadlocks.
url: 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
I used "set thread-check on thread-exit-own-mutex on"
however my application exits with
Trace library -- Non-recoverable error.
Out of memory.
Exiting...
I don't see the gdb process really increase in size. Any pointers on how to use this option?
Any WDB specific forum?
$gdb --version
HP gdb 5.5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 07:49 PM
01-31-2007 07:49 PM
Re: Using wdb "set thread-check" options on HP-PA
>I don't see the gdb process really increase in size.
You need to look at the debuggee process. Saving this info in gdb would really slow things down.
>Any WDB specific forum?
It is lumped in with HP-UX devtools:
http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html
You need to look at the debuggee process. Saving this info in gdb would really slow things down.
>Any WDB specific forum?
It is lumped in with HP-UX devtools:
http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 08:59 PM
01-31-2007 08:59 PM
Re: Using wdb "set thread-check" options on HP-PA
Thank You Jini. This helped. Now the application is running in gdb. I hope to see some results.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP