-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Regression: Windows x64 DLL crashes for Z3 4.13.2 and 4.13.3 #7420
Comments
Came across your problem while looking for a solution for mine. Might be worth checking that the latest VC Redistributbales are present to provide compatibility with std::mutex handling in release builds of C++ exe and dll files. Please see issue raised as |
@DavidRobb : Thank you for your comment. It is really helpful. 👍 The issue stems from the However, this step is not an ideal solution, as we cannot expect users to modify their JDK installations just for using Z3, especially given potential permission limitations. @NikolajBjorner : Would it be possible to provide Z3 DLLs compatible with earlier versions of |
…3 v4.13.2 and incompatible msvcp140.dll. See Z3Prover/z3#7420 for details. This update is just a test. If it does not work, we will revert it.
Right, seems setting _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR will be the way to go. |
Thank you for referencing the other issue. |
It now works in my own tests. |
This reverts commit 4f6d4ba.
There is a regression from Z3 v4.13.0 to v4.13.2: Executing the JavaExample with the released DLL crashes.
Input:
libz3.dll
andlibz3java.dll
, and makecom.microsoft.z3.jar
availablejava -cp ../lib/com.microsoft.z3.jar:. JavaExample
Output:
I'm encountering a crash with versions v4.13.2 and v4.13.3 of the software. However, if I replace the Z3-related DLLs with those from v4.13.0, everything works as expected.
Have there been any updates to system requirements or changes in dependencies between Z3 versions v4.13.0 and v4.13.2 that I might have missed?
Can anyone else confirm this issue?
I've been able to reproduce it both locally on my Windows 11 laptop and in the Windows CI for JavaSMT. The CI run includes a tab labeled "artifacts", where coredumps are available if needed.
As I'm not very familiar with debugging DLL-related issues, any assistance from the developers would be appreciated.
The text was updated successfully, but these errors were encountered: