Skip to content

Instantly share code, notes, and snippets.

@jthistle
Created May 27, 2019 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jthistle/b2fd4267508a9884ebcb86fb5c7b58fe to your computer and use it in GitHub Desktop.
Save jthistle/b2fd4267508a9884ebcb86fb5c7b58fe to your computer and use it in GitHub Desktop.
Thread 1 "mscore" hit Breakpoint 4, Ms::Segment::remove (this=0x5555595a3040, el=0x7fff7012c8a0) at /usr/MuseScore/libmscore/segment.cpp:618
618 int track = el->track();
(gdb) backtrace
#0 0x000055555688326b in Ms::Segment::remove(Ms::Element*) (this=0x5555595a3040, el=0x7fff7012c8a0) at /usr/MuseScore/libmscore/segment.cpp:618
#1 0x000055555686703f in Ms::Score::removeElement(Ms::Element*) (this=0x555559a0ca90, element=0x7fff7012c8a0)
at /usr/MuseScore/libmscore/score.cpp:1551
#2 0x000055555695c249 in Ms::RemoveElement::redo(Ms::EditData*) (this=0x555559f03fd0) at /usr/MuseScore/libmscore/undo.cpp:759
#3 0x000055555695988a in Ms::UndoStack::push(Ms::UndoCommand*, Ms::EditData*) (this=0x555559a19370, cmd=0x555559f03fd0, ed=0x0)
at /usr/MuseScore/libmscore/undo.cpp:244
#4 0x0000555556870b17 in Ms::Score::undo(Ms::UndoCommand*, Ms::EditData*) const (this=0x555559a0ca90, cmd=0x555559f03fd0, ed=0x0)
at /usr/MuseScore/libmscore/score.cpp:3570
#5 0x00005555567498e3 in Ms::Score::undoRemoveElement(Ms::Element*) (this=0x555559a0ca90, element=0x7fff7012c8a0)
at /usr/MuseScore/libmscore/edit.cpp:4765
#6 0x0000555556739b87 in Ms::Score::deleteAnnotationsFromRange(Ms::Segment*, Ms::Segment*, int, int, Ms::SelectionFilter const&) (this=0x555559a0ca90, s1=0x5555597c6ff0, s2=0x0, track1=0, track2=1, filter=...) at /usr/MuseScore/libmscore/edit.cpp:2112
#7 0x000055555696f689 in Ms::Score::makeGap1(Ms::Fraction const&, int, Ms::Fraction const&, int*) (this=0x555559a0ca90, baseTick=..., staffIdx=0, len=..., voiceOffset=0x7fffffffac30) at /usr/MuseScore/libmscore/cmd.cpp:950
#8 0x00005555569d71ec in Ms::Score::pasteStaff(Ms::XmlReader&, Ms::Segment*, int, Ms::Fraction) (this=0x555559a0ca90, e=..., dst=0x5555597c6ff0, dstStaff=0, scale=...) at /usr/MuseScore/libmscore/paste.cpp:161
#9 0x00005555569dd7f2 in Ms::Score::cmdPaste(QMimeData const*, Ms::MuseScoreView*, Ms::Fraction) (this=0x555559a0ca90, ms=0x555559275c60, view=0x5555595f5400, scale=...) at /usr/MuseScore/libmscore/paste.cpp:1032
#10 0x0000555555e78f77 in Ms::ScoreView::normalPaste(Ms::Fraction) (this=0x5555595f53d0, scale=...) at /usr/MuseScore/mscore/scoreview.cpp:1729
#11 0x0000555555e79488 in Ms::ScoreView::cmd(char const*) (this=0x5555595f53d0, s=0x555557f201e8 "paste")
at /usr/MuseScore/mscore/scoreview.cpp:1805
#12 0x0000555555e7918c in Ms::ScoreView::cmd(QAction const*) (this=0x5555595f53d0, a=0x5555584cd3d0) at /usr/MuseScore/mscore/scoreview.cpp:1770
#13 0x000055555606aa74 in Ms::MuseScore::cmd(QAction*, QString const&) (this=0x5555591a5470, a=0x5555584cd3d0, cmd=...)
at /usr/MuseScore/mscore/musescore.cpp:6286
#14 0x00005555560677a9 in Ms::MuseScore::cmd(QAction*) (this=0x5555591a5470, a=0x5555584cd3d0) at /usr/MuseScore/mscore/musescore.cpp:5757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment