-
Notifications
You must be signed in to change notification settings - Fork 55
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
Command-line crashes when using nativez3 #740
Comments
This looks like the native library in ScalaZ3 can't be loaded for some reason. Are you running this on linux? Packaging the native library into a jar and then loading it is a pretty big hack and small changes in the OS or JVM implementation can make it fail, unfortunately. |
Yes on linux, with |
Can you try running the ScalaZ3 tests on your machine? If they work, then the easiest "fix" is to run I remember that when building and packaging the ScalaZ3 jars on my own machine, they wouldn't work on laraquad but the reverse did work. So maybe it's just a question of finding a "most common architecture" that will allow running on arbitrary machines. |
I tried the ScalaZ3 tests but they failed with the same kind of errors. On the other hand, the original problem goes away when using Java 11. Should we close this issue? |
Rather than just closing it, maybe move it to the ScalaZ3 repo (in case someone else runs into this at some later time). |
Yes, good idea: see epfl-lara/ScalaZ3#76 |
I get this exception when running stainless on any file (e.g.
verification/valid/IntSet.scala
). There is no crash if I specifysmt-z3
orsmt-cvc4
.Is this a problem on my end?
The text was updated successfully, but these errors were encountered: