Add a time signature when no time signature causes crash

• Mar 20, 2015 - 08:21
S2 - Critical

Nightly 6a80e2e/ Windows 8.1

1) Open this file (from a SATB template): test file.mscz
2) Select the measures 3 and 4 on all the four staves. Like this:
3) File -> Save selection -> Name this new file -> Save
4) Open the new file

Result: as expected, but I notice the absence of the 4/4 time signature. My wish is to add the same. So:

5) Drag and drop a 4/4 time sig
Result: crash
crash time sig.jpg

Additionnal notes:

- It works if you add an other time signature, 2/4, 3/4, 6/8 and so on. Only the "original" time signature is (seems) involved.

- Works fine with the 2.0 RC.


May be related: (new and otherwise empty) score in 6/8, select and delete timesig, drag 4/4 to 1st measure -> crash

Stack trace:

0 Ms::TimeSig::stretch timesig.h 99 0xb7d4d0
1 Ms::Score::cmdAddTimeSig edit.cpp 687 0x766505
2 Ms::Measure::drop measure.cpp 1391 0x77b3d8
3 Ms::ScoreView::dropEvent dragdrop.cpp 590 0x586e15
4 ZN7QWidget5eventEP6QEvent ...\MuseScore\win32install\bin\Qt5Widgets.dll 0x61e0bbc2
5 ?? 0x28c45c
6 ?? 0x8ec8300

Title Add a time signature in a new selected file causes a crash Add a time signature when no time signature causes crash