Acknowledged
CIQQA-4836

Connect IQ activity app crashes (IQ! / watch freeze) when leaving a paused recording via the controls menu

Devices: Forerunner 965 (29.06), Forerunner 265
SDK: Connect IQ 9.2.0

Steps to reproduce (consistent):

  1. Start a Connect IQ watch app that records an activity with ActivityRecording.Session.
  2. Pause the activity (session.stop(), session kept open).
  3. Hold LIGHT to open the controls menu and select Stopwatch.
  4. Go to the watch face.

Result: The app crashes with the IQ! icon. Sometimes the watch freezes and has to be restarted.

Expected: The app exits cleanly, and the paused activity is saved or kept.

Observations:

  • It also happens when the user leaves the paused app another way, for example to make a Garmin Pay payment and then return to the app.
  • Logging to a file shows that the app's onStop() runs to the end and session.save() returns true. The crash happens after that, inside the system.
  • We ruled out our own code: we stopped timers, screen updates, network calls and storage writes, and turned off GPS before saving. It still crashes.
  • Another third-party Connect IQ activity app (not ours) crashes with the same steps. The built-in Run activity does not crash.
  • If the activity is still recording (not paused), the same steps show the system's stop-activity screen and nothing crashes. Only paused sessions are affected.
  • onActive/onInactive and onStop/onStart with suspend/resume never fire on these watches while the app is hidden behind the controls menu. Only the view's onHide/onShow are called, so the app cannot tell that it has been suspended.
  • No CIQ_LOG.YAML or ERR_LOG.txt is written to the watch.

Log files from the app are available on request.