Steps to reproduce.
- Build "Menu2Sample" for "venu2plus" from SDK 7.1.1 samples (either with direct "monkeyc" invocation or with VS Code plugin).
- Run the script (see below).
- If app is started without crash, goto 2.
Script:
#/bin/bash pkill -9 simulator || true rm -rf /tmp/com.garmin.connectiq rm -rf ~/.Garmin/ConnectIQ/simulator.ini simulator & sleep 1 monkeydo ~/.Garmin/ConnectIQ/Sdks/connectiq-sdk-lin-7.1.1-2024-04-17-66d0159ae/samples/Menu2Sample/bin/Menu2Sample.prg venu2plus &
Crash:
--- Error: Symbol Not Found Error Details: 'Failed invoking <symbol>' Time: 2024-06-05T15:19:19Z Part-Number: 006-B3851-00 Firmware-Version: '19.05' Language-Code: eng ConnectIQ-Version: 5.0.0 Filename: MENU2SAMPLE Appname: Menu2Test Error: Symbol Not Found Error Details: Failed invoking <symbol> Stack: Encountered an app crash.
This crash can also be seen for newly generated watch app project for "venu2plus". It occurs for fresh project and for "Menu2Sample" maybe in 10% of all times, but for my real project I see this almost every third run.
There can also be seen "Unable to connect to simulator" sometimes due to too short delay between "simulator" and "monkeydo" calls, but this is not the point of my concern.
This doesn't happen on SDK 6.4.2, and I haven't noticed such behavior for other devices I support both on 6.4.2 and on 7.1.1.
I tried to completely reinstall both devices and SDK by removing "~/.Garmin/ConnectIQ" directory.
I haven't tested my real app on physical device yet after migrating to 7.1.1, as it is not available at the moment. With 6.4.2 everything worked fine.