Crash adding a note to part

• Sep 28, 2016 - 11:43
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

MuseScore 34f1cfc792

  1. My first score, File > Parts > New all
  2. Switch to the part, and press M
  3. Press N and click on the 6th measure before the last one.

-> Crash. Segment "ps" is NULL in createEndBarLines measure.cpp:2521


#0 0x000000010008ae4c in Ms::Segment::segmentType() const at /MuseScore/libmscore/segment.h:174
#1 0x0000000100c1686d in Ms::Segment::minHorizontalDistance(Ms::Segment*, bool) const at /MuseScore/libmscore/segment.cpp:1369
#2 0x0000000100b06d77 in Ms::Measure::createEndBarLines(bool) at /MuseScore/libmscore/measure.cpp:2521
#3 0x0000000100acfcec in Ms::Score::collectSystem(Ms::LayoutContext&) at /MuseScore/libmscore/layout.cpp:3188
#4 0x0000000100ad652b in Ms::Score::collectPage(Ms::LayoutContext&) at /MuseScore/libmscore/layout.cpp:3709
#5 0x0000000100ad8f04 in Ms::Score::doLayoutRange(int, int) at /MuseScore/libmscore/layout.cpp:3949
#6 0x0000000100a043dd in Ms::Score::update() at /MuseScore/libmscore/cmd.cpp:203
#7 0x0000000100be8302 in Ms::Score::select(Ms::Element*, Ms::SelectType, int) at /MuseScore/libmscore/score.cpp:2661
#8 0x0000000100a07a70 in Ms::Score::setNoteRest(Ms::Segment*, int, Ms::NoteVal, Ms::Fraction, Ms::Direction) at /Users/lasconic/MuseScore/libmscore/cmd.cpp:676
#9 0x0000000100a29a23 in Ms::Score::putNote(Ms::Position const&, bool, bool) at /MuseScore/libmscore/edit.cpp:1345
#10 0x0000000100a2af1a in Ms::Score::putNote(QPointF const&, bool, bool) at /MuseScore/libmscore/edit.cpp:1246


Comments