List Info

Thread: gst-application stuck at 'gst_object_unref'




gst-application stuck at 'gst_object_unref'
user name
2007-01-18 07:10:29
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Re: gst-application stuck at 'gst_object_unref'
user name
2007-01-18 08:53:17
hi,

On 2:10:29 pm 18/01/2007 Vinayak <vinayak.panegmail.com> wrote:
>
> Hi Everyone,
> My gst-application gets stuck at gst_object_unref
function which is
> called after the main loop is over and pipeline state
is set to NULL.

whats happening? a crash? for the refcount related thing you
might wanna
try http://refdbg.sf.net. You
could also attach your source, so that we can
look at it.

> The call is made to destroy all the elements related to
pipeline ?
> CMIMW.
>
> What could be the possible causes for this ?
> I doubt that the buffers in my-filter plugin chain
function are not
> unreferenced properly. How can I check memory leaks in
my filter
> plugin ?
Leaks can be tracked down with 'valgrind'. But that wond't
help for
refcount issues.

> Can someone suggest me a non-GUI gstreamer based
> video-player. Thanks in advance,
>
> --vinayak

Stefan


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: gst-application stuck at 'gst_object_unref'
user name
2007-01-18 10:43:53
On Thu, Jan 18, 2007 at 06:40:29PM +0530, Vinayak wrote:
> Hi Everyone,
> My gst-application gets stuck at gst_object_unref
function which is called
> after the main loop is over and
> pipeline state is set to NULL. The call is made to
destroy all the elements
> related to pipeline ? CMIMW.

Do you unref all elements or just the pipeline? When you add
an element 
to a bin, the bin becomes the owner of said element, so you
must not 
unref the element yourself. If you want to keep a reference
for yourself 
you have to sink the element before adding it to a bin.

-- 
Ville Syrjälä
syrjalasci.fi
http://www.sci.fi/~syrjal
a/

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: gst-application stuck at 'gst_object_unref'
user name
2007-01-18 12:17:15
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Re: gst-application stuck at 'gst_object_unref'
user name
2007-01-18 12:24:30
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Re: gst-application stuck at 'gst_object_unref'
user name
2007-01-18 14:33:34
On 1/18/07, Vinayak <vinayak.panegmail.com> wrote:
> Hi,
>
> On 1/18/07, ensonic <ensonichora-obscura.de> wrote:
> > hi,
> >
> > On 2:10:29 pm 18/01/2007 Vinayak
<vinayak.panegmail.com> wrote:
> > >
> > > Hi Everyone,
> > > My gst-application gets stuck at
gst_object_unref function which is
> > > called after the main loop is over and
pipeline state is set to NULL.
> >
> > whats happening? a crash? for the refcount related
thing you might wanna
> > try http://refdbg.sf.net . You
could also attach your source, so that we
> can
> > look at it.
>
> No there is no crash.  It  doesn't  terminate at all ,
I have to kill that
> process.

 hmm... are you shutting down your pipeline from a signal
callback and
not from a bus message by any chance ? It sems like a
deadlock because
you try to shut down the pipeline from a streaming thread.

  As mentionned before, seeing your code would be much
easier to spot the error.

   Edward

>
> > > The call is made to destroy all the elements
related to pipeline ?
> > > CMIMW.
> > >
> > > What could be the possible causes for this ?
> > > I doubt that the buffers in my-filter plugin
chain function are not
> > > unreferenced properly. How can I check memory
leaks in my filter
> > > plugin ?
> > Leaks can be tracked down with 'valgrind'. But
that wond't help for
> > refcount issues.
>
> I will try 'valgrind' this soon for memory leaks if
any.
>
> Vinayak
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstream
er-devel
>
>
>


-- 
Edward Hervey
Multimedia editing developer / Fluendo S.A.
http://www.pitivi.org/

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: gst-application stuck at 'gst_object_unref'
user name
2007-01-22 05:28:49
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )