SegFault when undo after deleting initial 4/4 time signature if had set first measure Actual Duration to 2/4 and had chord symbols with timeline open
Steps to reproduce:
(0. View->Timeline needs to be open)
1. open attached score.
2. Right-click first measure and change "Actual" "Measure Duration" from 4/4 to 2/4 and hit OK.
3. click the 4/4 time signature and delete it.
4. undo (by pressing Ctrl-Z)
At this point MuseScore will hang and observe a SegFault with the following console output:
/build/musescore/src/MuseScore/libmscore/utils.cpp:Ms::Score::tick2measure: tick2measure 40320 (max 37440) not found Segmentation fault (core dumped)
note that the presence of the chord symbols is necessary for this crash. If I remove the chord symbols prior to attempting the reproduction steps, then there won't be any crash.
I'm on MuseScore3 3.6.2 arch linux community repo build.