What are the commonly found errors in embedded systems?
The standard errors that are found in an embedded system are:
- Stack overflow error :- Call stack has a limited amount of memory, and excessive memory usage in this stack can cause the failure. The memory of the call stack contains information of active subroutines in the program.
- Segmentation Fault :- A violation occurs in a program when there is an attempt to access a non-existing memory.
- Memory Leak :- This happens due to the incorrect management of memory allocation such that the memory that is no longer required is not released.
- Fragmentation or Memory corruption :- It happens because memory is altered without an explicit assignment.
BY Best Interview Question ON 23 Mar 2019