segfault on load attached .mscz (which was imported online from pdf)

• May 27, 2017 - 19:40
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project

I haven't looked into this, just filing report now while I have generated segfault stack trace in latest master 3d280f2:

1 raise 0x7fffeb131a10
2 abort 0x7fffeb13313a
3 QMessageLogger::fatal(const char *, ...) const 0x7fffebad4e21
4 qt_assert(const char *, const char *, int) 0x7fffebad03de
5 Ms::toChord scoreElement.h 466 0x12479c6
6 Ms::ChordRest::layoutArticulations chordrest.cpp 545 0x124b160
7 Ms::Rest::layout rest.cpp 394 0x133f63e
8 Ms::Score::layoutChords1 layout.cpp 514 0x12cb914
9 Ms::Score::getNextMeasure layout.cpp 2393 0x12d51db
10 Ms::Score::collectSystem layout.cpp 2855 0x12d7f1c
11 Ms::LayoutContext::collectPage layout.cpp 3256 0x12db063
12 Ms::LayoutContext::layout layout.cpp 3543 0x12dceb1
13 Ms::Score::doLayoutRange layout.cpp 3530 0x12dcd7c
14 Ms::Score::update cmd.cpp 222 0x14215ce
15 Ms::readScore file.cpp 2191 0xe75ec8
16 Ms::MuseScore::readScore file.cpp 329 0xe648dd
17 Ms::MuseScore::dropEvent musescore.cpp 1958 0xc3f224
18 QWidget::event(QEvent *) 0x7ffff3a5bcd8
19 QMainWindow::event(QEvent *) 0x7ffff3b5ad1b
20 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x7ffff3a1434c
...

Note: the original I made in musescore a few years ago, so I'm also attaching the pdf I used for online import:
Game_of_Thrones_leadsheet_w_chords.pdf

Attachment Size
Game_of_Thrones_leadsheet_w_chords.mscz 13.38 KB

Comments

FYI, when I import that .mscz into 2.1, I get complaints about corruption:

Measure 14, staff 1, voice 2 too long. Expected: 6/8; Found: 1/1
Measure 16, staff 1, voice 2 too long. Expected: 6/8; Found: 1/1
Measure 22, staff 1, voice 2 too long. Expected: 6/8; Found: 1/1

And I'm able to continue the import. Although the score is mostly incorrect (most primary issue being that the original was 12/8, and result is 6/8)...that is probably an error with the Audiveris pdf import code and not musescore. Regardless, the segfault is still present in master and needs to be resolved (musescore probably needs to popup an error about corruption).