<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">http://git.rtems.org/rtems/tree/cpukit/score/include/rtems/score/interr.h for the error list. If I am counting correctly, you have a Classic API task which returned from its function body. It must delete itself with rtems_task_delete.

"Binkowski, Cassio" <cassioiks@gmail.com> wrote:

</pre>
<div>
<div dir="ltr">The file 'events.c' is inside /gdb-7.5.1/sim/ppc.
<div><br>
</div>
<div style="">I am using psim-gdb testing my own application, it's not an RTEMS example.</div>
<div style=""><br>
</div>
<div style="">I managed to break right on it, and it stops at:</div>
<div style="">../../../../../../rtems/c/src/../../cpukit/score/src/interr.c:58<br>
</div>
<div style=""><br>
</div>
<div style="">Signature is the following:</div>
<div style="">
<div>the_source=the_source@entry=INTERNAL_ERROR_CORE, is_internal=is_internal@entry=true, </div>
<div>    the_error=the_error@entry=5)</div>
<div><br>
</div>
<div style="">I have no clue of what it can be. Do you have any idea?</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, May 1, 2013 at 5:37 PM, Joel Sherrill <span dir="ltr">
<<a href="mailto:Joel.Sherrill@oarcorp.com" target="_blank">Joel.Sherrill@oarcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">Where is the file events.c?

Break at the fault handler printing that. 

Does this happen with any rtems provided examples?

Are you using the psim or psim-gdb script to run it?

"Binkowski, Cassio" <<a href="mailto:cassioiks@gmail.com" target="_blank">cassioiks@gmail.com</a>> wrote:

</pre>
<div>
<div class="h5">
<div>
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>I was just testing my application using PSIM and it is returning the following lines, right after starting a Task:</div>
<div><br>
</div>
<div>
<div><i>rtems-4.10.99.0(PowerPC/Generic (classic FPU)/psim) PANIC ERROR 5</i></div>
<div><i>events.c:404: assertion failed - events->time_from_event > 0</i></div>
</div>
<div><br>
</div>
<div>Has anybody experienced this before?</div>
<div><br>
</div>
<div>Thanks.</div>
<div>Cassio</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>