Catch TBB errors in the engine
Open
Engine
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
We aren't catching TBB errors like this. They're `runtime_error`'s, not `engine_errors`'s, so M2 crashes rather than just raising an error at top level.
_Originally posted by @d-torrance in https://github.com/Macaulay2/M2/pull/4685#pullrequestreview-5171622084_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the engine's existing engine_errors handling and the code paths where TBB runtime_errors can escape. Reproduce the M2 crash, then verify that the same failure is raised as a top-level error instead of terminating the process.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100