Removing note line 3 of organ crashes MS3

• Dec 26, 2018 - 10:45
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

Open attached, select instruments, remove note line 3 of organ,
MuseScores crashes ( or sometimes does nothing)

Attachment Size
Gott_sei_mit_dir_(Segenslied).mscz 17.04 KB

Comments

Frequency Once Few
Priority P0 - Critical

I could reproduce:
1. Range select Measures 1-3 of the 3rd staff
2. Cmd+Delete (Ctrl+Delete)
Results: crash (if not, undo).

Research: most probably the crash happens because of removing the page where the system was placed. Similar crash was observed today on @danieljray's machine during removing stuff from the pages.

Crash log:
0 org.musescore.MuseScore 0x000000010e72d190 Ms::Element::pagePos() const + 16
1 org.musescore.MuseScore 0x000000010e7b443e Ms::LyricsLineSegment::layout() + 1582
2 org.musescore.MuseScore 0x000000010e7b3d77 Ms::LyricsLine::layoutSystem(Ms::System) + 887
3 org.musescore.MuseScore 0x000000010e79aaa6 Ms::Score::layoutSystemElements(Ms::System
, Ms::LayoutContext&) + 5670
4 org.musescore.MuseScore 0x000000010e799369 Ms::Score::collectSystem(Ms::LayoutContext&) + 4153
5 org.musescore.MuseScore 0x000000010e79bc7b Ms::LayoutContext::collectPage() + 667
6 org.musescore.MuseScore 0x000000010e79e730 Ms::LayoutContext::layout() + 48
7 org.musescore.MuseScore 0x000000010e79e280 Ms::Score::doLayoutRange(int, int) + 3008
8 org.musescore.MuseScore 0x000000010e6ea0d1 Ms::Score::update() + 385
9 org.musescore.MuseScore 0x000000010e6e9f29 Ms::Score::undoRedo(bool, Ms::EditData) + 105
10 org.musescore.MuseScore 0x000000010e56c0d8 Ms::ScoreView::startUndoRedo(bool) + 40
11 org.musescore.MuseScore 0x000000010e43a52b Ms::MuseScore::undoRedo(bool) + 43
12 org.musescore.MuseScore 0x000000010e44035f Ms::MuseScore::cmd(QAction
, QString const&) + 3983
13 org.musescore.MuseScore 0x000000010e43f06d Ms::MuseScore::cmd(QAction) + 1757
14 org.qt-project.QtCore 0x0000000117bd210c QMetaObject::activate(QObject
, int, int, void**) + 3132

Status PR created fixed

Fixed in branch master, commit 5c33610fcc

fix #280668: correct unmanaged spanners handling on time delete

Also don't manually clear systems list from instrument dialog, this
produces crashes too.

Fix version
3.0.1