_Internal_error_Occurred() in _Thread_Handler()

Matthew J Fletcher amimjf at gmail.com
Wed Apr 3 09:44:49 UTC 2013


Sebastian,

> then the system is broken.  This can be a general memory corruption
(heap, stack, global > variables) or a bug in the exception processing.

Do you know where the rtems executive tests for and detects a return from a
thread so i can investigate further ?





On 3 April 2013 10:39, Sebastian Huber
<sebastian.huber at embedded-brains.de>wrote:

> On 04/03/2013 11:11 AM, Matthew J Fletcher wrote:
>
>> Sebastian,
>>
>> The example from my previous post will drop into any of the samples, all
>> you
>> need is a time tick to test it.
>>
>
> In another email you write:
>
> "A simple case as shown bellow does NOT fail, but a more complex example
> with 30+ tasks, 40+ timers etc does seem to reproducibly fail."
>
> I need a self contained test case that reproduces the problem to help you.
>
>
>
>>  > In which context do you look at executing->Start->entry_point?
>>
>> I have a breakpoint in _Internal_error_occurred() i then go up the
>> callstack
>> into _Thread_Handler.
>>
>
> Ok, if you end up here with the following task
>
>
>
> rtems_task test_wake_after(rtems_task_**argument ignored)
> {
>     for(;;)
>     {
>         rtems_task_wake_after(10);
>
>         /* application code happening on interval here */
>     }
> }
>
> then the system is broken.  This can be a general memory corruption (heap,
> stack, global variables) or a bug in the exception processing.
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-**brains.de<sebastian.huber at embedded-brains.de>
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>



-- 

regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130403/dc9be3cc/attachment-0001.html>


More information about the users mailing list