termux-camera-photo crashes the termux app
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Problem description
I noticed that the termux app closes seemingly at random whenever I run the termux-camera-photo command, it usually happens a few seconds to a minute after the command is run.
The command does output an image as intended.
Steps to reproduce
- run
termux-camera-photo frame.png
- wait a few seconds to a minute.
Expected behavior
the app should take a photo and save it to frame.png and the app shouldn't close
Additional information
- termux-api application version: 0.50.1
- termux-api package version (installed through apt): 0.58.0-1
- Android OS version: 12
- Device model: M2101K7AG
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
Reproduce the crash by running termux-camera-photo frame.png on the reported Android 12 setup and waiting after the image is created. Start by tracing the termux-camera-photo command through the termux-api Android application; done means the photo is saved to frame.png and the Termux app remains open.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100