Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation violation for a trivial std::unique_ptr #13462

Closed
1 task
pcanal opened this issue Aug 16, 2023 · 0 comments · Fixed by #13463
Closed
1 task

Segmentation violation for a trivial std::unique_ptr #13462

pcanal opened this issue Aug 16, 2023 · 0 comments · Fixed by #13463

Comments

@pcanal
Copy link
Member

pcanal commented Aug 16, 2023

Check duplicate issues.

  • Checked for duplicates

Description

See https://root-forum.cern.ch/t/segmentation-violation-for-a-trivial-std-unique-ptr/55854

Reproducer

root [0] std::unique_ptr<TH1D> h(new TH1D("h", "h", 1, 0., 1.));
root [1] .q

 *** Break *** segmentation violation

ROOT version

all

Installation method

all

Operating system

all

Additional context

No response

@pcanal pcanal added the bug label Aug 16, 2023
pcanal added a commit to pcanal/root that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix root-project#13462
pcanal added a commit to pcanal/root that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix root-project#13462
pcanal added a commit to pcanal/root that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix root-project#13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
pcanal added a commit that referenced this issue Aug 16, 2023
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix #13462
@pcanal pcanal modified the milestones: 6.18/06 , 6.20/10 Aug 16, 2023
@pcanal pcanal modified the milestones: 6.20/10, 6.30/00 Aug 16, 2023
maksgraczyk pushed a commit to maksgraczyk/root that referenced this issue Jan 12, 2024
For example this allows unique_ptr to be deleted first and thus inform TROOT if need be.

Fix root-project#13462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants