InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Watch freezes and reboot after interacting with external resources

Open
#2,021 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

When interacting with external resources (through InfiniLink), and then changing a setting, the watch will freeze, and then reboot.

The issue appears to be when InfiniLink uses an LS function to make a list with all the files in the selected directory.

The code used in InfiniLink to fetch the external resources has been checked multiple times and does not appear to contain any potential causes for this issue, so it's possible the issue resides in InfiniTime.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the freeze and reboot after InfiniLink uses an LS function to list files in an external directory and a watch setting is changed. Compare the InfiniLink resource-fetching path with the corresponding InfiniTime handling; done means identifying the responsible path and demonstrating that this interaction no longer freezes or reboots the watch.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.