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

segmentation faults (solved) #19

Open
grotius-cnc opened this issue Nov 28, 2021 · 1 comment
Open

segmentation faults (solved) #19

grotius-cnc opened this issue Nov 28, 2021 · 1 comment

Comments

@grotius-cnc
Copy link
Owner

If we pass full filepaths to halcmd like : /opt/hal-core/src/hal/components/matrix/machine/static.step
There is no problem at first sight.
If we pass 10 drawings, we get a "segmentation fault" message. Still the program seems to work correctly.
To avoid the "segmentation fault" we have a workaround, just avoid the "/" signs. You could put a ./halcmd symlink into the directory
and load the drawings from there without using full filepath's.

./halcmd loadrt matrix machines=2 joints=6,6 stringvec=static.step,0.step,1.step,2.step,3.step,4.step,5.step,static.step,0.step,1.step,2.step,3.step,4.step,5.step

@grotius-cnc
Copy link
Owner Author

Closed, solved.

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

No branches or pull requests

1 participant