crash in OS: Fedora 27 (Workstation Edition), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: github-musescore-musescore-82e81eb

• Apr 6, 2018 - 16:29

If I try to playback the attached score, mscore crashes:

Cannot write socket fd = 17 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = mscore notification = 10 val1 = 8 val2 = 0
Cannot write socket fd = 17 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = mscore notification = 10 val1 = 5 val2 = 0
Cannot write socket fd = 17 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = mscore notification = 10 val1 = 6 val2 = 0
Cannot write socket fd = 17 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = mscore notification = 10 val1 = 7 val2 = 0
Unknown error...
terminate called after throwing an instance of 'Jack::JackTemporaryException'
what():

Even if trying to playback with ALSA or PulseAudio, mscore crashes.

Attachment Size
6. Satz-Air.mscz 37.46 KB

Comments

Confirmed, Windows 7, not using Jack at all.

stack trace:
1 Ms::MeasureBase::nextMeasure measurebase.cpp 200 0x7f378e
2 Ms::RepeatList::preProcessVoltas repeatlist.cpp 371 0x82b934
3 Ms::RepeatList::unwind repeatlist.cpp 311 0x82b6d7
4 Ms::Score::updateRepeatList rendermidi.cpp 472 0x82341e
5 Ms::Score::renderMidi rendermidi.cpp 1759 0x8283ed
6 Ms::Seq::collectEvents seq.cpp 1006 0x4f5cb4
7 Ms::Seq::canStart seq.cpp 291 0x4f263e
8 Ms::ScoreView::cmd scoreview.cpp 1746 0x41c43e
9 Ms::ScoreView::cmd scoreview.cpp 1684 0x41c033
10 Ms::MuseScore::cmd musescore.cpp 5201 0x4b3862
11 Ms::MuseScore::cmd musescore.cpp 4742 0x4b1227
12 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 738 0x6e2869
13 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68c72fb2
14 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 187 0x6e8e0d
15 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 100 0x6e8ae8
16 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68c72fb2
17 ZN12QActionGroup7hoveredEP7QAction 0x20744d75

Somehow related to voltas and repeatlist, maybe something for @jeetee?

In reply to by Jojo-Schmitz

I'll have a look, playback works in 2.2 though, which uses pretty much identical code for that part (only change is toVolta vs static_cast<>).
Given the stack trace it seems that for some reason the endMeasure of one of the volta's in that score would be invalid (nullptr ?).

To be continued on an actual debug session…

In reply to by jeetee

The actual crash is in searchVolta#404 and it is caused by detecting a volta with an invalid startElement (the volta2 of the last measure). It is present in the mscx, but also not rendered by MS3.

See attached for a "fixed" file in which that volta has been removed. Later investigation is required to figure out if MS3 simply has issues with voltas on last measures?

Attachment Size
271101_6. Satz-Air.mscz 37.26 KB

Do you still have an unanswered question? Please log in first to post your question.