[TAB] Crash when pressing numbers/letters in a different voice
Reported version
3.4
Priority
P1 - High
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.4.0.9337, revision: 684f74e
1) "Tablature for Guitar" Template (here, a few measures: tab test.mscz )
2) Press "N"
3) Type 1 (or A)
4) Change voice, eg voice 2 (Ctrl + Alt + 2) or with button in toolbar
5) Type again 1 (or A)
------- > Crash
Fix version
3.4.2
Comments
As far as I can see, the problem is an adverse effect of this commit (December 24): 02f6aae
To fix: #298362: Pressing number after mouse click works for a different line in "Italian" styled tablature staff
Relates to #270551: [EPIC] Tablature issues
Came up again in #300242: Crash on entry of certain lute tablature bass notes
Along with a sample score and a stack trace
The changed line from 02f6aae is the exact place of the crash as seen in the stack trace from #300242: Crash on entry of certain lute tablature bass notes
See https://github.com/musescore/MuseScore/pull/5651.
Fixed in branch master, commit 4732e794c1
_fix #299369: crash when pressing numbers/letters in a different voice
Use
staff(pos.staffIdx)->staffType(is.tick())
to make surenullptr
won't emerge._Fixed in branch master, commit 2000c85509
_Merge pull request #5651 from Howard-C/tab-voice-2-crash
[Regression] fix #299369: crash when pressing numbers/letters in a different voice_
Automatically closed -- issue fixed for 2 weeks with no activity.