Time signature: changing Common time to Cut time in parts shuts down the program
Reported version
3.5
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
Version 3.5 / Windows10
1) New score for 2 instruments, eg 2 flutes, and with common time signature, C symbol
2) Create parts
Test file at this step: 2 flutes test.mscz
3) Toggle in one part (no matter which, and no matter if MM rests are enabled or not)
4) Select Common time -> Click in palette on Cut time symbol (C with a vertical line through it)
Result: the program dies
Fix version
3.5.1
Comments
Confirmed
Not the case in 3.4.1, but already in 3.4RC
Stack trace:
1 Ms::ScoreElement::undoChangeProperty scoreElement.cpp 288 0xb33c37
2 Ms::Score::cmdAddTimeSig edit.cpp 808 0x907518
3 Ms::TimeSig::drop timesig.cpp 93 0xa8d7f3
4 Ms::applyDrop palette.cpp 470 0x66af43
5 Ms::Palette::applyPaletteElement palette.cpp 580 0x66b964
6 Ms::UserPaletteController::applyPaletteElement paletteworkspace.cpp 579 0x4fbd53
7 Ms::AbstractPaletteController::qt_static_metacall moc_paletteworkspace.cpp 286 0x5a57dd
8 Ms::AbstractPaletteController::qt_metacall moc_paletteworkspace.cpp 338 0x5a59ca
9 Ms::UserPaletteController::qt_metacall moc_paletteworkspace.cpp 431 0x5a5b5b
10 QQmlMetaObject::propertyCache(QQmlEnginePrivate *) const 0x66238d6b
11 QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const *, QV4::ExecutionEngine *, QV4::Lookup *) 0x661a5217
12 QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const *, QV4::ExecutionEngine *, QV4::Lookup *) 0x661a694d
13 QV4::QObjectMethod::callInternal(QV4::Value const *, QV4::Value const *, int) const 0x661a755b
14 qt_v4TriggeredBreakpointHook 0x661b748f
15 qt_v4DebuggerHook 0x661ba806
16 QV4::Function::call(QV4::Value const *, QV4::Value const *, int, QV4::ExecutionContext const *) 0x6615fc32
17 QQmlJavaScriptExpression::evaluate(QV4::CallData *, bool *) 0x66253ebc
18 QQmlBoundSignalExpression::evaluate(void * *) 0x66214fad
19 QQmlBoundSignalExpression::QQmlBoundSignalExpression(QObject *, int, QQmlContextData *, QObject *, QString const&, QString const&, unsigned short, unsigned short, QString const&, QString const&) 0x6621631c
20 QQmlNotifier::emitNotify(QQmlNotifierEndpoint *, void * *) 0x6623e532
...
Apparently
TimeSig nsig = toTimeSig(seg->element(si VOICES));
gives0
see https://github.com/musescore/MuseScore/pull/6436
Fixed in branch 3.x, commit add42f4dd0
fix #308947: changing Common time to Cut time in parts shuts down the program
Fixed in branch 3.x, commit 73635505ee
_Merge pull request #6436 from Jojo-Schmitz/time-sig-crash
fix #308947: changing Common time to Cut time in parts shuts down the program_
Automatically closed -- issue fixed for 2 weeks with no activity.