leanprover-community / leanprover-community/lean
When /proc isn't mounted lean aborts: please catch exceptions and print messages from them
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 434
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
When /proc isn't mounted lean aborts:
$ lean
Abort trap
You have a throw statement when file open fails, but it looks that this exception isn't caught.
Contributor guide
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 by reproducing the issue with the lean command in an environment where /proc is not mounted. Trace the file-open failure and its throw statement to the surrounding exception handling. Done means Lean reports the exception message instead of aborting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100