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

Cluster3D Segmentation Fault Issues #466

Open
bear-is-asleep opened this issue May 17, 2024 · 0 comments
Open

Cluster3D Segmentation Fault Issues #466

bear-is-asleep opened this issue May 17, 2024 · 0 comments
Assignees

Comments

@bear-is-asleep
Copy link
Contributor

Cluster3DSBN has issues with segmentation faults with SBND. This problem occurs when assigning pointers and the memory gets scrambled. Some PRs have solved most of the issues, but the problem persists for rare cases, < 0.1 % events. Here's an example of memory being overwritten.

WireID0: C:0 T:0 P:0 W:1817
WireID1: C:0 T:0 P:1 W:998
%MSG-w Cluster3D:  Cluster3DSBN:cluster3d@BeginModule 03-May-2024 10:44:31 CDT  run: 1 subRun: 29 event: 7
Exception caught finding nearest wire, position - ---- Geometry BEGIN
  Can't find nearest wire for position (-93.9571,-141.855,504.3) in plane C:0 T:0 P:2 approx wire number # 1663 (capped from 1664)
---- Geometry END

%MSG
WireID: C:0 T:3804242872 P:32764 W:1663

Where T and P are the tpc and plane ids respectively. This specific issue was solved in PR 461. A similar segmentation fault issue was solved in PR 465.

We are still working to find all segmentation fault errors associated with misallocated memory. Nonetheless, the frequency of the errors are very low < 0.1% of all events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants