Re: 1.25 does not work (anymore) with my app...
Davide Perini via gstreamer-devel <[email protected]> Fri, 13 Dec 2024 14:55:09 +0100
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------wWqgMNMslHDvKC3ugXLwrYus Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit If there are some users that wants help me building GStreamer on Windows to try to bisect this regression I opened a thread here: https://discourse.gstreamer.org/t/please-help-me-compiling-gstreamer-to-find-a-regression-in-the-latest-nightly/3759 The last working built comes is from 3 october 2024, there should not be much commits and it should be easy to identify the offending one. Thanks Davide On 13/12/2024 10:40, Davide Perini wrote: > > 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 >> --------------wWqgMNMslHDvKC3ugXLwrYus 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> If there are some users that wants help me building GStreamer on Windows to try to bisect this regression I opened a thread here:<br> <a class="moz-txt-link-freetext" href="https://discourse.gstreamer.org/t/please-help-me-compiling-gstreamer-to-find-a-regression-in-the-latest-nightly/3759">https://discourse.gstreamer.org/t/please-help-me-compiling-gstreamer-to-find-a-regression-in-the-latest-nightly/3759</a><br> <br> The last working built comes is from 3 october 2024, there should not be much commits and it should be easy to identify the offending one.<br> <br> Thanks<br> Davide<br> <br> <br> <div class="moz-cite-prefix">On 13/12/2024 10:40, Davide Perini wrote:<br> </div> <blockquote type="cite" cite="mid:[email protected]"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <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" moz-do-not-send="true">javafx.graphics@23/com.sun.javafx.application.LauncherImpl.launchApplication1</a>(<a class="moz-txt-link-freetext" href="LauncherImpl.java:893" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2</a>(<a class="moz-txt-link-freetext" href="LauncherImpl.java:196" moz-do-not-send="true">LauncherImpl.java:196</a>) <br> at java.base/java.lang.Thread.run(<a class="moz-txt-link-freetext" href="Thread.java:1575" moz-do-not-send="true">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" moz-do-not-send="true">[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" moz-do-not-send="true">[email protected]/com.sun.jna.Function.invoke</a>(<a class="moz-txt-link-freetext" href="Function.java:429" moz-do-not-send="true">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" moz-do-not-send="true">[email protected]/com.sun.jna.Function.invoke</a>(<a class="moz-txt-link-freetext" href="Function.java:364" moz-do-not-send="true">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" moz-do-not-send="true">[email protected]/com.sun.jna.Library$Handler.invoke</a>(<a class="moz-txt-link-freetext" href="Library.java:270" moz-do-not-send="true">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" moz-do-not-send="true">[email protected]/org.freedesktop.gstreamer.Gst.init</a>(<a class="moz-txt-link-freetext" href="Gst.java:502" moz-do-not-send="true">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" moz-do-not-send="true">[email protected]/org.freedesktop.gstreamer.Gst.init</a>(<a class="moz-txt-link-freetext" href="Gst.java:453" moz-do-not-send="true">Gst.java:453</a>) <br> at org.dpsoftware/org.dpsoftware.grabber.GrabberManager.launchAdvancedGrabber(<a class="moz-txt-link-freetext" href="GrabberManager.java:104" moz-do-not-send="true">GrabberManager.java:104</a>) <br> at org.dpsoftware/org.dpsoftware.FireflyLuciferin.launchGrabberAndConsumers(<a class="moz-txt-link-freetext" href="FireflyLuciferin.java:330" moz-do-not-send="true">FireflyLuciferin.java:330</a>) <br> at org.dpsoftware/org.dpsoftware.FireflyLuciferin.start(<a class="moz-txt-link-freetext" href="FireflyLuciferin.java:286" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9</a>(<a class="moz-txt-link-freetext" href="LauncherImpl.java:839" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12</a>(<a class="moz-txt-link-freetext" href="PlatformImpl.java:483" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$10</a>(<a class="moz-txt-link-freetext" href="PlatformImpl.java:456" moz-do-not-send="true">PlatformImpl.java:456</a>) <br> at java.base/java.security.AccessController.doPrivileged(<a class="moz-txt-link-freetext" href="AccessController.java:400" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.javafx.application.PlatformImpl.lambda$runLater$11</a>(<a class="moz-txt-link-freetext" href="PlatformImpl.java:455" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.glass.ui.InvokeLaterDispatcher$Future.run</a>(<a class="moz-txt-link-freetext" href="InvokeLaterDispatcher.java:95" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">javafx.graphics@23/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3</a>(<a class="moz-txt-link-freetext" href="WinApplication.java:184" moz-do-not-send="true">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> </blockquote> <br> </body> </html> --------------wWqgMNMslHDvKC3ugXLwrYus--