-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Unable to delete temporary DLL on Windows due to AccessViolationException #5
Comments
If someone can come up with working fix for this, I'd be happy to integrate it :) Otherwise it will take a while until I can find some time to do this work on Windows. |
My project can probably spend some time on a PR for this since it's really annoying for our users. Packaging binaries for Windows/Linux/Mac less so. |
That would be awesome! I am planning to work on new binaries soon - just swamped with a cross country move right now and don't have time. |
I just did that two weeks ago. I understand. I will check into OpenCV 3.1 stability too. |
I've done a little bit of experimenting here and using a custom classloader that will get garbage collected, as the other repo issue suggests, just isn't going to be reliable. You can't guarantee when the garbage collector will actually run even with I am going to propose a formalization of a solution I use in my project that uses this OpenCV package:
|
Fix #5 by cleaning old opencv instances on start on Windows
* develop: Release of 2.4.13-0 Fix #5 by cleaning old opencv instances on start on Windows Add bundle plugin and packaging
Note: The JNA loader does something similar, but takes it a step further by adding a marker indicating which file should be deleted. I like this method and we should adopt it: https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/Native.java#L1192 |
hi, just looked through the project and found an commit addressing the isse described here and I in openpnp/#699: the commit was merged but I can't find the code in the local copy my eclipse is using. why is this? |
Believe this was fixed in #9. If still experiencing please reopen. |
This issue is alive and well on every version of Windows: PatternConsulting#10.
The text was updated successfully, but these errors were encountered: