[gst-devel] GThread-ERROR

Sean McNamara smcnam at gmail.com
Thu Jan 20 15:06:25 CET 2011


On Mon, Jan 17, 2011 at 7:40 AM, bonkers <holzer.st at akfree.it> wrote:
>
> hello!
>
> when i start my gstreamer (implemented in c) i got this error:
>
> GThread-ERROR **: file gthread-posix.c: line 348
> (g_thread_create_posix_impl): error 'Invalid argument' during
> 'pthread_attr_setschedparam (&attr, &sched)'
> aborting...
> Aborted
>
> can anyone help me?

Need more info:

1. Which platform? Include version information, not just the name.
2. What version of gstreamer? If it's the stock version from the
package repositories of a Linux distro and you don't know the answer,
you can omit this, but you have to include the release version of the
distro then.
3. Provide your code -- at a minimum, include anything you do with
gstreamer, glib, gtk, or pthreads.

That said, a quick google suggests that you might hit this issue if
you run a GThread based app or API (Gstreamer is one such API) in a
parent process that is real-time. See

https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/453898

and

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

There doesn't seem to be a clear-cut resolution accepted by upstream
yet (i.e. GLib maintainers), but what you can do is run your
application without real-time scheduling... if that works, then just
do it like that. If you think you need gstreamer to run real-time,
then you most likely should reexamine your design and either improve
performance, or reduce system load somehow, so that the pipeline
doesn't stall with normal scheduling.

>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GThread-ERROR-tp3221147p3221147.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list