Ticket Created
over 3 years ago

CIQQA-490

In App Settings causing device restart - reproducible

Hi there,

Two of my apps (TrainingHR and InTheZone, that I've tested), both generate the following restart condition on an Edge 530.  Completely reproducible.  There is no error recorded in the App Logs, but there is a device error log (below).  Both of these apps work absolutely fine in the simulator - no errors.

My App - In The Zone - has a main In App Settings menu containing 24 menu items.  When I bring this menu up on the device (from an activity running the App - press SELECT, scroll down to "Data Fields", select Connect IQ fields, select In The Zone) and then scroll down off the 4 menu items displayed on the screen to something off the screen, say item number 7 or anywhere beyond that, select that menu option (might be a list or a stringpicker - doesn't seem to matter) and then press SELECT to return back to the main menu, you will notice there is no item with a visible focus.  If you press the DOWN button, focus reestablishes and then you can move up and down the main menu and life continues.  However, if you had pressed the UP button immediately after returning out of the sub-menu (before any main menu item had focus), then the device will completely and spontaneously restart.  No App error is recorded.  only the below, device log is recorded (err_log.bak)

In the simulator (for the Edge530) focus is never lost when returning from a sub-menu.

Are you able to decode this log file and find where the problem is?

Thanks,

Rob.

[
{
"unit_id":"3331654924",
"product_name":"Edge 530",
"software_part_number":"006-B3121-00",
"ms_since_epoch":1625974766000,
"system_version":"8.10",
"build_type":"PRODUCTION",
"backtrace":"
Function Address: 0x608ECB7A
Call Address at Function: 0x608ECBA4

Function Address: 0x6015453A
Call Address at Function: 0x6015454C

Function Address: 0x60441ECC
Call Address at Function: 0x60441F0E

Function Address: 0x60440E2C
Call Address at Function: 0x60440EFC

Function Address: 0x60A25C4A
Call Address at Function: 0x60A25CAE

Function Address: 0x60236494
Call Address at Function: 0x602365B6

Function Address: 0x602371A8
Call Address at Function: 0x602378B0

Function Address: 0x60255E74
Call Address at Function: 0x60255F04

Function Address: 0x6020BD3C
Call Address at Function: 0x6020BFB8

Function Address: 0x6020DFA8
Call Address at Function: 0x6020DFE6

Function Address: 0x602191A0
Call Address at Function: 0x60219576

Function Address: 0x60219D0C
Call Address at Function: 0x60219D98

",
"error_cause":"RTL Trap",
"proprietary_info":{
"Commit ID":"c1a051a53e1ae6a889b2a63d74dc8ab6ecb8ca34",
"Time":"2021-7-11 13:39:26",
"Project Specific":"2021-7-11 13:39:26",
"CDP_LOG":"605F8151,6045B5CD,605D9DCD,6061708D,600E2D69,602124B9,605D9DCD,6020DFA9,6020DFA9,6020DFA9,6020DFA9,6020DFA9,605D9DCD,602124B9,600E2D69,6061708D,600E2D69,602124B9,605D9DCD,6020DFA9,601CBB29,6020DFA9,6020DFA9,6020DFA9,",
"RTL Error Number":"6E5D8024",
"Error Message":"D0850110,00000000,01E8BA10,D0850110,D26DBB30,01E8BA00,0000FE4C,62F5D884,62F63814,62F639C4,000004C6,00000010,D0850120,62F5D674,00000000,608ECBA4,2001001F",
"Task Name":"CDP main",
"Saved SP":"62F5D674",
"Saved LR":"00000000",
"Saved PC":"608ECBA4",
"R[0]":"D0850110",
"R[1]":"00000000",
"R[2]":"01E8BA10",
"R[3]":"D0850110",
"R[4]":"D26DBB30",
"R[5]":"01E8BA00",
"R[6]":"0000FE4C",
"R[7]":"62F5D884",
"R[8]":"62F63814",
"R[9]":"62F639C4",
"R[10]":"000004C6",
"R[11]":"00000010",
"R[12]":"D0850120",
"R[13]":"62F5D674",
"R[14]":"00000000",
"R[15]":"608ECBA4",
"cpsr":"2001001F"
}

}
]

  • I just re-tried this on firmware 9.10 for my Edge530 and CIQ v4.1.1.  All appears to be fine now.  The steps to reproduce do not cause the restart condition.

  • For the record, this is still a problem with the recently released 8.20 Edge530 firmware.  Although, it's unclear whether the problem is firmware or CIQ...Be nice to know...

  • This is a stripped down version of my app - pretty much just the in app menu stuff.  It displays "Hello World" on the screen and then allows you to access the In App Settings menu,  This project produces the restart condition.

  • I tested what would happen if an activity was running and someone accessed App settings and pressed the UP key and the device restarted.  I thought the activity might be lost, but it looks like the activity state is retained, which is a relief!

    I don't think this problem is an issue for touch screen devices, but I can't be sure as it all works fine in the "simulator" and I don't have a touch enabled device.

    I've tried specifically setting the focus on the parent menu item when returning from a sub-menu item, but this has no impact at all.  There is still no focus set when returning from a sub-menu (however, in the simulator focus is set, but I don't think it's because I'm specifically setting it - it happens regardless of me setting it or not).  So, I'm not sure if the problem is the fact there is no focus set (on an actual device) OR there is something missing in the UP key event processing, as the DOWN key seems to re-establish focus and happily move on.

    There is currently only one workaround for this problem - Exit out of In App Settings after EVERY setting for devices that have physical buttons.  A horrible UI workaround!