We have a strange PXPlus crash occurring at one client, using a routine that is used at multiple clients.
The routine gets an error 61 (Authorization failure) when issuing a LOCAL command to localize several variables. At that point, the SETERR branch is taken, and the routine tries to close files. The PXPlus session then crashes when closing one particular file (the same file every time).
I don't really have a clue what would cause an error 61 on a LOCAL command!
- I've removed the LOCAL command that was getting an error. The error then occurs on a different line that is also issuing a LOCAL command, and the session still crashes.
- I've renamed the particular file that is being closed every time the session crashes (thus leaving it in place on the hard drive), then re-created the file. Still crashes.
Before the system crashes, I print the MSG(-1) to a trace file, but it is blank.
We suspect a memory/swap file issue, so I also dump the contents of the Linux "free" command to text file immediately after the error 61. The file shows that there is over 2megs of free memory at that moment, so it wouldn't seem to be an issue with allocating memory for the LOCAL command. I don't know if the swap file is configured correctly, but it does show swap file available but not being used (or only a tiny amount of swap used).
The client is running PXPlus version 12.50 on a Linux server running RedHat 7.9.
Any suggestions on how to resolve this, or other ideas on what to check?
The routine gets an error 61 (Authorization failure) when issuing a LOCAL command to localize several variables. At that point, the SETERR branch is taken, and the routine tries to close files. The PXPlus session then crashes when closing one particular file (the same file every time).
I don't really have a clue what would cause an error 61 on a LOCAL command!
- I've removed the LOCAL command that was getting an error. The error then occurs on a different line that is also issuing a LOCAL command, and the session still crashes.
- I've renamed the particular file that is being closed every time the session crashes (thus leaving it in place on the hard drive), then re-created the file. Still crashes.
Before the system crashes, I print the MSG(-1) to a trace file, but it is blank.
We suspect a memory/swap file issue, so I also dump the contents of the Linux "free" command to text file immediately after the error 61. The file shows that there is over 2megs of free memory at that moment, so it wouldn't seem to be an issue with allocating memory for the LOCAL command. I don't know if the swap file is configured correctly, but it does show swap file available but not being used (or only a tiny amount of swap used).
The client is running PXPlus version 12.50 on a Linux server running RedHat 7.9.
Any suggestions on how to resolve this, or other ideas on what to check?