gst_init never returns

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

gst_init never returns

Andy Hopper
I have a gstreamer app RTP/H.264 streaming application on Windows which
I've not modified and which used to work perfectly but which I haven't
run for a month or two. Well, now, when I run the app in Visual Studio
in debug mode, gst_init(NULL,NULL) never returns. When I run the same
code on Linux, it works fine as before, but it seems like something has
changed (windows updates, corporate security software, etc?). Curious if
anybody has run into this. I suppose I don't have the debug symbols
loaded for gstreamer so not able to step in to see what's going on in
there, but yeah it just hangs. Weirdest thing.

Thanks,

Andy

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

Re: gst_init never returns

Nirbheek Chauhan
It would help to get some debug logging. Try setting GST_DEBUG=6
GST_DEBUG_FILE=debug.log, that should tell you where gst_init() hangs.
It might be while trying to load some plugin.

Cheers,
Nirbheek

On Tue, Oct 13, 2020 at 8:15 AM Andy Hopper <[hidden email]> wrote:

>
> I have a gstreamer app RTP/H.264 streaming application on Windows which
> I've not modified and which used to work perfectly but which I haven't
> run for a month or two. Well, now, when I run the app in Visual Studio
> in debug mode, gst_init(NULL,NULL) never returns. When I run the same
> code on Linux, it works fine as before, but it seems like something has
> changed (windows updates, corporate security software, etc?). Curious if
> anybody has run into this. I suppose I don't have the debug symbols
> loaded for gstreamer so not able to step in to see what's going on in
> there, but yeah it just hangs. Weirdest thing.
>
> Thanks,
>
> Andy
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: gst_init never returns

Andy Hopper
Nirbheek,

Thanks for the quick reply. I've attached the debug.log. Looks like its
stuck in some sort of plugin load loop?

Thanks!
Andy

On 10/13/20 5:41 AM, Nirbheek Chauhan wrote:

> It would help to get some debug logging. Try setting GST_DEBUG=6
> GST_DEBUG_FILE=debug.log, that should tell you where gst_init() hangs.
> It might be while trying to load some plugin.
>
> Cheers,
> Nirbheek
>
> On Tue, Oct 13, 2020 at 8:15 AM Andy Hopper <[hidden email]> wrote:
>>
>> I have a gstreamer app RTP/H.264 streaming application on Windows which
>> I've not modified and which used to work perfectly but which I haven't
>> run for a month or two. Well, now, when I run the app in Visual Studio
>> in debug mode, gst_init(NULL,NULL) never returns. When I run the same
>> code on Linux, it works fine as before, but it seems like something has
>> changed (windows updates, corporate security software, etc?). Curious if
>> anybody has run into this. I suppose I don't have the debug symbols
>> loaded for gstreamer so not able to step in to see what's going on in
>> there, but yeah it just hangs. Weirdest thing.
>>
>> Thanks,
>>
>> Andy
>>
>> _______________________________________________
>> 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
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

debug.log.bz2 (222K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gst_init never returns

Nirbheek Chauhan
This log looks fine, actually. How long did you run the app for? The
log contains lines for just the first five seconds. If it was hung for
longer than that, the hang is probably somewhere we don't have debug
logging for, or it might be somewhere in your app.

Cheers,
Nirbheek

On Wed, Oct 14, 2020 at 4:15 AM Andy Hopper <[hidden email]> wrote:

>
> Nirbheek,
>
> Thanks for the quick reply. I've attached the debug.log. Looks like its
> stuck in some sort of plugin load loop?
>
> Thanks!
> Andy
>
> On 10/13/20 5:41 AM, Nirbheek Chauhan wrote:
> > It would help to get some debug logging. Try setting GST_DEBUG=6
> > GST_DEBUG_FILE=debug.log, that should tell you where gst_init() hangs.
> > It might be while trying to load some plugin.
> >
> > Cheers,
> > Nirbheek
> >
> > On Tue, Oct 13, 2020 at 8:15 AM Andy Hopper <[hidden email]> wrote:
> >>
> >> I have a gstreamer app RTP/H.264 streaming application on Windows which
> >> I've not modified and which used to work perfectly but which I haven't
> >> run for a month or two. Well, now, when I run the app in Visual Studio
> >> in debug mode, gst_init(NULL,NULL) never returns. When I run the same
> >> code on Linux, it works fine as before, but it seems like something has
> >> changed (windows updates, corporate security software, etc?). Curious if
> >> anybody has run into this. I suppose I don't have the debug symbols
> >> loaded for gstreamer so not able to step in to see what's going on in
> >> there, but yeah it just hangs. Weirdest thing.
> >>
> >> Thanks,
> >>
> >> Andy
> >>
> >> _______________________________________________
> >> 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
> >
>
> _______________________________________________
> 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