musescore / musescore/MuseScore

Inconsistent crash when deleting multiple layered "staff type change" elements in the same position

Open
#23,272 4 comments 0 reactions 3 assignees View on GitHub

@zacjansheski is already working on this.

Since Jun 17, 2024.

crash P1
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Crash or freeze

Bug description

Muse Score Studio crashes on the following method:

** Update, step one unnecessary to crash program
1 Shorten any measure
2 Add on the next measure two Staff Type Changes (Done by error so two layered on top of each other)
3 Delete both Staff Type Changes.
4 Muse Score Studio crashes with no errors, just closes the app.

System Information:
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.2-241630831, revision: 22b46f2

Steps to reproduce

1 Shorten any measure
2 Add on the next measure two Staff Type Changes so it's layered on top of each other.
3 Delete both Staff Type Changes.
4 Muse Score Studio crashes with no errors, just closes the app.

Screenshots/Screen recordings

https://github.com/musescore/MuseScore/assets/15065835/c78b3065-034a-4a2d-9f76-514ae26a66d9

MuseScore Version

MuseScore Studio version (64-bit): 4.3.2-241630831, revision: [22b46f2]

Regression

No

Operating system

Windows 11

Additional context

It seems that it's not happening on all machines. The one in question is a laptop with two build-in graphics cards, that might be the problem.

Lenovo DxDiag.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.