What does fatal source: 0 and fatal code: 5 indicate?
Richi Dubey
richidubey at gmail.com
Wed Dec 2 18:50:07 UTC 2020
Hi,
I am testing tm24 on the scheduler code that we developed in this year's
GSoC.
I am getting the following error:
fatal source: 0 (INTERNAL_ERROR_CORE)
fatal code: 5 (INTERNAL_ERROR_THREAD_EXITTED)
and the backtrace goes something like this:
Tasks (argument=0) at
/home/richi/quick-start/src/rtems/c/src/../../testsuites/tmtests/tm24/task1.c:129
129 }
(gdb)
0x00100f72 129 }
(gdb)
0x00100f74 129 }
(gdb)
0x00100f76 129 }
(gdb)
_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
26 }
(gdb)
0x00109afa 26 }
(gdb)
0x00109afc 26 }
(gdb)
0x00109afe 26 }
(gdb)
_Thread_Handler () at
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threadhandler.c:152
152 _User_extensions_Thread_exitted( executing );
(gdb)
0x00108708 152 _User_extensions_Thread_exitted( executing );
(gdb)
154 _Internal_error( INTERNAL_ERROR_THREAD_EXITTED );
(gdb)
0x0010870e 154 _Internal_error( INTERNAL_ERROR_THREAD_EXITTED );
(gdb)
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
36 _User_extensions_Fatal( the_source, the_error );
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?
Please let me know.
Thanks,
Richi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201203/c38164af/attachment.html>
More information about the devel
mailing list