-
Notifications
You must be signed in to change notification settings - Fork 130
Core Dump
Andy Blackburn edited this page Apr 10, 2021
·
5 revisions
to do a core dump, please do the following:
- open debug log in new tab
- start an update / reflash, you should see "Stopping HAP service" in the log, but update won't start (as server is not able to stop).
- abort the update by closing the update / flash tab, (because of the workaround the update will begin anyway after 10 seconds, we don't want that), your looking for something like
2242170518227 shelly_main.cpp:371 == Stopping HAP service (1) 2242170523231 mgos_ota_core.c:587 begin: waiting for user
- take a snapshot of http://xxx.xxx.xxx.xxx/debug/info
- invoke http://xxx.xxx.xxx.xxx/rpc/Shelly.Abort in a new tab
- close this tab, do not wait for the page to load something.
- save http://xxx.xxx.xxx.xxx/debug/log from the tab
- when device comes back, get the core dump by doing http://xxx.xxx.xxx.xxx/debug/core save send it to @rojer , along with the log and debug info tab contents.
GitHub.com/mongoose-os-apps/schelly-http://192.168.1.139/ota?url=http:/roger.me/files/schelly/schelly-homekit-schelly1-zip