Opening a 2.3.2 score with problematic cross-staff notes causes a crash

• Dec 7, 2020 - 15:12
Reported version
3.5
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Open the attached score (created in 2.3.2) in version 3.5.2. A crash occurs.

Attachment Size
Johnson_7.mscz 31.1 KB

Comments

COnfirmed in lates 3.x build. Stack trace:
1 Ms::Element::pagePos element.cpp 455 0x97735d
2 Ms::Element::pageBoundingRect element.h 282 0x10246ac
3 Ms::BspTree::insert bsp.cpp 119 0xbace4c
4 Ms::bspInsert page.cpp 232 0xa1cf10
5 Ms::Rest::scanElements rest.cpp 762 0xa40ce3
6 Ms::Segment::scanElements segment.cpp 1175 0xa5fedf
7 Ms::Measure::scanElements measure.cpp 2606 0xa00363
8 Ms::Page::scanElements page.cpp 219 0xa1ce9d
9 Ms::Page::doRebuildBspTree page.cpp 266 0xa1d173
10 Ms::Page::items page.cpp 59 0xa1c34c
11 Ms::ScoreView::paint scoreview.cpp 1350 0x631989
12 Ms::ScoreView::paintEvent scoreview.cpp 1107 0x63032c
13 QWidget::event(QEvent *) 0x2cc35e38
14 Ms::ScoreView::event events.cpp 106 0x666cd0
15 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2cbf7bec
16 QApplication::notify(QObject *, QEvent *) 0x2cbfeb9e
17 QCoreApplication::sendSpontaneousEvent(QObject *, QEvent *) 0x68a694d8
18 QWidgetPrivate::sendPaintEvent(QRegion const&) 0x2cc2e3d8
19 QWidgetPrivate::drawWidget(QPaintDevice *, QRegion const&, QPoint const&, int, QPainter *, QWidgetBackingStore *) 0x2cc2e7b4
20 QWidgetPrivate::repaint_sys(QRegion const&) 0x2cc061f9
...