<!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>
> man pthread_mutex_destroy<br>
<blockquote type="cite">ERRORS<br>
The pthread_mutex_destroy() function may fail if:<br>
<br>
EBUSY The implementation has detected an attempt to destroy the
object referenced by mutex while it is locked<br>
or referenced (for example, while being used in a
pthread_cond_timedwait() or pthread_cond_wait()) by<br>
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ène Hildebrand-Ehrhardt a écrit :
<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>
<br>
[java] <br>
[java] (JavaUBIK:23929): GStreamer-CRITICAL **: <br>
[java] Trying to dispose element udpsrc34, but it is not in the
NULL state.<br>
[java] You need to explicitly set elements to the NULL state before<br>
[java] dropping the final reference, to allow them to clean up.<br>
[java] <br>
[java] <br>
[java] GThread-ERROR **: file
/build/buildd/glib2.0-2.20.1/gthread/gthread-posix.c: line 171
(g_mutex_free_posix_impl): error 'Périphérique ou ressource occupé'
during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'<br>
[java] aborting...<br>
[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è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>