Salesforce

Why is proGetStack is not generating a protrace file

« Go Back

Information

 
TitleWhy is proGetStack is not generating a protrace file
URL NameproGetStack-does-not-generate-a-protrace-file
Article Number000112785
EnvironmentProduct: OpenEdge
Version: 10.2B, 11.x, 12.x
OS: Windows
Other: proGetStack
Question/Problem Description
Why is proGetStack is not generating protrace file in the start-in directory ABL executable processes prowin32, prowin, _progres, _proapsv

PROTRACE files are not generated for processes started via published applications running on terminal server.
Steps to Reproduce
Clarifying Information
proGeStack only works for ABL clients (including Appserver, WebSpeed)
progetstack shows request to generate stack accepted in the command line:
proenv> proGetStack <PID> 
Request to generate stack information accepted. 
Error MessageError in Process Monitor logs:

"prowin32.exe","<PID>","CreateFile","<path-to start-in directory>\protrace.<PID>","ACCESS DENIED",
"Desired Access: Generic Read/Write, Disposition: Overwrite,
Options: Synchronous IO Non-Alert, Non-Directory File,
Attributes: N, ShareMode: Read, Write, AllocationSize: 0"
Defect Number
Enhancement Number
Cause
The user running the process does not have rights to write to the start-in directory.
The Process Monitor logs verify that the user is trying to write to the protrace file and is receiving an ACCESS DENIED error from the file system.
CreateFile "<path-to start-in directory>\protrace.<PID>"
Resolution
Verify that the user that started the process has write permission to the start-in directory.
protrace files are created in the directory where the failing process was started from which is not necessarily the work directory

On Windows, antivirus packages can prevent protrace file generation when a Progress process dies.
If protraces are not being created consider testing excluding the Progress executables in DLC/bin from the antivirus.
 
Workaround
Notes
Keyword Phrase
Last Modified Date10/23/2023 10:34 AM

Powered by