Re: 1.25 does not work (anymore) with my app...
Davide Perini via gstreamer-devel <[email protected]> Fri, 13 Dec 2024 10:40:28 +0100
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------kpQT3FFGQ5xwdbDFmGuK79ZC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I'm just a gstreamer user via the GStreamer Java binding, this thing will require a lot for me and I don't even guarantee that I will be able to do it. :) I'll try, hope that someone can chime in in the mean time for a potential fix to the GStreamer lib. this is the stack trace: 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 [email protected]/com.sun.jna.Native.invokeInt(Native Method) at [email protected]/com.sun.jna.Function.invoke(Function.java:429) at [email protected]/com.sun.jna.Function.invoke(Function.java:364) at [email protected]/com.sun.jna.Library$Handler.invoke(Library.java:270) at jdk.proxy1/jdk.proxy1.$Proxy17.gst_init_check(Unknown Source) at [email protected]/org.freedesktop.gstreamer.Gst.init(Gst.java:502) at [email protected]/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 Thanks Davide On 13/12/24 09:11, Yu You wrote: > I have no answer to your question. But it would be very helpful if you > could run a "git bisect" process to figure out exactly which commit > brought this bug. > > https://git-scm.com/docs/git-bisect > > Regards, > > Yu > > On Thu, 12 Dec 2024 at 23:54, Davide Perini via gstreamer-devel > <[email protected]> wrote: > > Hi there... > I am running GStreamer 1.24.10 without problems. > > Recently I am 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. > 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 1.24.x? > > Thanks > Davide > --------------kpQT3FFGQ5xwdbDFmGuK79ZC Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>I'm just a gstreamer user via the GStreamer Java binding, this thing will require a lot for me and I don't even guarantee that I will be able to do it. :)<br> I'll try, hope that someone can chime in in the mean time for a potential fix to the GStreamer lib.<br> <br> this is the stack trace:<br> Exception in Application start method <br> Exception in thread "main" java.lang.RuntimeException: Exception in Application start method <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.javafx.application.LauncherImpl.launchApplication1">javafx.graphics@23/com.sun.javafx.application.LauncherImpl.launchApplication1</a>(<a class="moz-txt-link-freetext" href="LauncherImpl.java:893">LauncherImpl.java:893</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2">javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2</a>(<a class="moz-txt-link-freetext" href="LauncherImpl.java:196">LauncherImpl.java:196</a>) <br> at java.base/java.lang.Thread.run(<a class="moz-txt-link-freetext" href="Thread.java:1575">Thread.java:1575</a>) <br> Caused by: java.lang.Error: Invalid memory access <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]/com.sun.jna.Native.invokeInt">[email protected]/com.sun.jna.Native.invokeInt</a>(Native Method) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]/com.sun.jna.Function.invoke">[email protected]/com.sun.jna.Function.invoke</a>(<a class="moz-txt-link-freetext" href="Function.java:429">Function.java:429</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]/com.sun.jna.Function.invoke">[email protected]/com.sun.jna.Function.invoke</a>(<a class="moz-txt-link-freetext" href="Function.java:364">Function.java:364</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]/com.sun.jna.Library$Handler.invoke">[email protected]/com.sun.jna.Library$Handler.invoke</a>(<a class="moz-txt-link-freetext" href="Library.java:270">Library.java:270</a>) <br> at jdk.proxy1/jdk.proxy1.$Proxy17.gst_init_check(Unknown Source) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]/org.freedesktop.gstreamer.Gst.init">[email protected]/org.freedesktop.gstreamer.Gst.init</a>(<a class="moz-txt-link-freetext" href="Gst.java:502">Gst.java:502</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]/org.freedesktop.gstreamer.Gst.init">[email protected]/org.freedesktop.gstreamer.Gst.init</a>(<a class="moz-txt-link-freetext" href="Gst.java:453">Gst.java:453</a>) <br> at org.dpsoftware/org.dpsoftware.grabber.GrabberManager.launchAdvancedGrabber(<a class="moz-txt-link-freetext" href="GrabberManager.java:104">GrabberManager.java:104</a>) <br> at org.dpsoftware/org.dpsoftware.FireflyLuciferin.launchGrabberAndConsumers(<a class="moz-txt-link-freetext" href="FireflyLuciferin.java:330">FireflyLuciferin.java:330</a>) <br> at org.dpsoftware/org.dpsoftware.FireflyLuciferin.start(<a class="moz-txt-link-freetext" href="FireflyLuciferin.java:286">FireflyLuciferin.java:286</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9">javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9</a>(<a class="moz-txt-link-freetext" href="LauncherImpl.java:839">LauncherImpl.java:839</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12">javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12</a>(<a class="moz-txt-link-freetext" href="PlatformImpl.java:483">PlatformImpl.java:483</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$10">javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$10</a>(<a class="moz-txt-link-freetext" href="PlatformImpl.java:456">PlatformImpl.java:456</a>) <br> at java.base/java.security.AccessController.doPrivileged(<a class="moz-txt-link-freetext" href="AccessController.java:400">AccessController.java:400</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$11">javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$11</a>(<a class="moz-txt-link-freetext" href="PlatformImpl.java:455">PlatformImpl.java:455</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.glass.ui.InvokeLaterDispatcher$Future.run">javafx.graphics@23/com.sun.glass.ui.InvokeLaterDispatcher$Future.run</a>(<a class="moz-txt-link-freetext" href="InvokeLaterDispatcher.java:95">InvokeLaterDispatcher.java:95</a>) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.glass.ui.win.WinApplication._runLoop">javafx.graphics@23/com.sun.glass.ui.win.WinApplication._runLoop</a>(Native Method) <br> at <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:javafx.graphics@23/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3">javafx.graphics@23/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3</a>(<a class="moz-txt-link-freetext" href="WinApplication.java:184">WinApplication.java:184</a>) <br> ... 1 more </p> <p><br> Thanks<br> Davide<br> </p> <p><br> </p> <div class="moz-cite-prefix">On 13/12/24 09:11, Yu You wrote:<br> </div> <blockquote type="cite" cite="mid:CAB+yMgsVyV=DTCNZ5Na1zq7oahXqk-nxm9TVumQwcCeecTzhFg@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr">I have no answer to your question. But it would be very helpful if you could run a "git bisect" process to figure out exactly which commit brought this bug. <div><br> </div> <div><a href="https://git-scm.com/docs/git-bisect" moz-do-not-send="true" class="moz-txt-link-freetext">https://git-scm.com/docs/git-bisect</a></div> <div><br> </div> <div>Regards,</div> <div><br> </div> <div>Yu</div> </div> <br> <div class="gmail_quote gmail_quote_container"> <div dir="ltr" class="gmail_attr">On Thu, 12 Dec 2024 at 23:54, Davide Perini via gstreamer-devel <<a href="mailto:[email protected]" moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there...<br> I am running GStreamer 1.24.10 without problems.<br> <br> Recently I am trying the nightly build of GStreamer because I'm <br> interested in the latest d3d12screencapturesrc features introduced.<br> I downloaded the 1.25 nightly builds two months ago and everything <br> worked well.<br> <br> I re-downloaded the nighlty build today and my app does not work anymore.<br> When I install the nightly build I have "an invalid memory access error" <br> that is pretty hard to debug.<br> If I install back the 1.24.10 or the two months nightly build it works.<br> <br> Is there some breaking changes between the latest GStreamer 1.25 nightly <br> and 1.24.x?<br> <br> Thanks<br> Davide<br> </blockquote> </div> </blockquote> </body> </html> --------------kpQT3FFGQ5xwdbDFmGuK79ZC--