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

JVM crash on jni_CallVoidMethod frames using MacOS (m1) #1206

Closed
SrRapero720 opened this issue Nov 30, 2023 · 19 comments
Closed

JVM crash on jni_CallVoidMethod frames using MacOS (m1) #1206

SrRapero720 opened this issue Nov 30, 2023 · 19 comments
Labels

Comments

@SrRapero720
Copy link

https://gist.github.com/SrRapero720/5887241df214dd418c56e008f5959a9d
https://gist.github.com/SrRapero720/cf1b2d7b4fd5eb81359f5800e78f5bf1

Problem "starts happening" (because i am not sure) since VLC release 3.0.19. i was having a quite large discussion about it and issue was more confusing for me. See WaterMediaTeam/watermedia#29

I can't test old versions on my side because i haven't a mac. I open this issue in case can be solved/replicable on VLCJ.

@caprica
Copy link
Owner

caprica commented Nov 30, 2023

Is there a minimal, executable, single-class test case that reproduces this problem?

@caprica
Copy link
Owner

caprica commented Dec 7, 2023

Please also write here the exact versions of vlcj and the JDK you're using, including the JDK vendor. Also the macOS version. I don't have access to latest mac hardware/OS, only previous generation.

I will try and find some time to take a look but I can't promise a timescale.

@SrRapero720
Copy link
Author

Is on Gist hs_err_pid_xxxx.log

@caprica
Copy link
Owner

caprica commented Dec 7, 2023

Well, it would be nice and convenient if you were to write it here rather than refer me to a hard-to read hotspot log.

@SrRapero720
Copy link
Author

I am on phone RN, thats why i reffer to hostpot log

JRE version: OpenJDK Runtime Environment Microsoft-8035246 (17.0.8+7) (build 17.0.8+7-LTS)

Java VM: OpenJDK 64-Bit Server VM Microsoft-8035246 (17.0.8+7-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)

Host: "MacBookAir10,1" arm64, 8 cores, 8G, Darwin 21.6.0, macOS 12.6 (21G115)

@caprica
Copy link
Owner

caprica commented Feb 2, 2024

I suppose nothing has changed and this is still a problem?

@SrRapero720
Copy link
Author

no idea
people with the issue is not longer interesting on test and i didn't get any bug report about.
i suggest keep this open until someone with the same issue appears and help us to find why this happen. Because try to do something is try to cross the street blinded.

@caprica
Copy link
Owner

caprica commented Feb 2, 2024

I am going to close this issue. I don't have access to M1 hardware to even try to reproduce it.

If in future someone posts additional information, it can be reopened.

@caprica caprica closed this as completed Feb 2, 2024
@SrRapero720
Copy link
Author

someone reports me downgrading to VLC 3.0.18 fixes the issue...

@caprica
Copy link
Owner

caprica commented Mar 10, 2024

Interesting, this gives hope that it might actually also be fixed in a later version of VLC at some point.

@Him188
Copy link

Him188 commented May 1, 2024

Having the same issue... Downgrading to VLc 3.0.18 did not work for me

Using vlcj 4.8.2

@Him188
Copy link

Him188 commented May 1, 2024

@SrRapero720 Which version of vlcj are you using, please? @SrRapero720

@Him188
Copy link

Him188 commented May 1, 2024

Added dependency "net.java.dev.jna:jna:5.12.1" and it now works!

@SrRapero720
Copy link
Author

4.7.3. but 4.7.3 and 4.8.x doesn't have any difference

@caprica
Copy link
Owner

caprica commented May 1, 2024

Added dependency "net.java.dev.jna:jna:5.12.1" and it now works!

Interesting.

@caprica
Copy link
Owner

caprica commented May 1, 2024

If this is confirmed, probably worth making a new release with updated depdendencies.

@caprica caprica reopened this May 1, 2024
@Him188
Copy link

Him188 commented May 30, 2024

There are already many similar issues about JNA versions on Mac.

https://github.com/caprica/vlcj/issues?q=is%3Aissue+is%3Aclosed+m1

#1145: Oh wow, my bad 5.11.0 does actually fix it

I think it is worth making a new release.

@caprica
Copy link
Owner

caprica commented Jun 4, 2024

4.8.3 released today with latest JNA dependency.

@caprica caprica closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants