Fenix freezes on restart of App

Hi,

I asked some questions to my App already (https://forums.garmin.com/showthread.php?328240-drawArc-on-Fenix3
), but I think now it makes sense to set a new title.

In principle the App works, but when I quit the App and later re-start it, my Fenix 3 crashes. I am using Connect IQ 1.2.0 and SW 6.08

This is the log file, maybe this helps, for me the adresses and registers are for me like a closed book:
---
2050 (fenix 3) SW ver: 608
Build Type: RELEASE
ESN: 3904065461
Battery Voltage: 4.146000V
10/31/15 17:54:36
BF
PC: 0x000a94dc*
LR: 0x00085ab1
SP: 0x2001ad00
CFSR: 0x00000400
Return Address (LR): 0x0013ccff:Call Stack - PSP at 0x2001ace0:
0x00085ab1
0x00015ffd
0x00085fd7
0x00088339
0x000fb2c5
0x0011f957
0x00131ab1
0x00131ab1
0x00023e19
0x00023e19
0x000242d9
0x0011fc93
0x00101fb7
0x00061da5
0x001d5945
0x00008183
0x0010200b
0x0010200b
0x000cbe15
0x000242d9
HWM_usb_connected = 0x00. HWM_usb_mode = 0x01.
page addr = 0x00085bad
page addr = 0x00100399
Uptime: 29762283
---

If you want to have a look at the source code, it's available in
https://github.com/oe8bck/StartTimer

Actually I do not know anything about the memory management of Monkey C, so is it the correct way I close the App?

Any feedback welcome!
KR,
Christof
  • Sdk 1.2.1

    I Updated the SDK to 1.2.1. Then there are some errors thrown in the simulator.

    But the crash of the watch on restart is still there :-(

    I attached the log files, but I do not see any hint where to search. I just updated github, so if anybody is interested, please have a look at it.

    KR,
    Christof
  • We haven't been successful at reproducing this so far--can you provide any more detail about exactly what steps you take when you see this crash, or does it just consistently happen whenever you leave and re-enter the app?
  • Crash of Fenix 3

    Hi,

    Thanks for the support!

    If I leave the App (via "back") the watch is still working. But as I did it yetsterday I saw that the current consumption is high, the battery was empty over night! When I then press the "Start" button, the watch freezes, then I have to restart the watch vie the "Light" button..

    I have to mention that I am using Fenix3 software version 6.08 Beta http://www8.garmin.com/support/downl...ls.jsp?id=9504
    I just saw that this is rather old, currently it's 6.15beta. With which version did you test and could not reproduce the lockout?

    KR,
    Christof
  • With new FW, it does not crash any more

    Yesterday, I installed SW V 6.15 and now the App in Connect IQ SDK 1.2.1 does not ctrash any more. Also the power consumption is ok, after quitting the App, the battery is not discharged over night. :)

    Thanks a lot for all your comments, now I can finish this App (this is the reason for me to upgrade from Fenix 2 to Fenix 3)

    KR,
    Christof