Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Execution Interrupted during event processing" - interrupts clock apps #3634

Open
bobrippling opened this issue Nov 1, 2024 · 4 comments
Open

Comments

@bobrippling
Copy link
Collaborator

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

  1. Run (for example) slopeclock++
  2. Wait some time
  3. Observe the clock freezes
  4. IDE presents the above message

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:

[Execution Interrupted
>[Execution Interrupted
>[Execution Interrupted
>[Execution Interrupted
>[Execution Interrupted
> 
@bobrippling
Copy link
Collaborator Author

Tagging @gfwilliams too - have you seen anything like this before?

@gfwilliams
Copy link
Member

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?

@bobrippling
Copy link
Collaborator Author

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

@bobrippling
Copy link
Collaborator Author

Looks like OOMs, only occurs when I have GadgetBridge connected (Android), investigating further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants