#3806 closed enhancement (fixed)

Add fatal error for heap errors

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: score Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Currently, the following fatal error is generate in case of heap errors:

  static void _Heap_Protection_block_error_default(
    Heap_Control *heap,
    Heap_Block *block
  )
  {
    /* FIXME */
    _Terminate( INTERNAL_ERROR_CORE, 0xdeadbeef );
  }

Replace this with a dedicated fatal error source and a context structure (similar to assert()).

Change History (2)

comment:1 Changed on Nov 5, 2019 at 11:50:12 AM by sebastian.huber <sebastian.huber@…>

In 3859cd63/rtems:

rtems-5: Improve heap fatal error information

Update #3806.

comment:2 Changed on Nov 5, 2019 at 11:50:33 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In dee158c/rtems-docs:

c-user: Document RTEMS_FATAL_SOURCE_HEAP

Close #3806.

Note: See TracTickets for help on using tickets.