<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Verdana">Quick update!<br>
<br>
If I raise the priority of the task deleting the queue to be
higher than the one waiting, it works correctly.<br>
<br>
I'll keep you posted.<br>
<br>
Thanks!<br>
</font><br>
On 10-Nov-11 10:33 AM, Gabriel Raineri wrote:
<blockquote cite="mid:4EBBD2B1.9000701@invap.com.ar" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<font face="Verdana">Actually, I don't have a test case. However,
I will try to write one to see if I can repeat the issue.<br>
<br>
Sorry, the RTEMS version is: 4.9.99.0<br>
<br>
Thanks again!<br>
</font><br>
On 10-Nov-11 10:25 AM, Joel Sherrill wrote:
<blockquote cite="mid:4EBBD0B8.7000901@oarcorp.com" type="cite">On
11/10/2011 07:11 AM, Gabriel Raineri wrote: <br>
<blockquote type="cite">Hi everybody! <br>
<br>
I'm having an issue while deleting a queue: the call to
rtems_message_queue_delete hangs. <br>
I have been debugging RTEMS code and I found that it gets
stuck at _Thread_Enable_dispatch() in msgqdelete.c <br>
<br>
</blockquote>
Do you have a test case? This case is covered in the test suite
<br>
so there must be something different about your case. <br>
<blockquote type="cite">More details: <br>
- RTEMS Version: 4.99 <br>
</blockquote>
That's not an RTEMS version number. What version are you using?
<br>
How did you get it? <br>
<blockquote type="cite">- The task that deletes the queue is not
the one that created it. <br>
- There is a task blocked waiting for the queue which has a
higher priority than the task deleting the queue. <br>
- I have also tried disabling interrupts before the deletion
in order to avoid context switching with no luck (still
hangs). <br>
- There are no pending messages on the queue. <br>
- All nodes are LOCAL. <br>
<br>
You might be wondering why in the world I'm trying to delete a
queue. Well, to make a long story short, the idea behind this
is to inject errors into our application to see if it is
reacting as expected. <br>
<br>
Any help will be appreciated! <br>
<br>
Thanks in advance! <br>
<br>
Cheers, <br>
Gabriel <br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rtems-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a>
</pre>
</blockquote>
</body>
</html>