Skip to content

musescore: crash on startup #526825

Description

@hatch01

Nixpkgs version

  • Unstable (26.11)

Describe the bug

When I try to run MuseScore, it simply crash.

Steps to reproduce

Start musescore.
(I use KDE Plasma as my DE)

Expected behaviour

Musescore start.

Screenshots

No response

Relevant log output

musescore
20:38:57.767 | INFO  | main_thread     | GlobalModule::onPreInit | log path: /home/eymeric/.local/share/MuseScore/MuseScore4/logs/MuseScore_260601_203857.log
20:38:57.767 | INFO  | main_thread     | GlobalModule::onPreInit | === Started MuseScore Studio 4.7.0, build: 1 ===
20:38:57.776 | INFO  | main_thread     | LanguagesService::effectiveLanguageCode | System languages: QVariant(QStringList, QList("fr-Latn-FR", "fr-FR", "fr-Latn", "fr")) 
20:38:57.776 | INFO  | main_thread     | MultiProcessProvider::init | our instance id is: 5bb001ff0e24475aa3bd65dcce8703f5
20:38:57.776 | INFO  | main_thread     | IpcChannel::setupConnection | starting ipc server
20:38:57.777 | INFO  | 129458863351488 | IpcServer::listen | ipc server: client with id "5bb001ff0e24475aa3bd65dcce8703f5"  has connected
20:38:57.777 | INFO  | main_thread     | IpcSocket::connect | success connected to ipc server
20:38:57.789 | WARN  | main_thread     | DiagnosticsModule::onInit | crash handling disabled
20:38:57.789 | INFO  | 129458851272384 | StartAudioController::th_setupEngine | begin engine run
20:38:57.789 | INFO  | 129458851272384 | StartAudioController::th_setupEngine | audio engine running
20:38:57.805 | INFO  | main_thread     | AlsaAudioDriver::open | Connected to default with bufferSize 1024, sampleRate 44100, channels:  2
20:38:57.805 | INFO  | main_thread     | AudioDriverController::open | Used audio driver: ALSA, opened: success, device: default
20:38:57.805 | INFO  | main_thread     | MuseSamplerResolver::init | MuseSampler library not found: /home/eymeric/.local/share/MuseSampler/lib/libMuseSamplerCoreLib.so
20:38:57.814 | INFO  | main_thread     | AbstractCloudService::readTokens | Could not find the tokens file: /home/eymeric/.local/share/MuseScore/MuseScore4/musescorecom_cred.dat
20:38:57.814 | INFO  | main_thread     | AbstractCloudService::readTokens | Could not find the tokens file: /home/eymeric/.local/share/MuseScore/MuseScore4/audiocom_cred.dat
20:38:58.178 | ERROR | main_thread     | ExtensionsConfiguration::manifestConfigs | failed read config data, err: [406] Une erreur s'est produite lors de la lecture du fichier, file: /home/eymeric/.local/share/MuseScore/MuseScore4/plugins/plugins.json
20:38:58.347 | INFO  | main_thread     | GuiApp::setup   | Using graphics api: "opengl" 
20:38:58.347 | INFO  | main_thread     | GuiApp::setup   | Gui platform: "xcb" 
20:38:58.347 | INFO  | main_thread     | GuiApp::setup   | Detecting problems with graphics api
20:38:58.347 | INFO  | main_thread     | GuiApp::setupNewContext | New context created with id: 0
20:38:58.553 | WARN  | 129458222282432 | Qt              | Member enabled of the object QQuickPinchArea overrides a member of the base object. Consider renaming it or adding final or override specifier
20:38:58.642 | WARN  | 129458222282432 | Qt              | Member implicitWidth of the object QQuickItem_QML_596 overrides a member of the base object. Consider renaming it or adding final or override specifier
20:38:58.900 | ERROR | main_thread     | crashCallback   | Oops! Application crashed with signal: [11] SIGSEGV-Invalid memory reference
QThreadStorage: entry 4 destroyed before end of thread 0x5ba6422e2e60
QThreadStorage: entry 3 destroyed before end of thread 0x5ba6422e2e60
QThreadStorage: entry 2 destroyed before end of thread 0x5ba6422e2e60
QThreadStorage: entry 1 destroyed before end of thread 0x5ba6422e2e60

Additional context

Using the AppImage, I get no problem, so this is unrelated to failure with plugins.json:

appimage-run MuseScore-Studio-4.7.2.260525085-x86_64.appimage 
Uncompress MuseScore-Studio-4.7.2.260525085-x86_64.appimage of type 02 @ offset 944632
[===============================================================================================================================================================-] 9845/9845 100%
MuseScore-Studio-4.7.2.260525085-x86_64.appimage is now installed in /home/eymeric/.cache/appimage-run/9c1c2c2db1a7dc830b1bccf530f392de9bff47022826596b3b2117fc19cd73f5
/nix/store/8ig4nr6gag11m16wy9icgmqssiybwynb-pipewire-1.6.5-jack/lib/libjack.so.0
/lib/libnss3.so
/lib/libOpenGL.so.0
/lib/libpipewire-0.3.so.0
19:55:41.007 | INFO  | main_thread     | GlobalModule::onPreInit | log path: /home/eymeric/.local/share/MuseScore/MuseScore4/logs/MuseScore_260601_195541.log
19:55:41.007 | INFO  | main_thread     | GlobalModule::onPreInit | === Started MuseScore Studio 4.7.2, build: 260525085 ===
19:55:41.016 | INFO  | main_thread     | LanguagesService::effectiveLanguageCode | System languages: QVariant(QStringList, QList("fr-Latn-FR", "fr-FR", "fr-Latn", "fr")) 
19:55:41.016 | ERROR | main_thread     | LanguagesService::setCurrentLanguage | Error loading translator "/home/eymeric/.cache/appimage-run/9c1c2c2db1a7dc830b1bccf530f392de9bff47022826596b3b2117fc19cd73f5/share/mscore4portable-4.7//locale/qt_fr.qm" 
19:55:41.016 | INFO  | main_thread     | MultiProcessProvider::init | our instance id is: 2e7eb237df434adea33c5f87b282f206
19:55:41.017 | INFO  | main_thread     | IpcChannel::setupConnection | starting ipc server
19:55:41.017 | INFO  | 126396391225024 | IpcServer::listen | ipc server: client with id "2e7eb237df434adea33c5f87b282f206"  has connected
19:55:41.017 | INFO  | main_thread     | IpcSocket::connect | success connected to ipc server
19:55:41.021 | WARN  | main_thread     | Qt              | Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.musescore.MuseScore4portable'")
19:55:41.022 | ERROR | main_thread     | CrashHandler::start | crash handler not exists, path: /home/eymeric/.cache/appimage-run/9c1c2c2db1a7dc830b1bccf530f392de9bff47022826596b3b2117fc19cd73f5/bin/crashpad_handler
19:55:41.022 | ERROR | main_thread     | DiagnosticsModule::onInit | failed start crash handler
19:55:41.022 | INFO  | 126396382832320 | StartAudioController::th_setupEngine | begin engine run
19:55:41.023 | INFO  | 126396382832320 | StartAudioController::th_setupEngine | audio engine running
19:55:41.037 | INFO  | main_thread     | AlsaAudioDriver::open | Connected to default with bufferSize 1024, sampleRate 44100, channels:  2
19:55:41.037 | INFO  | main_thread     | AudioDriverController::open | Used audio driver: ALSA, opened: success, device: default
19:55:41.037 | INFO  | main_thread     | MuseSamplerResolver::init | MuseSampler library not found: /home/eymeric/.local/share/MuseSampler/lib/libMuseSamplerCoreLib.so
19:55:41.041 | INFO  | main_thread     | AbstractCloudService::readTokens | Could not find the tokens file: /home/eymeric/.local/share/MuseScore/MuseScore4/musescorecom_cred.dat
19:55:41.041 | INFO  | main_thread     | AbstractCloudService::readTokens | Could not find the tokens file: /home/eymeric/.local/share/MuseScore/MuseScore4/audiocom_cred.dat
19:55:41.380 | ERROR | main_thread     | ExtensionsConfiguration::manifestConfigs | failed read config data, err: [406] Une erreur s'est produite lors de la lecture du fichier, file: /home/eymeric/.local/share/MuseScore/MuseScore4/plugins/plugins.json
19:55:41.558 | INFO  | main_thread     | GuiApp::setup   | Using graphics api: "opengl" 
19:55:41.558 | INFO  | main_thread     | GuiApp::setup   | Gui platform: "xcb" 
19:55:41.558 | INFO  | main_thread     | GuiApp::setup   | Detecting problems with graphics api
19:55:41.558 | INFO  | main_thread     | GuiApp::setupNewContext | New context created with id: 0
19:55:42.125 | ERROR | main_thread     | AppShellConfiguration::sessionProjectsPaths | [401] Le fichier n'existe pas
19:55:42.226 | INFO  | main_thread     | main            | "SSL Info: supported: 1, build: OpenSSL 3.0.7 1 Nov 2022, runtime: OpenSSL 3.6.2 7 Apr 2026, active backend: openssl, available backends: cert-only, openssl" 
19:55:42.228 | INFO  | 126396382832320 | AudioEngine::setOutputSpec | [OutputSpec] sampleRate: 44100, samplesPerChannel: 1024, audioChannelCount: 2
19:55:42.229 | INFO  | main_thread     | AudioDriverController::setNewDriver | Available output devices changed, checking connection...
19:55:42.245 | INFO  | 126396349261504 | {anonymous}::alsaThread | exit
19:55:42.294 | INFO  | main_thread     | AlsaAudioDriver::open | Connected to default with bufferSize 1024, sampleRate 44100, channels:  2
19:55:42.309 | INFO  | 126396382832320 | SoundFontRepository::loadSoundFonts | try add sound font: file:///home/eymeric/.cache/appimage-run/9c1c2c2db1a7dc830b1bccf530f392de9bff47022826596b3b2117fc19cd73f5/share/mscore4portable-4.7/sound/MS%20Basic.sf3
19:55:42.359 | INFO  | 126396382832320 | SoundFontRepository::doAddSoundFont | added sound font, uri: file:///home/eymeric/.cache/appimage-run/9c1c2c2db1a7dc830b1bccf530f392de9bff47022826596b3b2117fc19cd73f5/share/mscore4portable-4.7/sound/MS%20Basic.sf3
19:55:42.359 | INFO  | 126396382832320 | SoundFontRepository::loadSoundFonts | remaining: 0, total: 1
19:55:42.360 | INFO  | 126396382832320 | SoundFontRepository::loadSoundFonts | all added notify about sound fonts changed
19:55:42.360 | INFO  | 126396382832320 | AudioEngine::init | [OutputSpec] sampleRate: 44100, samplesPerChannel: 1024, audioChannelCount: 2
19:55:42.375 | INFO  | main_thread     | GuiApp::setup   | No problems detected with graphics api
19:55:47.282 | INFO  | main_thread     | ActionsDispatcher::doDispatch | try call action: file-new

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.0.10, NixOS, 26.05 (Yarara), 26.05.20260523.2e5ab9f
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.35pre20260504_53ab7375
  • nixpkgs: /nix/store/55m9whl18sprd98js00nrg3gp9s1vhbs-source

Notify maintainers

@vandenoever @doronbehar @sarunint


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions