Open bobrippling opened 4 weeks ago
Tagging @gfwilliams too - have you seen anything like this before?
Maybe try running E.getErrorFlags
in the IDE? It might be it's failing because the Bangle is out of memory, but it only tends to report the error to the console once - so if you weren't connected when it was reported you might miss it unless you check?
Thanks - I've installed this boot code, stashing here in case anyone else stumbles on this:
E.on("errorFlag", function(errorFlags) {
const f = require("Storage").open("errorflags.log", "a");
f.write(Date.now() + " " + JSON.stringify(errorFlags) + "\n");
console.log("errorflags.boot.js: wrote to errorflags.log");
});
Will see what I end up with
Looks like OOMs, only occurs when I have GadgetBridge connected (Android), investigating further
Affected hardware version
Bangle 2
Your firmware version
2v24
The bug
Describe the bug
The currently active app appears to be frozen, I suspect its code has run and been interrupted before it's been able to install a
setTimeout()
I see
Execution Interrupted during event processing.
in the IDE when connecting.Expected behavior
The app isn't interrupted and continues the render / perform its tasks
Steps to reproduce
Installed apps
Can't establish a connection from the app loader - execution is interrupted before it manages to fetch the app list. With the IDE also connected I see: