Unknown task ID "Hefg" seen in thread_switch hook

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 29 12:15:55 UTC 2022



On 29/08/2022 13:59, Schweikhardt, Jens (TSPCE6-TL5) wrote:
> Does this name ring a bell for you? 

No.

> Does RTEMS use “internal” tasks that 
> we don’t see?

Yes, idle tasks for example.

> 
> How could the thread_switch hook see such a name?

It is in the thread control block. You can inspect the other members to 
figure out which task it is.

> 
> My only theory at the moment is that a wild pointer messed with the 
> thread object.

I would set a write break point to the name member in the thread control 
block to figure out the origin of this name.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the users mailing list