Ticket Created
over 3 years ago

CIQQA-923

Montana 7xx Crash in createSession()

We've received reports of an app crash on Montana 7xx (incidentally, using Russian language) when calling createSession:

try {
    session = ActivityRecording.createSession({:sport=>sport, :subSport=>subSport, :name=>name});
} catch(e) {
    sport = 0;
    subSport = 0;
    session = ActivityRecording.createSession({:sport=>sport, :subSport=>subSport, :name=>name});
}

The crash is occurring on what's listed here as line 2, and there are two concerns:

  1. Why is the crash occurring here?
  2. Should the error be handled by the try-catch?
Parents
  • According to my ERA viewer, it's occurring on Montana 7 Series: 13.20, 15.10, 15.20, in Deu, Eng

    The backtrace / offending code is this line:

    myFitSession = ActivityRecording.createSession({ name=>WatchUi.loadResource(Rez.Strings.Text), :sport=>ActivityRecording.SPORT_GENERIC }); // Text is valid string about 12 printable characters.
Comment
  • According to my ERA viewer, it's occurring on Montana 7 Series: 13.20, 15.10, 15.20, in Deu, Eng

    The backtrace / offending code is this line:

    myFitSession = ActivityRecording.createSession({ name=>WatchUi.loadResource(Rez.Strings.Text), :sport=>ActivityRecording.SPORT_GENERIC }); // Text is valid string about 12 printable characters.
Children
No Data