-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
EXCEPTION_ACCESS_VIOLATION closing Webcam #289
Comments
Hi @Cerberous, I'm sorry to say, but I'm not very fluent in JavaFX and thus it's hard for me to understand what is happening inside this code. However, this kind of exception may be threw in some cases when more then one thread is accessing the same native reference. This should not happen if you are using Also, please do not dispose the webcam, it should be closed instead. Can you share application debug logs? |
Hi @sarxos, I solved it just not calling |
@Cerberous, indeed, the |
I updated examples for JavaFX so people are not confused. |
I am facing this error, when i do fe following steps, on my project see Github's example here: webcam-capture-jafafx
1 - Star application (Main.java);
2 - Open Webcam preview by clicking on 'Dialog' Button;
3 - Select WebCam, Stop Webcam, Dispose Webcam and close the dialog;
When doing again, beginning from step 2, the application crashes when clicking on 'Dispose'.
See 'hs_err_pid2144.log' file for log details.
The text was updated successfully, but these errors were encountered: