<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Well, <br>
<br>
&gt; man pthread_mutex_destroy<br>
<blockquote type="cite">ERRORS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The pthread_mutex_destroy() function may fail if:<br>
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EBUSY&nbsp; The implementation has detected an attempt to destroy the
object referenced by mutex while it is locked<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or referenced (for example, while being used in a
pthread_cond_timedwait() or&nbsp; pthread_cond_wait())&nbsp; by<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; another thread.<br>
</blockquote>
<br>
Last reference on your udpsrc is dropped while it is still running.<br>
One of the mutex of udpsrc is locked, while being destroyed in the
dispose function of udpsrc.<br>
<br>
As said : you need to explicitely set the udpsrc to NULL state before
dropping the final reference.<br>
<br>
If you already set it to NULL before removing from pipeline, this means
you have a refcount problem somewhere.<br>
<br>
Aurelien<br>
<br>
<br>
Le 08/09/2009 15:14, Marl&egrave;ne Hildebrand-Ehrhardt a &eacute;crit&nbsp;:
<blockquote
 cite="mid:92f1bb260909080614t433d3208wbac0162f6637ee1d@mail.gmail.com"
 type="cite">Hi!<br>
  <br>
I'm using a streaming application that has been developped with Java
and GStreamer.<br>
Sometimes, when I launch the application, after a few streams have been
created, the application crashes and I get the following message :<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] <br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] (JavaUBIK:23929): GStreamer-CRITICAL **: <br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] Trying to dispose element udpsrc34, but it is not in the
NULL state.<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] You need to explicitly set elements to the NULL state before<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] dropping the final reference, to allow them to clean up.<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] <br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] <br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] GThread-ERROR **: file
/build/buildd/glib2.0-2.20.1/gthread/gthread-posix.c: line 171
(g_mutex_free_posix_impl): error 'P&eacute;riph&eacute;rique ou ressource occup&eacute;'
during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] aborting...<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] Java Result: 134<br>
  <br>
Does anybody have an idea of the signification of this message?<br>
  <br>
Thank you by advance!<br>
  <br>
Marl&egrave;ne Hildebrand-Ehrhardt<br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
  </pre>
</blockquote>
<br>
</body>
</html>