musescore / musescore/MuseScore

Crash when calling FileIO/FileDialog in plugin

Open
#34,409 1 comment 0 reactions 1 assignee View on GitHub

@igorkorsukov is already working on this.

Since Jul 31, 2026.

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

Description

Issue type

Crash or freeze

Description with steps to reproduce
  1. Install and activate Orchestrator plugin.
  2. Open the plugin and press the folder button to Open / Save presets.
  3. MuseScore crashes.
Supporting files, videos and screenshots

See attached log and dump. From Claude's assessment:

This is very likely a genuine bug in MuseScore Studio 4.7.4's own native FileDialog/PluginAPI implementation on Windows, not something you can fully fix by rewriting QML alone. That tracks with everything I found earlier: MuseScore's own 4.x migration notes flag the legacy filePath property as broken post-MS3, and there's a recurring history of FileDialog-related crashes across MS4 releases and platforms.

84949502-da68-4702-a0a2-f263d2104bd6.dmp
MuseScore_260729_232909.log

In which versions of MuseScore Studio is this issue present?

4.7.4

Regression

I was unable to check

Operating system

Windows 11

Additional context

The plugin's file dialog works in MacOS.

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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.