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
save sequence with patterns crashes #492
Comments
added files from Androula. |
here is what we should save in file newsps_thinstr.str with patterns (from 5.03.06)
and here is what is actually saved (from 5.03.07)
So all the variables that fulfil the pattern are not saved. |
coldfix
added a commit
to coldfix/MAD-X
that referenced
this issue
Oct 26, 2017
e.g. variable name or sequence name Resolves MethodicalAcceleratorDesign#492 and restores the pass_select behaviour before 674555f.
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reported by Androula:
Saving a sequence with SELECTed pattern leads to a segfault in pass_select_el
I found the missing guard in the new function pass_select_el
But in fact this function should never work on NULL element... Some check and redirection is missing in pass_select when the element is not found.
BUT once the guard was added, I discovered that SELECT flag=save is not anymore saving variables! The changes from Thomas are significant so it is difficult to follow the intent of all the changes. Another concern is the selection of columns and rows in tables, and the mechanism of FILL and SETVARSs that use variables.
Laurent.
The text was updated successfully, but these errors were encountered: