Salesforce

How to get a stack trace from a Progress process on Linux?

« Go Back

Information

 
TitleHow to get a stack trace from a Progress process on Linux?
URL NameP58872
Article Number000138803
EnvironmentLinux Intel
Question/Problem Description
How to attach a debug module get a stack trace on Linux?
How to use gdb on Linux?
How to get a stack trace from a process on Linux?
How to attach to a PID on Linux and get a stack trace?
How to use gdb to get a stack trace on Linux?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The executable name for debug is gdb.  The gdb command is part of a debug package and needs to be installed on the machine before proceeding with these steps.

1.  Login in as root.
2. Find the PID for the running process
3. Execute the following command to attach to the running process:
gdb <PATH-TO-EXECUTABLE> <PID>
4. That should load the gdb application
5.  Once connected to the process, type where to get a stack trace for the process.
Workaround
Notes
A non-root user may receive the following errors:
    ptrace: Operation not permitted.
   <PATH-TO-EXECUTABLE>/<PID>: No such file or directory.
Keyword Phrase
Last Modified Date9/14/2015 1:18 AM

Powered by