musescore / musescore/MuseScore
Increasing horizontal frame width too much leads to crash
Open
Nobody has claimed this yet.
dev
P3
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Crash or freeze
Description with steps to reproduce
- Open attached score
- Click on the horizontal frame
- Using the Properties panel, increase its width until the program crashes. You can use the mouse scroll wheel to increase faster.
Output:
Assertion failed: __if_assert_failed_185 && "rest > 0", file D:/sources/MuseScore/src/engraving/rendering/score/horizontalspacing.cpp, line 185
Supporting files, videos and screenshots
In which versions of MuseScore Studio is this issue present?
Nightly 4.7 local Debug build, commit 36c874dd7c76282542c31476da63b83465a4d2cb
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
Windows 11
Additional context
Possibly related to the logic of SystemLayout::shouldBeJustified
MuseScore file: crash-hbox.mscz.zip
Checklist
- This report follows the guidelines for reporting bugs and issues
- I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- I have attached all requested files and information to this report
- I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.