libgstpvx.dll exception

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

libgstpvx.dll exception

CraigV
Hello all,
 I have been wanting to incorporate gstreamer into my project for quite some time. I have just set up my dev environment and have been running through the tutorial on the site. I have run-across a very strange issue. My environments are VS2013 and VS2015 but produce the same issue. When running the code found here: https://gstreamer.freedesktop.org/documentation/tutorials/playback/playbin-usage.html it produces reliably this exception



Although when I replace the "video-sink" property of that play bin with the autovideosink element, It will work for the most part just fine, with every once in awhile a random exception from the same address. I have been able to get the code to work as written on the tutorial once out of every 10 times running it (seems to be some type of racing condition) but I do not have the symbols for that library to debug exactly where it is happening, and I was hoping that maybe someone here has run into a similar issue.

Thank you in advance for any help!
Reply | Threaded
Open this post in threaded view
|

Re: libgstpvx.dll exception

Nirbheek Chauhan
On Tue, Jan 17, 2017 at 11:22 PM, CraigV <[hidden email]> wrote:

> Hello all,
>  I have been wanting to incorporate gstreamer into my project for quite some
> time. I have just set up my dev environment and have been running through
> the tutorial on the site. I have run-across a very strange issue. My
> environments are VS2013 and VS2015 but produce the same issue. When running
> the code found here:
> https://gstreamer.freedesktop.org/documentation/tutorials/playback/playbin-usage.html
> it produces reliably this exception
>
> <http://gstreamer-devel.966125.n4.nabble.com/file/n4681493/exception.png>
>

This is probably the following known issue:

https://bugzilla.gnome.org/show_bug.cgi?id=763663

To check, you can try to build and run your application as a 64-bit
application against the 64-bit gstreamer binaries. If the segfault
goes away, it's likely the same problem, which is likely a libvpx bug.

We haven't been able to figure out exactly what's happening for
reasons that are detailed on that bug. Help in this regard would be
greatly appreciated!

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: libgstpvx.dll exception

Nicolas Dufresne-5
In reply to this post by CraigV
Le mardi 17 janvier 2017 à 09:52 -0800, CraigV a écrit :

> Hello all,
>  I have been wanting to incorporate gstreamer into my project for
> quite some
> time. I have just set up my dev environment and have been running
> through
> the tutorial on the site. I have run-across a very strange issue. My
> environments are VS2013 and VS2015 but produce the same issue. When
> running
> the code found here:
> https://gstreamer.freedesktop.org/documentation/tutorials/playback/pl
> aybin-usage.html
> it produces reliably this exception 
>
> <http://gstreamer-devel.966125.n4.nabble.com/file/n4681493/exception.
> png> 
>
> Although when I replace the "video-sink" property of that play bin
> with the
> autovideosink element, It will work for the most part just fine, with
> every
> once in awhile a random exception from the same address. I have been
> able to
> get the code to work as written on the tutorial once out of every 10
> times
> running it (seems to be some type of racing condition) but I do not
> have the
> symbols for that library to debug exactly where it is happening, and
> I was
> hoping that maybe someone here has run into a similar issue.
>
> Thank you in advance for any help!
This is a crash. This should be reported on bugs.gnome.org. Ideally,
you should install gdb and try to retrieve the backtrace, otherwise we
can't try out any fix without first reproducing, which may take some
time.

regards,
Nicolas

>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble
> .com/libgstpvx-dll-exception-tp4681493.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: libgstpvx.dll exception

CraigV
In reply to this post by Nirbheek Chauhan
This is the exact bug. Thank you Nirbheek. I am surprised with how majorly product breaking it is on Win32 x86 platforms that it has yet to be fixed. Seems to be around 6 or more months old. Without me going back to an older build - would you happen to know off the top of your head which is the last working build for Win32 x86 platforms?

Thanks again, I thought I was losing my mind!
Reply | Threaded
Open this post in threaded view
|

Re: libgstpvx.dll exception

Nirbheek Chauhan
On Wed, Jan 18, 2017 at 12:55 AM, CraigV <[hidden email]> wrote:
> This is the exact bug. Thank you Nirbheek. I am surprised with how majorly
> product breaking it is on Win32 x86 platforms that it has yet to be fixed.
> Seems to be around 6 or more months old. Without me going back to an older
> build - would you happen to know off the top of your head which is the last
> working build for Win32 x86 platforms?
>

Not really sure when it broke because we most likely noticed it only
after it had been broken for a while. One workaround is to build
libvpx with MSVC and then use that to build libgstvpx.dll. libvpx
outputs a static library on Windows, so it's embedded inside
libgstvpx.dll. However, considering how much time it takes to get
Cerbero setup and fully built on Windows, it might be better to try
and fix this bug. :)

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: libgstpvx.dll exception

Nirbheek Chauhan
In reply to this post by CraigV
Hi CraigV,

Just thought I'd update you that the bug is now fixed:

https://bugzilla.gnome.org/show_bug.cgi?id=763663

You can now either rebuild libgstvpx.dll yourself using Cerbero or you
can wait till the next stable release (1.10.3), which should happen
soon.

Cheers,
Nirbheek

On Wed, Jan 18, 2017 at 12:55 AM, CraigV <[hidden email]> wrote:
> This is the exact bug. Thank you Nirbheek. I am surprised with how majorly
> product breaking it is on Win32 x86 platforms that it has yet to be fixed.
> Seems to be around 6 or more months old. Without me going back to an older
> build - would you happen to know off the top of your head which is the last
> working build for Win32 x86 platforms?
>
> Thanks again, I thought I was losing my mind!
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel