HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP debuggers
Operating System - HP-UX
1833029
Members
2358
Online
110049
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-25-2001 07:49 AM
01-25-2001 07:49 AM
I am currently trying to resolve a problem with an application where one of the processes hangs. There doesn't appear to be any particular circumstances where the hang happens and attempts to reproduce it are yet to be successful. Running the process with debug isn't an option beacuse of the perfomance hit on the application.
My two questions are :
1. Is there any way other, than a kill -3 which doesn't work in this case, to force the process to exit and produce a core file for later analysis.
2. Does anybody have any recommendations for debuggers that would allow me to attach to the hung process and look at memory/registers etc.
Thanks in advance
Ian
My two questions are :
1. Is there any way other, than a kill -3 which doesn't work in this case, to force the process to exit and produce a core file for later analysis.
2. Does anybody have any recommendations for debuggers that would allow me to attach to the hung process and look at memory/registers etc.
Thanks in advance
Ian
Solved! Go to Solution.
- Tags:
- gdb
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 08:00 AM
01-25-2001 08:00 AM
Re: HP debuggers
It could be a case that kill -3 kills the thread but not the process perhaps ? try following it up with another couple of kill -3's.
If that fails kill -6 or a kill -9 ?
As to Qu 2 await the advise of a Programming guru or check out :
http://devresource.hp.com/devresource/Tools/wdb/doc/index.html
If that fails kill -6 or a kill -9 ?
As to Qu 2 await the advise of a Programming guru or check out :
http://devresource.hp.com/devresource/Tools/wdb/doc/index.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 08:10 AM
01-25-2001 08:10 AM
Re: HP debuggers
Before debuggers may be of your interest 'tusc'. tusc is tracer for system calls.
Search on forums for more info.
Search on forums for more info.
unsupported
- Tags:
- tusc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2001 03:32 AM
01-26-2001 03:32 AM
Solution
Qu 1:
A kill -3 sends SIGQUIT to the application which is a bit like doing a Ctrl-C on it. You need to find a signal that the application has no handler for, and produces a core file (see man 5 signal for a description of the default signal outcomes). 'kill -SIGABRT' is commonly used, 'kill -SIGSEGV' or 'kill -SIGBUS' are another two possibilities since few applications have handlers for them unless they are doing their own memory management or they trap all signals.
Qu 2:
The site Alex pointed you to has a download for HP's latest debugger WDB version 2.1. You can use this in two ways, either as gdb (based on GNU's distribution) or wdb (HP's custom GUI on top of gdb).
The other debugger on most HP development systems is dde (available on applications media only).
In both the debuggers' cases, they can attach to running processes (see their man pages) or can run programs with or without debugging information in them since both are capable to tracing at an assembly language level.
A kill -3 sends SIGQUIT to the application which is a bit like doing a Ctrl-C on it. You need to find a signal that the application has no handler for, and produces a core file (see man 5 signal for a description of the default signal outcomes). 'kill -SIGABRT' is commonly used, 'kill -SIGSEGV' or 'kill -SIGBUS' are another two possibilities since few applications have handlers for them unless they are doing their own memory management or they trap all signals.
Qu 2:
The site Alex pointed you to has a download for HP's latest debugger WDB version 2.1. You can use this in two ways, either as gdb (based on GNU's distribution) or wdb (HP's custom GUI on top of gdb).
The other debugger on most HP development systems is dde (available on applications media only).
In both the debuggers' cases, they can attach to running processes (see their man pages) or can run programs with or without debugging information in them since both are capable to tracing at an assembly language level.
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