Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MU4 Issue] Crash when trying to create a new score based on a custom template with instruments changes #15313

Closed
metasekk opened this issue Dec 18, 2022 · 3 comments · Fixed by #20102
Assignees
Labels
crash Issues involving a crash of MuseScore P2 Priority: Medium

Comments

@metasekk
Copy link

metasekk commented Dec 18, 2022

Describe the bug
MuseScore4 crashes when trying to create a new score based on a custom template containing at least one instrument change in it.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new score
  2. Set at least one mid-staff instrument change (with the Change Instrument text) on an arbitrary staff
  3. Save the score in the Template directory of your Musescore4 working directory.
  4. Try to create a new score based on it.
  5. See Musescore4 crash.

Expected behavior
The new score should be created without a crash, regardless of the content of the template.

Screenshots
I provide a video of the crash.

Platform information

  • OS: Windows 10 Version 22H2, 64 bits, x64-based processor
  • Tested on: MuseScore Release version (64-bit): 4.0.0-223472200 with MuseSampler v.0.3.2

Additional context
It does not appear to be a critical issue, but it seems worth knowing about.

@oktophonie oktophonie added the crash Issues involving a crash of MuseScore label Feb 23, 2023
@oktophonie oktophonie added this to To triage in MuseScore 4.1 via automation Feb 23, 2023
@oktophonie oktophonie added the P2 Priority: Medium label Feb 23, 2023
@bkunda
Copy link

bkunda commented May 5, 2023

Still reproducible in latest master.
Leaving as P2 for now as the triggers are not sufficiently frequent to affect most regular use cases.

@Jojo-Schmitz
Copy link
Contributor

FWIW: Mu3 doesn't crash on this, but looses the instrument change

@mathesoncalum
Copy link
Contributor

The repro steps for this one seem to have evolved slightly in the current master; the score can be created just fine but interacting with it (e.g. adding some notes) causes a crash.

I'm fairly certain the root cause is the same though, #20102 should rectify.

RomanPudashkin added a commit that referenced this issue Nov 21, 2023
…e_crash

Fix #15313: Crash from template with instrument change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Issues involving a crash of MuseScore P2 Priority: Medium
Projects
Status: Done
MuseScore 4.1
  
To triage
Development

Successfully merging a pull request may close this issue.

6 participants