Skip to content

DISCO-F413ZH - Idle thread stack overflow in debug build on Mbed OS 5.9 #7235

@janjongboom

Description

@janjongboom

Description

Mbed OS 5.9.0 (rev 03196b2) on the DISCO-F413ZH, running blinky. I've defined MBED_TICKLESS, MBED_CPU_STATS_ENABLED and MBED_HEAP_STATS_ENABLED. Build this with debug profile and run. After ~10 seconds a stack overflow triggers on the idle thread:

++ MbedOS Error Info ++
Error Status: 0x80020125 Code: 293 Module: 2
Error Message: CMSIS-RTOS error: Stack overflow
Location: 0x8002559
Error Value: 0x1
Current Thread: Id: 0x20001180 Entry: 0x8003e69 StackSize: 0x200 StackMem: 0x20001210 SP: 0x2004fed8 
-- MbedOS Error Info --

(verified with nm that this is the idle thread)

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions