Feedback
Did this article resolve your question/issue?

   

Article

Why is proGetStack is not generating a protrace file

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
Last Modified Date11/20/2020 7:01 AM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.