Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RT Crash when deploying.SO #398

Open
becega opened this issue Jan 3, 2019 · 0 comments
Open

RT Crash when deploying.SO #398

becega opened this issue Jan 3, 2019 · 0 comments

Comments

@becega
Copy link
Contributor

becega commented Jan 3, 2019

If the DCAF Engine is already running, and you use the deploy tool again and it updates the SO file while the system is running. It might cause a crash as it might override the SO that is being called for syslog.
It appears that the issue is as follow:

  1. Engine starts up and opens the SysLog Libraries
  2. The config tool publishes the new library and overwrites the files on disk
  3. The Engine does something that triggers a Syslog write
  4. LabVIEW RT Crashes

The best options for solving this right now are:

  1. Add and option in the tool for Include SO default to true (to maintain existing behavior)
  2. Add option for “ignore if present” (or similar), default to true (This will change existing behavior), but allows to redeploy the file if needed.
  3. Deployment utility checks if .so file is present prior to deploy. If so, it does not redeploy. If (and only if) it is not present, deploy.

Probably option 1 is the faster to implement and with the lowest risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant