MuseScore
MuseScore copied to clipboard
Freeze on opening score saved in Musescore 4.2
Issue type
Crash or freeze
Description with steps to reproduce
- Open attached score InfernoPortrait.mscz.zip (remove .zip before open)
- Musescore freezes
In which versions of MuseScore Studio is this issue present?
Musescore 4.4.0 - 4.7.0 master
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
windows 10
Additional context
This issue is based on a report from https://musescore.org/en/node/387724
Checklist
- [x] This report follows the guidelines for reporting bugs and issues
- [x] I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- [x] I have attached all requested files and information to this report
- [x] I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
The first while loop in AlignmentLayout::scanConnectedItems is endless: snappedBefore alternates between 3 values.