CleanroomMC / Cleanroom

Cleanroom Minecraft.
GNU Lesser General Public License v2.1
266 stars 42 forks source link

VLCJ incompat in java 23 #234

Open AnasDevO opened 3 weeks ago

AnasDevO commented 3 weeks ago

Your CleanroomMC Discord Username

thermonuclear_minecraft_engineer

Cleanroom Version

[0.2.3-alpha+build.30.run.759]

Java Version

Java 23

Graphics Card Vendor

NVidia

Bug Report

When using the mod Little Frames in java 23, put down a creative frame; VLCJ invocation fails with the following error:

java.lang.Error: Invalid memory access
    at uk.co.caprica.vlcj.binding.LibVlc.libvlc_media_subitems(Native Method) ~[LibVlc.class:?]
    at uk.co.caprica.vlcj.player.base.SubitemApi.changeMedia(SubitemApi.java:108) ~[SubitemApi.class:?]
    at uk.co.caprica.vlcj.player.base.MediaApi.applyMedia(MediaApi.java:426) ~[MediaApi.class:?]
    at uk.co.caprica.vlcj.player.base.MediaApi.changeMedia(MediaApi.java:405) ~[MediaApi.class:?]
    at uk.co.caprica.vlcj.player.base.MediaApi.prepare(MediaApi.java:85) ~[MediaApi.class:?]
    at uk.co.caprica.vlcj.player.base.MediaApi.start(MediaApi.java:113) ~[MediaApi.class:?]
    at team.creative.littleframes.client.display.FrameVideoDisplay.lambda$new$0(FrameVideoDisplay.java:182) ~[FrameVideoDisplay.class:?]
    at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]

This is unexpected behavior, since it doesnt happen in java 22

Mod List

MMC Instance Notes

This instance is built using Github Action. Using installer artifact from commit: ea9fd215009abb2d3ef90b0143af88c183b115a7 Action URL: https://github.com/CleanroomMC/Cleanroom/actions/runs/11647856654

Final Checklist