Removing a staff from the score in the instrument menu (Key-i) crashes

• Dec 6, 2018 - 09:58
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

removing instruments causes Musescore 3 beta to crash.
This is the version:
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4133, revision: 0526317


Comments

Frequency Many Once
Status active needs info

I cannot reproduce from scratch here with the last revision: OS: Windows 7 SP 1 (6.1), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4253, revision: 082e635

So, for checking, please attach the actual score where you observe this.

Status needs info active

Confirmed.
Debug output:
Debug: staffIdx out of bounds: LyricsLineSegment (...\MuseScore\libmscore\element.cpp:352, virtual QPointF Ms::Element::pagePos() const)
Fatal: staffY: staves 3: bad staffIdx 4 (...\MuseScore\libmscore\system.cpp:964, qreal Ms::System::staffYpage(int) const)