Skip to content
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

Crashes on open - realsense.dll #27

Open
eldrickm opened this issue Mar 7, 2022 · 6 comments
Open

Crashes on open - realsense.dll #27

eldrickm opened this issue Mar 7, 2022 · 6 comments
Assignees

Comments

@eldrickm
Copy link

eldrickm commented Mar 7, 2022

Hello,

I'm receiving the following error (full log attached) upon opening the application.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffa4c121f3, pid=33116, tid=17012
#
# JRE version: Java(TM) SE Runtime Environment (17.0.2+8) (build 17.0.2+8-LTS-86)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.2+8-LTS-86, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [realsense.dll+0x521f3]

I'm on Windows 10 with Oracle JDK 17.02

It seems to be an issue with the realsense dll - has this been seen before?

Thanks!
hs_err_pid33116.log

@eldrickm eldrickm changed the title Crashes on open Crashes on open - realsense.dll Mar 7, 2022
@saudet
Copy link
Member

saudet commented Mar 7, 2022

If you don't have a RealSense camera, you can just remove those files from the modules subdirectory.

@eldrickm
Copy link
Author

eldrickm commented Mar 8, 2022

Hi Samuel,

Unfortunately I am using a RealSense camera. I can confirm that removing librealsense.jar does prevent the crash, but I cannot open the RealSense camera device in the application.

Are there other workarounds?

Thank you!

@saudet
Copy link
Member

saudet commented Mar 8, 2022

Well, it's obviously some issue with librealsense itself. Someone will need to debug this...

@poqudrof
Copy link

poqudrof commented Mar 9, 2022

Hello, I have been tagged here.

A possible issue would be that the DLL does not match the same API as the Intel SDK.
I am not sure how the code evolved in the past years, however the java versions were much older and the Intel Realsense SDKs changed a lot.
I still have a realsense camera, but I am not sure to be able to make it work.

What camera do you use, and which version of Realsense Drivers ? 

@eldrickm
Copy link
Author

Hi Jeremy,

I'm using the L515 (the ToF one) and am using the v2.5.0 of the SDK (https://github.com/IntelRealSense/librealsense/releases/tag/v2.50.0)

@saudet
Copy link
Member

saudet commented Mar 10, 2022

If you have a camera that works with version 2.x of the SDK, use "RealSense2" instead. You can ignore "RealSense".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants