rest-for-physics / rest-for-physics/framework
Opening a REST file causes seg.fault if some object definitions were not compiled
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 19
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
If I generated a ROOT file with, for example, objects from the detector library. And someone else compiled REST without the detector library and tries to open the ROOT file, opening with restRoot will usually develop into a segmentation fault.
This should be prevented.
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
Reproduce the problem by opening a ROOT file with restRoot when it contains objects from the unavailable detector library. Start by tracing the ROOT-file loading path and how missing object definitions are handled. Done means opening the file no longer causes a segmentation fault; the payload names no specific source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100