-
Notifications
You must be signed in to change notification settings - Fork 176
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
bug: bad_variant_access in SympyStepper #3523
Comments
looking at the code this seems to be the usual "outside magnetic field" error which is not communicated correctly in the acts/Core/src/Propagator/SympyStepper.cpp Line 121 in 320ef1b
I remember not wiring this because it interacts with the generated code and error handling is hard there. I see two solutions
|
Would a third option be: |
That would also be a tempting solution in this case. The error was kind of helpful in the past because it was the only flag raised when we left the detector. But at the same time we buy quite some branching and control flow complexity in very hot code paths. What do you think @paulgessinger ? |
Generally this is one of the problems with an underlying cause. We can return I think the underlying problem here is that we generate particles with pythia8 at the perigee as reference surface but some of them are quite displaced and end up in the middle of the tracking geometry. I had similar issues here #3442. If we cut them inside the beampipe the propagation problem might disappear. |
A missing B field is not correctly handled in the `SympyStepper` and can result in segmentation faults. Fixes - #3523
Yes, I can confirm this fixes the issue for me ( For your information, since I have run this test, I compared the performance of 100 ttbar_pu200 events with |
full_chain_itk.py
crashes in the first event withttbar_pu200=True
:The gdb traceback includes:
I am using acts
main
(320ef1beb
, 2024-08-20) built withLCG_105a/x86_64-el9-gcc13-opt
. I think this is a critical bug.The text was updated successfully, but these errors were encountered: