<div dir="ltr">Hi,<div><br></div><div>I am testing tm24 on the scheduler code that we developed in this year's GSoC.</div><div><br></div><div>I am getting the following error:</div><div><br></div><div>fatal source: 0 (INTERNAL_ERROR_CORE)<br>fatal code: 5 (INTERNAL_ERROR_THREAD_EXITTED)<br></div><div><br></div><div>and the backtrace goes something like this:</div><div><br></div><div>Tasks (argument=0) at /home/richi/quick-start/src/rtems/c/src/../../testsuites/tmtests/tm24/task1.c:129<br>129  }<br>(gdb) <br>0x00100f72   129     }<br>(gdb) <br>0x00100f74   129     }<br>(gdb) <br>0x00100f76   129     }<br>(gdb) <br>_Thread_Entry_adaptor_numeric (executing=0x201980 <_RTEMS_tasks_Objects+2576>) at /home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threadentryadaptornumeric.c:26<br>26    }<br>(gdb) <br>0x00109afa   26      }<br>(gdb) <br>0x00109afc   26      }<br>(gdb) <br>0x00109afe   26      }<br>(gdb) <br>_Thread_Handler () at /home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threadhandler.c:152<br>152          _User_extensions_Thread_exitted( executing );<br>(gdb) <br>0x00108708    152       _User_extensions_Thread_exitted( executing );<br>(gdb) <br>154     _Internal_error( INTERNAL_ERROR_THREAD_EXITTED );<br>(gdb) <br>0x0010870e        154       _Internal_error( INTERNAL_ERROR_THREAD_EXITTED );<br>(gdb) <br><br>Thread 1 hit Breakpoint 5, _Terminate (the_source=INTERNAL_ERROR_CORE, the_error=5) at /home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/interr.c:36<br>36     _User_extensions_Fatal( the_source, the_error );<br><br></div><div><br></div><div>Is there any information that might help me in debugging this error? Is there something specific that I should look out for? I think that here the thread exits its entry function and the scheduler code is not able to find any other thread to execute (even though there are threads left), is that right?   </div><div>Please let me know.</div><div><br></div><div>Thanks,</div><div>Richi.</div></div>