espruino / BangleApps

Bangle.js App Loader (and Apps)
https://banglejs.com/apps
MIT License
496 stars 1.17k forks source link

Out of memory when using OpenTrack #3581

Open dror3go opened 1 month ago

dror3go commented 1 month ago

Affected hardware version

Bangle 2

Your firmware version

2v24

The bug

Using OpenTracks app while the phone is connected to the Banglejs2 watch - at some point the phone turns blank with a blurry message at the bottom starting with FIFO_EOWL and ending with MEMORY. The rest is overlapping letters which makes it impossible to read. From that point - the phone becomes useless: long press on the button reloads it, but it doesn't update the clock, it doesn't show notifications, and the screen is not interactive.

Installed apps

No response

bobrippling commented 1 month ago

Which is the OpenTracks app? Do you mean Open Street Map?

dror3go commented 1 month ago

No, I mean the Android OpenTracks app, which probably generates many notifications on the Banglejs watch during activity. I ended up doing a factory reset on the watch since it became unusable.

bobrippling commented 1 month ago

Gotya - sounds like a problem with either Android or the Messages App (if you're using the default messages app?)

@gfwilliams what do you think? Notification throttling?

gfwilliams commented 1 month ago

I think this may have come up before - as I understand it it's kind of an issue with OpenTrack - it creates literally hundreds of notifications (I think when it's downloading something or displaying some kind of progress?). I think other apps use 'local' notifications which get ignored by Gadgetbridge but OpenTrack makes them global.

You can go into Gadgetbridge, notification settings and block all notifications from OpenTrack and I think that'll fix it though. It shouldn't have been anything wrong with the Bangle itself - once Gadgetbridge disconnected and stopped throwing notifications at it I think it would have deleted the existing notification file and it all would have been fine.

We could try and push something to Gadgetbridge that blocks OpenTrack by default - I guess throttling is possible but it sounds problematic - someone's going to complain that something didn't get through