/home/antonio/MuseScore/libmscore/cmd.cpp:Ms::Score::startCmd: ===startCmd() /home/antonio/MuseScore/libmscore/cmd.cpp:Ms::Score::expandVoice: expand voice: found Rest 4/4 /home/antonio/MuseScore/libmscore/edit.cpp:Ms::Score::addClone: Rest at 480 1/4 /home/antonio/MuseScore/libmscore/edit.cpp:Ms::Score::addClone: Rest at 960 1/2 /home/antonio/MuseScore/libmscore/score.cpp:Ms::Score::select: select element type 0(state 1) staff 0 /home/antonio/MuseScore/libmscore/layout.cpp:3629:37: runtime error: member call on null pointer of type 'struct System' /home/antonio/MuseScore/libmscore/layout.cpp:3629:37: runtime error: member access within null pointer of type 'struct System' ASAN:SIGSEGV ================================================================= ==7678==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000030e4f5e bp 0x7ffe909f3fe0 sp 0x7ffe909f3dc0 T0) #0 0x30e4f5d in Ms::Score::doLayoutRange(int, int) /home/antonio/MuseScore/libmscore/layout.cpp:3629 #1 0x38365a0 in Ms::Score::update() /home/antonio/MuseScore/libmscore/cmd.cpp:203 #2 0x3834dc7 in Ms::Score::endCmd(bool) /home/antonio/MuseScore/libmscore/cmd.cpp:173 #3 0x2e9a75f in Ms::Score::cmdAddPitch(int, bool) /home/antonio/MuseScore/libmscore/edit.cpp:910 #4 0xc7e881 in Ms::ScoreView::cmdAddPitch(int, bool) /home/antonio/MuseScore/mscore/scoreview.cpp:5379 #5 0xbfdebb in Ms::ScoreView::cmd(QAction const*) /home/antonio/MuseScore/mscore/scoreview.cpp:2813 #6 0x130de63 in Ms::MuseScore::cmd(QAction*, QString const&) /home/antonio/MuseScore/mscore/musescore.cpp:4716 #7 0x12f604e in Ms::MuseScore::cmd(QAction*) /home/antonio/MuseScore/mscore/musescore.cpp:4288 #8 0x272e93e in Ms::MuseScore::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/antonio/MuseScore/build.debug/mscore/moc_musescore.cpp:825 #9 0x7f9fc9c22cee in QMetaObject::activate(QObject*, int, int, void**) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x294cee) #10 0x275f290 in Ms::ScoreTab::actionTriggered(QAction*) /home/antonio/MuseScore/build.debug/mscore/moc_scoretab.cpp:182 #11 0x275e061 in Ms::ScoreTab::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/antonio/MuseScore/build.debug/mscore/moc_scoretab.cpp:95 #12 0x7f9fc9c22cee in QMetaObject::activate(QObject*, int, int, void**) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x294cee) #13 0x7f9fd027148e in QActionGroup::triggered(QAction*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x15048e) #14 0x7f9fd0271f38 (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x150f38) #15 0x7f9fc9c22cee in QMetaObject::activate(QObject*, int, int, void**) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x294cee) #16 0x7f9fd026d951 in QAction::triggered(bool) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x14c951) #17 0x7f9fd02704ac in QAction::activate(QAction::ActionEvent) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x14f4ac) #18 0x7f9fd0270e26 in QAction::event(QEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x14fe26) #19 0x7f9fd027704b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x15604b) #20 0x7f9fd027b487 in QApplication::notify(QObject*, QEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5+0x15a487) #21 0x7f9fc9bf9e7f in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x26be7f) #22 0x7f9fcab1e789 in QShortcutMap::dispatchEvent(QKeyEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Gui.so.5+0x125789) #23 0x7f9fcab1e873 in QShortcutMap::tryShortcut(QKeyEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Gui.so.5+0x125873) #24 0x7f9fcaadaa65 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Gui.so.5+0xe1a65) #25 0x7f9fcaaef773 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Gui.so.5+0xf6773) #26 0x7f9fcaaf4464 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Gui.so.5+0xfb464) #27 0x7f9fcaad56a2 in QWindowSystemInterface::sendWindowSystemEvents(QFlags) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Gui.so.5+0xdc6a2) #28 0x7f9fbb32571f (/home/antonio/Qt/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5+0xad71f) #29 0x7f9fc5eb5e03 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x48e03) #30 0x7f9fc5eb6047 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x49047) #31 0x7f9fc5eb60eb in g_main_context_iteration (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x490eb) #32 0x7f9fc9c494e6 in QEventDispatcherGlib::processEvents(QFlags) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x2bb4e6) #33 0x7f9fc9bf7ef9 in QEventLoop::exec(QFlags) (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x269ef9) #34 0x7f9fc9bffd9c in QCoreApplication::exec() (/home/antonio/Qt/5.6/gcc_64/lib/libQt5Core.so.5+0x271d9c) #35 0x13288c2 in main /home/antonio/MuseScore/mscore/musescore.cpp:5562 #36 0x7f9fc83abf44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21f44) #37 0xb9a1c3 (/usr/local/bin/mscore+0xb9a1c3) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/antonio/MuseScore/libmscore/layout.cpp:3629 Ms::Score::doLayoutRange(int, int) ==7678==ABORTING