Closed SammyForReal closed 6 days ago
My suggestion is always look for the universal version https://get.videolan.org/vlc/3.0.21/macosx/vlc-3.0.21-universal.dmg
is an edge case? well no if you install any program in the wrong arch (including VLC) will not works, is more like a mistake from the users side, like install Java 8 instead of Java 21
outside that, VLC was a pain for us since day one with the binary installation we are testing move to FFMPEG instead, so we can finally stop concerning about users have to install extra stuff
in theory i make UnsatisfiedLinkError
and any throwed error be handled and skipable when that situation happens in 366ccaee8929a284093e573caac23048481680a2, not sure what version of WM have you installed
I mean, you are right in the sense that this is kinda to be expected with the wrong architecture. For me it felt like an edge case because you normally wouldn't even be able to install the wrong architecture (at least it doesn't let me do it) without further setup.
Anyways, I do agree that a switch to ffmpeg would be a great change, I wish you much success with that.
Skipping such exceptions would help very much, thank you. Also sorry for not mentioning on which version that was. It happened on v2.0.64 at mc1.21 using Fabric.
Fixed in 2.0.66
again, crashes should occurs as a normal program, but that just put players into a slope. so i handle the LinkageError
I stumbled upon this weird edge case on macOS.
Description
I noticed that this would cause an crash whenever it tries to load a found VLC.app with the wrong architecture (e.g. expected
arm64
, foundx86x64
).Turns out you can use the Intel version of VLC using Apple's Rosetta, tho it does not properly load within Java (? I'm not sure how this part exactly works, my apologies), causing this crash.
Hotfix
A hotfix for this is to either uninstall VLC or install the proper version for the system. I also found issue #29 which seems to be related to this, tho the crash still has not been fixed, hence why I am opening this issue.
Environment for Reproduction
This issue has been found within an Mac OS X (aarch64) and with the VLC intel64 version installed (which is the default option on their website for some goddamn reason).
Logs
Here is the related crash report.