Skip to content

Conversation

@sethrj
Copy link
Member

@sethrj sethrj commented Jun 26, 2025

#1756 is crashing due to a null pointer: @rahmans1 and I tracked it down to G4Track::GetMaterialCutsCouple which actually points to the step: fpStep->GetPreStepPoint()->GetMaterialCutsCouple();. There are circular dependencies between Step and Track and a lot of duplicate data between the three.

This should fix the crash by setting the track's step pointer during construction.

@sethrj sethrj requested a review from rahmans1 June 26, 2025 17:56
@sethrj sethrj added bug Something isn't working external Dependencies and framework-oriented features labels Jun 26, 2025
@github-actions
Copy link

github-actions bot commented Jun 26, 2025

Test summary

 4 490 files   6 855 suites   13m 39s ⏱️
 1 856 tests  1 847 ✅  9 💤 0 ❌
23 618 runs  23 533 ✅ 85 💤 0 ❌

Results for commit 04dc5d3.

♻️ This comment has been updated with latest results.

@sethrj sethrj requested a review from esseivaju June 28, 2025 17:44
@sethrj sethrj enabled auto-merge (squash) June 30, 2025 16:27
@sethrj sethrj merged commit cd2a534 into celeritas-project:develop Jun 30, 2025
38 checks passed
@sethrj sethrj deleted the hit-processor-attrs branch September 24, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working external Dependencies and framework-oriented features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants