rest-for-physics / rest-for-physics/framework

Opening a REST file causes seg.fault if some object definitions were not compiled

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.