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

MuseScore Studio crashes upon inserting Text Frame after cross-stave notes with slur #23294

Open
basaigh opened this issue Jun 18, 2024 · 4 comments
Assignees
Labels
crash Issues involving a crash of MuseScore P0 Priority: Critical regression Regression on a prior release

Comments

@basaigh
Copy link

basaigh commented Jun 18, 2024

Issue type

Crash or freeze

Bug description

This only appears to happen in large scores, if there are other criteria I haven't been able to find them.

Steps to reproduce

UPDATE see @zacjansheski 's comment for minimal reproduction steps

  1. Open a score with cross-stave notes with a slur
  2. Add a text frame after cross-stave notes with a slur
  3. Observe MuseScore Studio crash

Screenshots/Screen recordings

Recording.2024-06-18.223936.mp4

MuseScore Version

OS: Windows 11 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.4.0-241700506, revision: github-musescore-musescore-d60cca9

Regression

Yes, this used to work in a previous version of MuseScore 4.x
Works in 4.3.2, crashes in 4.4

Operating system

Windows 11

Additional context

Music from FROZEN.zip

@muse-bot muse-bot added crash Issues involving a crash of MuseScore regression Regression on a prior release labels Jun 18, 2024
@zacjansheski zacjansheski added the P0 Priority: Critical label Jun 20, 2024
@zacjansheski

This comment was marked as resolved.

@zacjansheski

This comment was marked as resolved.

@zacjansheski
Copy link
Contributor

It has to do with the harp part, no crash after deleting

The minimal way to reproduce the crash is to add a text frame after two cross-stave notes with a slur

  1. Open "Grand Staff" template
  2. Write two cross-stave notes with a slur
  3. Add a text frame after the notes
  4. Crash
video1020198130.mp4

@zacjansheski zacjansheski changed the title MuseScore Studio crashes upon inserting Text Frame MuseScore Studio crashes upon inserting Text Frame after cross-stave notes with slur Jun 20, 2024
@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Jun 20, 2024

I can't reproduce with that, in latest code from master.

Edit: sorry, I can, forgot the slur (reading helps ;-))

And I believe to have found the (or one) culprit, a nullptr deferefences in MeasureBase::top()

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 P0 Priority: Critical regression Regression on a prior release
Projects
Status: Issues to fix
Development

No branches or pull requests

6 participants