<div dir="ltr">Oh, that makes sense. Thank you.<div><br></div><div>I got this:</div><div><br></div><div>(gdb) p *(Heap_Error_context*)(0x00206d7c)<br>$5 = {<br>  heap = 0x202ba8 <_Workspace_Area>,<br>  block = 0x206fec,<br>  reason = HEAP_ERROR_FREE_PATTERN<br>}<br></div><div><br></div><div>HEAP_ERROR_FREE_PATTERN    <br>There is an unexpected value in the free pattern of a free heap block.<br></div><div><br></div><div>I will try to find out more about this error.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 1, 2021 at 8:30 PM Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Feb 28, 2021 at 10:53 PM Richi Dubey <<a href="mailto:richidubey@gmail.com" target="_blank">richidubey@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I get this error on sp02:<br>
><br>
> *** FATAL ***<br>
> fatal source: 13 (RTEMS_FATAL_SOURCE_HEAP)<br>
> CPU: 0<br>
> fatal code: 2125180 (0x00206d7c)<br>
> RTEMS version: 6.0.0.44ae183090f3bc1a4ee281ff98525209b3fda7a7-modified<br>
> RTEMS tools: 10.2.1 20210125 (RTEMS 6, RSB ade089253e70d75105a8311844f82f6d20cc30a8, Newlib cb41c37)<br>
> executing thread ID: 0x08a010001<br>
> executing thread name: UI1<br>
><br>
> On checking docs, it says the fatal code indicates address of heap context. I could not find any further information about this. How do I use 2125180 (0x00206d7c) to get more information about my error? Please advise.<br>
<br>
Good that you found that much.<br>
<a href="https://docs.rtems.org/branches/master/c-user/fatal_error.html" rel="noreferrer" target="_blank">https://docs.rtems.org/branches/master/c-user/fatal_error.html</a><br>
Then, you can put that address in gdb cast it as a Heap_Error_context<br>
and investigate it.<br>
<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>