1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core
Sören Tempel 80116651c2 core: Treat stack overflows as an unrecoverable error
Presently, RIOT just emits a warning when a stack overflow is
encountered but still resumes execution. In my view, execution should be
aborted as the detection of a stack overflows via the heuristic provided
by the scheduler is an unrecoverable error.

I ran into this while performing automated tests of a RIOT application
where a stack overflow occurred but I only noticed this after inspecting
the application output more closely.

Similar to SSP failures, I added crash_code for stack overflows.
2022-08-12 05:26:22 +02:00
..
include core/mutex: fix typo in docs 2022-09-16 14:52:13 +02:00
lib core: Treat stack overflows as an unrecoverable error 2022-08-12 05:26:22 +02:00
cond.c core/*: realign ENABLE_DEBUG 2020-10-23 00:45:56 +02:00
doc.txt core/doc: fix alignment 2020-04-21 15:10:56 +02:00
Kconfig core: implement core_mutex_mitigate_priority_inversion 2022-08-05 13:08:52 +02:00
Makefile core/thread, mutex: provide dummy implementation for riotboot 2022-05-02 13:18:39 +02:00
mbox.c core: apply uncrustify patches 2021-02-02 22:21:14 +01:00
msg_bus.c core: Access internal vars via helper funcs 2020-08-06 16:47:33 +02:00
msg.c core/msg.c: irq was not restored properly 2022-09-16 15:56:17 +02:00
mutex.c core/mutex: fix priority inheritance on AVR 2022-09-12 21:40:54 +02:00
sched.c core: Treat stack overflows as an unrecoverable error 2022-08-12 05:26:22 +02:00
thread_flags.c core: apply uncrustify patches 2021-02-02 22:21:14 +01:00
thread.c core: add support for test_utils_print_stack_usage 2022-03-29 21:49:35 +02:00