Can printf() be made SMP safe?

Sebastian Huber sebastian.huber at embedded-brains.de
Sun May 2 16:35:12 UTC 2021


Hello Dave,

this looks like a memory corruption issue. I would use GDB and check the 
value of mutex objects SMP lock. If next_ticket and now_serving differ 
by more than one on the GR712RC, something is seriously wrong. Which 
RTEMS version do you use?

It may help to enable the stack checker and the RTEMS internal debugging 
support (RTEMS_DEBUG = True or --enable-rtems-debug).

-- 
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