-
Notifications
You must be signed in to change notification settings - Fork 37
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
lpsreach bus error #1662
Comments
I have looked at this issue, but unfortunately was not able to reproduce it under locally on Linux (and the mastodont). I was able to finish 3 iterations, after which 1430 states have been explored. It seems that 'bus error' is a MacOS specific error and I could not figure out what it means exactly. The fact that it only happens with more than one worker does suggest that there is an issue with lpsreach itself. From what I remember Jeroen mentioned this error before, but I do not remember what the solution was. |
What I could find: https://stackoverflow.com/questions/212466/what-is-a-bus-error-is-it-different-from-a-segmentation-fault "Bus errors are rare nowadays on x86 and occur when your processor cannot even attempt the memory access requested, typically: using a processor instruction with an address that does not satisfy its alignment requirements." Is there anything I could do to gather more information? |
You could try to compile in debug mode and see if that produces a more specific error, or even a stack trace. Although for this example it might take a long time to reach the point of failure in debug mode. |
I am unable to reproduce this issue locally, but I believe that the recent commits should also address this issue. Perhaps you can verify whether the issue has been resolved after the nightly builds have been updated. |
This problem is still present. Using a debug build and a debugger on a Mac machine the most insightful error message related to this is the following:
|
Using the latest nightly build I consistently get a bus error for the attached model, but only if the number of threads is set to more than one.
Steps to reproduce issue:
mcrl22lps model.mcrl2 temp1.lps
lpssuminst temp1.lps temp2.lps -f
lpssumelm temp2.lps temp3.lps
lpsrewr temp3.lps linearized.lps
lpsreach --lace-workers=2 linearized.lps -v
2 iterations go fine, after which the following is printed (after about a minute): "zsh: bus error lpsreach --lace-workers=2 -v linearized.lps
bus_error.zip
"
The text was updated successfully, but these errors were encountered: