<div dir="auto">Ok I will do, I've got a breakpoint in bsp_fatal_exception and I can see up the callstack there are lots of contexts and structures, does one of them already hold the previously executing task ?<div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 Mar 2018 01:59, "Joel Sherrill" <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div class="elided-text"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mar 1, 2018 11:03 AM, "Matthew J Fletcher" <<a href="mailto:amimjf@gmail.com" target="_blank">amimjf@gmail.com</a>> wrote:<br type="attribution"><blockquote class="m_887057441812739612quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>So if a thread returns without deleting itself you get the following error,.. but may i make the observation that it might be more helpful print the rtems_name of said thread ?</div><div><br></div><div>*** FATAL ***</div><div>fatal source: 0 (INTERNAL_ERROR_CORE)</div><div>fatal code: 5 (INTERNAL_ERROR_THREAD_EXITTED<wbr>)</div><div>RTEMS version: 5.0.0</div><div>RTEMS tools: 7.2.1 20171120 [gcc-7-branch revision 9785e4dda79:9e029c9094e:b2ec65<wbr>b6e88dcbf61ac59114605113e1136f<wbr>2ac5]</div></div></blockquote></div></div></div><div dir="auto"><br></div></div><div dir="auto">Please file a ticket. There may be more cases where an id and name are useful. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_887057441812739612quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><div dir="ltr"><div class="m_887057441812739612m_3351916488564034251gmail_signature"><div><br>regards</div><div>---</div><div>Matthew J Fletcher</div><br></div>
</div>
<br></div>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>