[RTEMS Project] #4216: prinf/vsnprintf crash when used in interrupt context

RTEMS trac trac at rtems.org
Wed Jan 20 08:34:05 UTC 2021


#4216: prinf/vsnprintf crash when used in interrupt context
----------------------+----------------------
 Reporter:  ceasar    |       Owner:  (none)
     Type:  defect    |      Status:  closed
 Priority:  high      |   Milestone:
Component:  arch/arm  |     Version:  4.11
 Severity:  major     |  Resolution:  invalid
 Keywords:            |  Blocked By:
 Blocking:            |
----------------------+----------------------
Changes (by Sebastian Huber):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Using any of the printf() functions in interrupt context is undefined
 behaviour. You can use the interrupt server to run interrupt handlers in a
 thread context. You can use the event recording as a low overhead
 alternative to printf() to trace your application:

 https://docs.rtems.org/branches/master/user/tracing/eventrecording.html

--
Ticket URL: <http://devel.rtems.org/ticket/4216#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list