Skip to content
Snippets Groups Projects

MuonChamberLayout create tile id vector only locally to make move operator safe

Merged Andre Gunther requested to merge gunther_fixDoubleFree into master

This tries to solve a spurious crash observed when fitting SeedMuon tracks. So far I was not able to reliably reproduce the crash, but I suspect that the memory holding some tile ids is freed twice. To avoid this the corresponding data member is removed and only local/temporary vectors are used to make the move operation safe. Also removes unnecessary unsigned and int mixtures to avoid casts.

The crash report can be found here.

FYI @rmatev @sponce

Edited by Andre Gunther

Merge request reports

Merge request pipeline #4415329 passed

Merge request pipeline passed for c6601a48

Approved by

Merged by Rosen MatevRosen Matev 2 years ago (Aug 30, 2022 1:05pm UTC)

Loading

Pipeline #4429869 passed

Pipeline passed for 32c97cd1 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading