This is the contents of the CIQ_LOG.TXT file:
ERROR: Invalid Value
DETAILS: Failed invoking <symbol>
STORE_ID: 23ea030130c64c33b4ef63e2b5394e76
CALLSTACK:
@PC = 0x00000000
@PC = 0x00000000
@PC = 0x00000000
@PC = 0x00000000
@PC = 0x00000000
Not really helpfull this error, as I don't even know from which function the error was thrown from, so it's kinda seeking for a needle in a haystack...
I'm checking all over the place for null values, so I don't think an invalid value could've been a null value...
I'm assuming the invalid value could come from assigning eg a float value to an int value, although I would expect an implicit conversion there, but I also double checked my code for that...
I also checked for assignments of float values to int variables, although I would've expected truncation there and not an invalid value error...
I also analysed the data and what seems odd: at the moment of the iq! crash the cadence was 0... (I didn't stop running, so it shouldn't have dropped to 0, but anyway...)
I'm not doing anything with the cadence data in my code (I don't retrieve it's value), but I assume the lower level function that calls the compute(info) function would read all this information before passing it to the compute function.
Could it be that this lower level function throws this "Invalid Value" error? And if so what to do about this? try catch inside the compute will probably be too late...
I played back the activity file in the simulator, but getting no issues there...
link to my activity file: https://connect.garmin.com/modern/activity/1551422461 (crash at about 21:32 (where the ahead time recording stops))
the drop in cadence is the more apparent after importing in sporttracks:
