-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
20240610.1.0: still issues related to Visual Studio update with C++ libraries run through Java #10055
Comments
A workaround I found is to remove msvcp140.dll from "C:/hostedtoolcache/windows/Java_Temurin-Hotspot_jdk" with OSGeo/gdal@95d092d |
@rouault - Thank you for bringing this issue to us. We are looking into this issue, we will update you. |
Perhaps related: https://github.com/ruffle-rs/ruffle/actions/runs/9501856001/job/26188442117?pr=13346
Seems similar to:
|
Same issue, even after deployment of runner image version 20240610.1.0 which was supposed to fix the issue: #10020 (comment) |
Even assuming the image get fixed to update all the runtime dlls that are shippen by every application and version of java on the agent, that just means we will build and ship java sdks that will blow up in a similarly spectacular and hard to diagnose way on customers machines who have default unmodified versions of java installed on their machines. This does not seem like a good compatibility experience for our customers. |
Since there is no way to ensure all Java users have JVM installations with the latest vcruntime I plan to define |
I found the answer. Yes it's needed. Longer answer can be found in #10004. |
Description
GDAL has been affected by #10004 with the issue with std::mutex and the 20240603 image update. Since 20240610 has been released, I've retried re-enabling GDAL Windows CI testing, and they mostly work, except Java related tests, that run my C++ library through JNI. I suspect the JVM shipped in the image uses a too old VC redist
Cf https://github.com/OSGeo/gdal/actions/runs/9487561784/job/26144477503?pr=10198 for a faulty run
Platforms affected
Runner images affected
Image version and build link
Runner Image
Image: windows-2022
Version: 20240610.1.0
Is it regression?
Last good build: https://github.com/OSGeo/gdal/actions/runs/9392254916/job/25869181603?pr=10145 (Version: 20240514.3.0)
Expected behavior
should segfault
Actual behavior
segfaults
Repro steps
Build a C++ library using std::mutex with a JNI interface, and run it with the JVM provided in the image
The text was updated successfully, but these errors were encountered: