-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ubuntu VM on Apple Silicon fails to load or compile devIocStats #183
Comments
This may resolve issue #183.
Sorry for the issues you are encountering. We unfortunately have no MacOS machines to test against - and one of our dependencies also does not currently support arm64. If you are willing to test it, I have a potential solution: could you please try installing pythonSoftIOC directly from a branch using this command:
Hopefully that will compile and run successfully! |
This installed as expected but did not fix the underlying issue. First, the install, if it helps to see it:
The epicscorelibs packages it's own libstdc++.so.6 version for some reason. This does not match the one in my Ubuntu release and it causes the module to fail to load:
I renamed the newly installed libstdc++.so.6 so it wouldn't be found, and tried again. Now the module loads but we still see the buffer overflow issue.
I'm willing to assist on this further. It's not critical that I make it work in this VM but it makes some of my testing easier. Thanks! |
Thank you for the information. I believe this issue to be a replica of epics-base/epicscorelibs#32 - it seems Until there is a proper release, the workaround for you is to install
Please let me know if that works, if so we can close out this issue. Thanks. |
I have softIOC code developed on other systems that is failing to run on my Apple Silicon Macbook Pro M2 (in a Parallels virtual machine running Ubuntu), and it appears to be due to the devIocStats feature causing a buffer overflow and then core dump.
My machine:
The easiest way to demonstrate the error; this is on a machine installed last July. I wasn't running devIocStats on it until now.
I also tried to reproduce the problem on a freshly installed Ubuntu 24.04 machine I just made for a test. It fails to compile.
The text was updated successfully, but these errors were encountered: