Does GStreamer broke the compatibility with GStreamer Java?

53 views
Skip to first unread message

Davide Perini

unread,
Dec 12, 2024, 5:31:32 PM12/12/24
to gstream...@googlegroups.com
Hi,
I am running GStreamer 1.24.x without problems for years now.

Recently I was trying the nightly build of GStreamer because I'm
interested in the latest d3d12screencapturesrc features introduced.
I downloaded the 1.25 nightly builds two months ago and everything
worked well.

I re-downloaded the nighlty build today and my app does not work anymore.
When I install the nightly build I have "an invalid memory access" error
that is pretty hard to debug and feels very bad.

If I install back the 1.24.10 or the two months nightly build it works.

Is there some breaking changes between the latest GStreamer 1.25 nightly
and GStreamer 1.24.x?

Is this "a new incompatibility" with the bindinig?
I'm pretty worried that this wonderful journey with GStreamer Java is
over. :(

What could have changed?

Thanks
Davide

Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in
Application start method
    at
javafx.graphics@23/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
    at
javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
    at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.lang.Error: Invalid memory access
    at com.s...@5.15.0/com.sun.jna.Native.invokeInt(Native Method)
    at com.s...@5.15.0/com.sun.jna.Function.invoke(Function.java:429)
    at com.s...@5.15.0/com.sun.jna.Function.invoke(Function.java:364)
    at
com.s...@5.15.0/com.sun.jna.Library$Handler.invoke(Library.java:270)
    at jdk.proxy1/jdk.proxy1.$Proxy17.gst_init_check(Unknown Source)
    at
org.freedesk...@1.4.0/org.freedesktop.gstreamer.Gst.init(Gst.java:502)
    at
org.freedesk...@1.4.0/org.freedesktop.gstreamer.Gst.init(Gst.java:453)
    at
org.dpsoftware/org.dpsoftware.grabber.GrabberManager.launchAdvancedGrabber(GrabberManager.java:104)
    at
org.dpsoftware/org.dpsoftware.FireflyLuciferin.launchGrabberAndConsumers(FireflyLuciferin.java:330)
    at
org.dpsoftware/org.dpsoftware.FireflyLuciferin.start(FireflyLuciferin.java:286)
    at
javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
    at
javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
    at
javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
    at
java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at
javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
    at
javafx.graphics@23/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at
javafx.graphics@23/com.sun.glass.ui.win.WinApplication._runLoop(Native
Method)
    at
javafx.graphics@23/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
    ... 1 more
Reply all
Reply to author
Forward
0 new messages