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

Crash when trying to open a midi score that musescore 4.1.1 was able to open #21020

Closed
breakmit-0 opened this issue Jan 15, 2024 · 5 comments · Fixed by #21039
Closed

Crash when trying to open a midi score that musescore 4.1.1 was able to open #21020

breakmit-0 opened this issue Jan 15, 2024 · 5 comments · Fixed by #21039
Assignees
Labels
crash Issues involving a crash of MuseScore P1 Priority: High regression Regression on a prior release

Comments

@breakmit-0
Copy link

breakmit-0 commented Jan 15, 2024

Issue type

Crash or freeze

Bug description

A midi file i downloaded causes musescore 4 to crash when trying to open it.

Regular midi editors are able to open it.

Musescore 3 is able to open it and save it to mscz format.

The file saved by musescore 3 also crashes musescore 4

files.zip

Steps to reproduce

Open crash_with_ms4.mid or crash_with_ms4.zip is MuseScore4

Screenshots/Screen recordings

No response

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.0-233521124, revision: github-musescore-musescore-eb8d33c

Regression

Yes, this used to work in MuseScore 4.1.1

Operating system

Windows 11

Additional context

build number : 233521124

musescore 3 version that worked : OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (32-bit): 3.6.2.548021803, revision: github-musescore-musescore-3224f34

logs when trying to open the midi file:

2024-01-15T14:05:35.870 | WARN  | main_thread     | Qt              | QQmlComponent: Created graphical object was not placed in the graphics scene.
2024-01-15T14:05:36.856 | INFO  | main_thread     | ActionsDispatcher::dispatch | try call action: file-open
2024-01-15T14:05:36.856 | INFO  | main_thread     | ProjectActionsController::openProject | Try open project: url = "" , displayNameOverride = "" 

when trying to open the musescore 3 file

2024-01-15T14:04:12.676 | WARN  | main_thread     | Qt              | QQmlComponent: Created graphical object was not placed in the graphics scene.
2024-01-15T14:04:13.341 | INFO  | main_thread     | ActionsDispatcher::dispatch | try call action: file-open
2024-01-15T14:04:13.341 | INFO  | main_thread     | ProjectActionsController::openProject | Try open project: url = "" , displayNameOverride = "" 
2024-01-15T14:04:36.883 | INFO  | main_thread     | ProjectMigrator::migrateEngravingProjectIfNeed | success migration

full logs in attachment

@muse-bot muse-bot added crash Issues involving a crash of MuseScore regression_ms3 Regression from MS3 (3.6.2) labels Jan 15, 2024
@Jojo-Schmitz
Copy link
Contributor

My 3.7 crashes on these too

@Jojo-Schmitz
Copy link
Contributor

It crashes in code added by #19402

@DmitryArefiev
Copy link
Contributor

DmitryArefiev commented Jan 16, 2024

It crashes in code added by #19402

Yes, it crashes in 4.2 and doesn't occur in 4.1.1 (checked on Win10)

@DmitryArefiev DmitryArefiev added regression Regression on a prior release P1 Priority: High and removed regression_ms3 Regression from MS3 (3.6.2) labels Jan 16, 2024
@DmitryArefiev DmitryArefiev changed the title Crash when trying to open a midi score that musescore 3 was able to open Crash when trying to open a midi score that musescore 4.1.1 was able to open Jan 16, 2024
@DmitryArefiev
Copy link
Contributor

Fixed in #21039

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 P1 Priority: High regression Regression on a prior release
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants