InfiniTimeOrg / InfiniTimeOrg/InfiniSim
Random crashes for no apparent reason
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 203
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone,
I love my PineTime and I am amazed by the firmware the community managed to create!
I am trying to experiment with the firmware, so I started by compiling it and the simulator.
Everything seems fine, bu when I run the simulator, it always crashs.
If I swipe up the console shows:
> ./build/infinisim
info: 1 1 2026
info: 0 0 0
initial free_size = 40360
info: systemtask task started!
info: Last reset reason : Reset pin
info: [SpiNorFlash] Manufacturer : 0, Memory type : 0, memory density : 0
info: [SpiNorFlash] Wakeup
warn: [AlarmController] Failed to open alarm data file
info: DISABLE
info: displayapp task started!
info: DISABLE
free(): invalid pointer
[1] 11810 abort (core dumped) ./build/infinisim
Same if I press n to send a new notification.
Moving around also produces similar results.
I am on Arch Linux and I built the project following the readme. Any ideas on how to debug this problem?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README build instructions and run ./build/infinisim on Arch Linux to reproduce the abort. Exercise the simulator by swiping up, pressing n, and moving around while tracing the free(): invalid pointer failure; done means these actions no longer crash the simulator.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100