call umm_init just before starting SDK by mhightower83 · Pull Request #8207 · esp8266/Arduino

This fixes a problem I saw on a post to esp8266/arduino 👉 : June 30, 2021 11:40 AM, where the BearSSL stack trace is all zero's after an HWDT. I was too slow to recognize I had a problem around the time of his post.

The problem was umm_init was being done too early and the Heap was zeroed out before the stack dump was performed.

Added code to HWDT example to use StackThunk. This should make the problem more visible in the future should it return.