InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Pressing alternating buttons really fast in stopwatch crashes the watch

Open
#2,290 4 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

Verification
  • I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?

If you press the two stopwatch buttons repeatedly, the watch freezes and reboots

What should happen instead?

It should just do what the buttons will do instead of crashing the watch.

Reproduction steps

Press each button fast and repeatedly in the stopwatch app (use two fingers, one for each button). The watch will stop responding. A few seconds later, the screen will blink a little and the watch will reboot.

More details?

After reset, "Last reset" is listed as "wtdg".

Version

1.14.1

Companion app

N/A

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 two-finger, rapid alternating-button sequence in the stopwatch app on version 1.14.1 and observe the reboot with reset reason "wtdg". Done means repeated presses make the stopwatch respond without freezing or rebooting 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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.