Hi!
Every once in a while we would be getting a Segmentation fault when running a runcobol command. Originally, our team would just reboot the system and the problem would be fixed.
We did find a command that fixes the problem by clearing out the shared memory:
ipcrm `ipcs -m | grep '524d' | grep -v grep | awk '{print "-m", $2}'`
ipcrm `ipcs -s | grep '524d' | grep -v grep | awk '{print "-s", $2}'`
(via How do I address an "unauthorized use of runtime/compiler (Loc 810)" error message?)
Now I do understand that we should try not to shut down a COBOL process or terminal poorly, but I'm not sure any of our developers have been closing out COBOL programs ungracefully.
Do you know if there is some other behavior that can cause this error? We are using a developer license on that Linux box, if that might change anything