Musescore doesn't work on Windows 10
At startup, I get the message: "Musescore stopped working" before I see anything of the program.
Please help? I downloaded the software today.
At startup, I get the message: "Musescore stopped working" before I see anything of the program.
Please help? I downloaded the software today.
Do you still have an unanswered question? Please log in first to post your question.
Comments
I've been successfully using Musescore 2 for some months now, but it will not run today. No error message appears, it just doesn't run. I've re-downloaded it but that hasn't worked.
What can I check to try to solve the problem?
Any help will be much appreciated.
In reply to I've been successfully using by Mac B
When in doubt, try the "Revert to factory settings" procedure from the Handbook. Also reboot.
In reply to When in doubt, try the by Marc Sabatella
Hi Marc,
I never got a chance to change any settings, because the program doesn't start!
And, of course, I rebooted. We're on Windows, after all ...
Regards, Huub.
In reply to Hi Marc, I never got a chance by huub_dewachter…
I think Marc was addressing Mac B, but you may try the same procedure too.
In reply to Hi Marc, I never got a chance by huub_dewachter…
@huub_dewachter: You don't need to have MuseScore running to revert to factory settings. Here's how. (In fact, to the best of my knowledge that's the only way to do it so it's not actually possible to do it from within MuseScore.)
> Quote: "I downloaded the software today".
Did you download the latest version (2.0.2)?
If not then uninstall it and try the latest version.
Have you ever had an older version installed?
If so then it is very likely that the new version will work after you revert to factory settings.
In reply to When in doubt, try the by Marc Sabatella
Thanks Marc
I have rebooted to no effect.
I have uninstalled Musescore2 and downloaded it again - still will not run.
I cannot revert to factory settings as "Windows cannot find MuseScore.exe" when I try to do that.
I have even entered MuseScore.exe at the command prompt but get a similar response: "MuseScore.exe is not recognised as an ..... operable program".
I have found that MuseScore .exe is listed under the location "This PC > Windows8_OS(C:) >Program files (X86) > MuseScore 2 > bin" but will not run from there (I see that the date modified is given as 16th July 2015, so that cannot be from the download this morning. Also, all the other files at that location seem to be .dll ones)
I still have 1.3 on my computer. If I right-click on a file created under Musescore2 recently, "Open with" gives me the option of Musescore.exe but again it does not run - I can also select mscore.exe which works but in 1.3 which will only run files originally created in that version.
This is all a great puzzle to me, but I hope the info I have given may give you some clues as to what is wrong.
Regards
Mac
In reply to Thanks Marc I have rebooted by Mac B
Open a command prompt and enter
"C:\Program files (x86)\MuseScore 2\bin\MuseScore.exe" -F
including the double quotes (needed due to the space characters in the path name), exactly as described in https://musescore.org/en/handbook/revert-factory-settings-0#instruction…. Well, exactly as described there now, seems a space had been missing in the handbook page...
In reply to Open a command prompt and by Jojo-Schmitz
Thanks
I've now done that, but to no effect - the programme still will not run.
In reply to Thanks I've now done that, by Mac B
You could try the portable version, https://musescore.org/en/download/musescore-portable.exe
In reply to You could try the portable by Jojo-Schmitz
it will also be really helpful if you could try to run with -s instead of -F. If it doesn't work, try with -w.
In reply to it will also be really by [DELETED] 5
and see https://musescore.org/en/handbook/command-line-options-0 for the meaning of those options :-)
In reply to You could try the portable by Jojo-Schmitz
Thanks
I did download the portable version and it works!
I'm now able to work on scores again, which is a huge relief.
It would be interesting to know why this idea worked.
Thanks again.
Mac
In reply to Thanks I did download the by Mac B
I guess it is a permission issue, the installed version wants to read of write somewhere where it doesn't have access. The portable version doesn't have that issue as it reads/writes some place else.
Maybe you need to install and/or run as Administrator?
In reply to I guess it is a permission by Jojo-Schmitz
The weird thing though is that this problem suddenly popped up for Mac B after using MuseScore 2 successfully for a couple of months. I would be very interested to take a closer look at this problem.
In reply to The weird thing though is by Thomas
Ah, yes, I missed that. Maybe recent Windows patch is the culprit then?
In reply to Ah, yes, I missed that. Maybe by Jojo-Schmitz
Yes, could be ...
Musescore, help please?
In reply to Yes, could be ... Musescore, by huub_dewachter…
@Huub could you give the portable version of MuseScore a try as well? https://musescore.org/en/download/musescore-portable.exe
In reply to @Huub could you give the by Thomas
I did, but the result is, although different from installing the "normal" version, not better.
At startup, I shortly see the first display, showing it's starting.
Then this disappears, and nothing happens anymore ... :-(
Huub.
In reply to The weird thing though is by Thomas
Thomas, I'd be glad to assist in any way that would help you look closer. I'm impressed by and grateful for the experts in the MuseScore community who rally round when help is needed.
It would be nice if somebody could run me through the steps needed to make TimGM6mb.sf2 the default soundfont in my copy of Musescore 2.0.02 again (I lost this when I uninstalled and re-installed - see my 11.33 posting above).
In reply to Thomas, I'd be glad to assist by Mac B
See https://musescore.org/en/handbook/soundfont-0 for all the information you need, including a link to download TimGM6mb.sf2.
In reply to See by Isaac Weiss
Thanks Zac, that worked fine.
In reply to Thanks Zac, that worked fine. by Mac B
You're very welcome! (I actually wrote a lot of that documentation myself, so it's gratifying to confirm it's clear and understandable.)
In reply to You're very welcome! (I by Isaac Weiss
Oh dear!
I've been using the portable version since 20th October, but it would not run today.
I have tried uninstalling and re-downloading but with no result. I am very worried about this now as I need to use it every day and have deadlines to meet.
When I select the shortcut (whose target is "C:\Users\Mac\Downloads\MuseScorePortable_2.0.2.paf (2)" I get the message
"MuseScore Portable
Please select a language for the installer"
When I click on "OK" for English I then get a further message as follows:
"MuseScore Portable | PortableApps.com Installer
Please close all instances of MuseScore Portable and then click OK. The portable app cannot be upgraded while it is running."
I don't have any MuseScore running, so cannot get any further - if I click "OK" the message just repeats.
Any help anyone can give me would be so much appreciated as I am baffled and verging on the desperate!
In reply to Oh dear! I've been using the by Mac B
Can anyone help?
In reply to Can anyone help? by Mac B
Factory reset?
In reply to Factory reset? by Jojo-Schmitz
Thanks
I have just re-loaded MuseScore2 and tried a factory reset. However, I get the message 'Windows cannot find MuseScore.exe'.
Musescore2 is listed as an app but when I click on it I get this message:
User Account Control
Do you want this app from an unknown publisher to make changes to your PC?
Program name: MuseScore.exe
Publisher: Unknown
File origin: hard drive on this computer
Program location: "C:\Program files (x86)\MuseScore 2\bin\MuseScore
I click 'Yes', the eggtimer appears for a few seconds then disappears.
If I then click on the app again I get the above message again - so going round in circles!
Does this give any clues to solve my problem?
In reply to Thanks I have just re-loaded by Mac B
Just a idea: have you tried to install (ex novo) on a removable media (pen drive)? Or burn a CD of the entire folder MuseScorePortable_2.0.2?
In reply to Just a idea: have you tried by Shoichi
Thanks
I have just downloaded and installed MuseScorePortable on to an empty 4Gb memory stick in my F: drive - it will not run from there either.
I notice that the OS considers the app to be running, as it gives the following error message when I seek to remove the memory stick:
'Problem ejecting USB Mass Storage Device
This device is currently in use. Close any programs that might be using the device, and then try again.'
Does this give any clues?
In reply to Thanks I have just downloaded by Mac B
Does MuseScore appear in the Task Manager??
In reply to Does MuseScore appear in the by ChurchOrganist
In Task Manager it does not appear in the 'Apps' section, but there are 4 identical 'MuseScore.exe' listed under 'Background Processes" (?)
In reply to In Task Manager it does not by Mac B
Reboot seems in order.
Using TeamViewer, I managed to install the debug version of MuseScore offered by ABL on the OP's Windows 7 computer.
Attached is the debug output. I hope we can figure out the reason for the startup crash.
In reply to Using TeamViewer, I managed by Thomas
I'm currently reading further at https://musescore.org/en/node/71796#comment-361641 where there is a similar startup crash log report.
In reply to Using TeamViewer, I managed by Thomas
After trying all the possible solutions suggested on here I engaged the services of a professional who eventually solved the problem by using System Restore to a restore point prior to the date when MuseScore 2 stopped working. Everything seems to be working fine now.
He reckoned that the problem could have been caused by an automatic update, although it wasn't possible to identify which one.
Many thanks to all on here who offered their help.
In reply to Using TeamViewer, I managed by Thomas
Unfortunately the debug log in this case (as in the case for the other thread) does not say anything.
After a little work, I think I managed to create a more informative tool.
I compiled gdb (without Python support because it was crashing the compilation in my system, I don't know why) and inserted its executables and folders inside the MuseScore folder tree. I then wrote a simple script which catches all thrown signals and outputs a backtrace. The output is a log file which contains all MuseScore debug information and possibly the stack trace when an exception is thrown.
Here is the zipped folder:
https://drive.google.com/open?id=0BxjayMZiuupOR05Qd1dCWVAwdDQ
(MuseScore_revd45cc19_debug_gdb.zip - md5 checksum: cef3a7cca05bba66d43ee643f0e11725
~172 MB compressed and ~553 MB when uncompressed)
It is a self-build (in debug mode) of d45cc19
How to use it:
1- extract the zip folder;
2- double-click on the file "reset_and_debug.bat" inside the extracted folder;
3- it launches MuseScore (and performs a reset to its factory settings) inside gdb (through the script "debug.gdb") and records the debug output in the file "log_file.txt"; such file can then be attached to a comment in this forum for further analysis. Note that the execution is very slow since MuseScore is running inside a debugger (gdb https://www.gnu.org/software/gdb/ ).
Hope this helps in casting some light onto the bugs difficult to be reproduced.
Ciao,
ABL
In reply to Unfortunately the debug log by ABL
Thanks a lot ABL. I have ran it the new debug version and strangely enough, this one runs without clear issues. I tried your previous build from Oct 1st again, and this one still failed. I attached the log file even when it ran.
Fyi I'm capable to run MuseScore 2.0.2 on the OP Windows 7 computer using the -s option. It's also important to note that this system has ProTools 8 LE installed with Mbox2. So all indications point to some conflict with the audio. Then again, your latest debug build runs remarkably with sound enabled and playback works.
In reply to Thanks a lot ABL. I have ran by Thomas
a Heisenbug?
In reply to Thanks a lot ABL. I have ran by Thomas
More info regarding Mbox2 and other Digidesign/Avid software. While I know that MuseScore has compatibility issues with Digidesign MME Refresh Service, I shut down all the Digidesign/Avid services and restarted the computer. As a result the Digidesign Mbox2 is disabled. See this screenshot.
When running the Windows 7 in normal mode with all the services, these are the processes which are running.
In reply to More info regarding Mbox2 and by Thomas
The fact that the new debug version does not crash could be due to the fact that the bug was solved in one of the recent commits.
Or could be related to the fact that running inside a debugger slows down the execution (??? latency problems?)
Anyway, I put the gdb executables and the scripts in the old debug version, here:
https://drive.google.com/open?id=0BxjayMZiuupOSU9CeTJJT25jUUE
(MuseScoree342fda_debug_gdb.zip)
so that, if you want, you can check if gdb is able to catch the crash which was happening in the old debug version. (Same instruction as for the other "debug_gdb" folder)
The MuseScore application is the same (I didn't recompile it), so if MuseScore crashes again inside the debugger, we can think that a recent change solved the bug :-)
(and we can also see if gdb is able to collect more information)
Ciao,
ABL
In reply to The fact that the new debug by ABL
Thanks for the new debug release ABL. Same result as yesterday: this debug release does successfully run and audio is working. I attached the log txt file for your inspection.
Update
So to summarise:
* both debug versions ( MuseScoree342fda_debug_gdb.zip and MuseScore_revd45cc19_debug_gdb.zip) run successfully
* MuseScore 2.0.2 and nightly build do not run (crash on startup after briefly seeing the splash screen). Both do run when using -s.
In reply to Thanks for the new debug by Thomas
Interesting to note perhaps is what can be found in I/O under preferences for the working debug version.
In reply to Interesting to note perhaps by Thomas
As I manage to run MuseScore 2 with -s option, I get the MuseScore2.ini file. I also have the debug MuseScoreDevelopment.ini file. Both are attached.
In reply to Thanks for the new debug by Thomas
Well, actually the debug versions run well only when they are launched inside gdb, if I understood correctly what you did.
This new debug version is exactly the same executable of 1st Oct, which we are now launching inside gdb.
Since it crashes when launched normally, it is probably a bug related to "delay time"(?), i.e. maybe a process is launched when another needed process is not ready yet, and the fact that running inside gdb slows down the execution could enable this needed process to be loaded properly before it is called. This is just a wild guess.
From the log file, the only things different from what I see in my system are:
- "warning: devices were left open. They have been closed." It is a warning launched by portmidi when it is closed.
- in my system I see: "Debug: Init midi driver failed" (mscore/pa.cpp:142), but then the sound works properly; in this case, when running inside gdb this message does not appear, so the midi driver apparently didn't fail
If you look at the first log file, it interrupts after "Debug: Virtual size (...)"; the debug output next to that should have been "Debug: using PortAudio Version: PortAudio V19-devel" so the crash is indeed probably happening when initializing portaudio (Ms::Portaudio::init(bool))
One thing you could try is to use a newer build of Portaudio. I found this one:
https://github.com/adfernandes/precompiled-portaudio-windows/blob/maste…
After unzipping the zip folder, the dll is portaudio-r1891-build/lib/Win32/ReleaseMinDependency/portaudio_x86.dll
By simply renaming it to "portaudio.dll" it can substitute the shipped portaudio.dll (I tried with my build and it works). I think you could try with the debug version of 1st October and substituuting this portaudio to the original one. This dll outputs mre debug information from its internal functions.
If you want, I can try to pack a new debug folder with this dll.
Ciao,
ABL
In reply to Well, actually the debug by ABL
Thanks for the support ABL! So I went ahead, downloaded, extracted and renamed the portaudio_x86.dll and applied it to all the debug versions I have.
Interestingly enough, two ran successfully, one crashed. I added the logs. For the one that crashed, you'll see crash in the filename.
In reply to Thanks for the support ABL! by Thomas
And here we have the (sad) answer: the culprit is a crash in portaudio due to the "ASIO Digidesign Driver".
The program works inside the debugger because in the source code of portaudio there is an if-clause which disables loading this driver when inside the debugger. The associated comment is:
"/* ASIO Digidesign Driver uses PACE copy protection which quits out
if a debugger is running. So we don't load it if a debugger is running. */"
and indeed in the log file of the two successful versions you see:
"BLACKLISTED!!! ASIO Digidesign Driver would quit the debugger".
So, when running under gdb, the tentative of loading "ASIO Digidesign Driver" is skipped.
The next driver which portaudio tries to load, "ASIO Digidesign Driver Mbox2", instead does not crash, but it is not loaded either: the message log is a series of "Skipping ASIO device".
I don't konw how to solve the problem. Is it possible to tell Portaudio not to load certain drivers?
Or we could build portaudio blacklisting this driver even when outside a debugger.
I once tried to compile portaudio, but I never got it to work properly, that's why I always relied on pre-built binaries of portaudio.
Ciao,
ABL
EDIT: Have you tried also with the unofficial 64bit version?
In reply to And here we have the (sad) by ABL
Unfortunately I haven't tried the unofficial 64bit version. I will try later and report back.
In reply to Unfortunately I haven't tried by Thomas
I tried the 64bit version and it worked! Obviously I should have tried this before :/
But so we can conclude that there was a 64 bit driver involved which caused the conflict.
I wonder now what we can do in the future to still start MuseScore but with a warning instead of a crash that the 64bit version would be needed in order to start the audio system. That would make a big difference on the UX.
In reply to I tried the 64bit version and by Thomas
Ok. One step closer but it's not the end of it yet... Are we sure that the driver is loaded in the 64bit version? In the 64bit version, what is displayed in Preferences > IO?
In reply to Ok. One step closer but it's by [DELETED] 5
@lasconic as requested, here is the I/O
In reply to And here we have the (sad) by ABL
Impressive investigation!
Apparently we are not the first one to find out that it's also a problem in non debug mode. http://portaudio.music.columbia.narkive.com/EZfklA8q/portaudio-digidesi…
If I understand correctly, there is an antipiracy system (PACE) in the driver to crash if the software is in a debugger. That shouldn't be a problem for us since we are not in a debugger most of the time. So the crash comes from this driver but it's not necessarly due to PACE.
If this driver comes with ProTools, it seems weird we didn't detect it before that MuseScore couldn't run... So I hope it's a special version of the driver, hopefully an old one, maybe a 64 bit version but portaudio try to load it anyway...?
As a workaround, is there a way to order the driver on Windows, so a working driver (the default audio output) is chosen before the bad asio digidesign driver.
I have tried shutting down my laptop and then turning it back on, uninstalling MuseScore and installing it again, and I downloaded the one from portable apps. Nothing has worked. I am not receiving an error message or anything like that. I get the box before it opens that says MuseScore, but it will not actually run. Can anyone help me? I have gotten it to somewhat work on my Linux desktop, but there are missing features(not really sure what happened there, however, it's not my main concern as it works)
In reply to I have tried shutting down my by Kuro-chan
Hi Kuro-chan,
Could you share with us which Windows version you are working on?
In case you have successfully used MuseScore on your Windows before, please open a command prompt (Window + R) and enter
"C:\Program files (x86)\MuseScore 2\bin\MuseScore.exe" -F
If you were never able to run MuseScore before, please run:
"C:\Program files (x86)\MuseScore 2\bin\MuseScore.exe" -s
including the double quotes (needed due to the space characters in the path name), exactly as described in https://musescore.org/en/handbook/revert-factory-settings-0#instruction….
If this command starts MuseScore, we know that there is a problem with your audio system. If not, please proceed with:
"C:\Program files (x86)\MuseScore 2\bin\MuseScore.exe" -w
If this works, we know there is an issue with the Start Center. If not, please proceed with the instructions at https://musescore.org/en/node/84146#comment-376406
In reply to Hi Kuro-chan, Could you share by Thomas
I am running Windows 10. I knew there is no issues with my audio, but none the less tried the first command you gave me and received "MuseScore was unexpected at this time" My audio is fine as I am playing music as I type this. I received the same messaged when I did the second command.
In reply to I am running Windows 10. I by Kuro-chan
As with any software that wont install but should install.....
First save any worked on scores files to a new folder.
Then uninstall all the old versions.
Download "CClearer" this is a software garbage cleaner.....Install and run CCleaner to clean up any old files etc from you system. Check program files folders, document & settings folders for any old traces of musescore and remove them.
Run the registry cleaner option of CCleaner to check the registry.
Disable your virus checking and firewall for a few minutes while downloading and reinstalling a new copy of musescore.....if you think it is causing conflicts...????
It normally does not cause conflicts.
Restart your PC......Download a new copy of Musescore 2.0.2 from the website
Install this new download copy..............
I have gotten this every time I try to run the debugger.
In reply to I have gotten this every time by Kuro-chan
@Kuro-chan Do you have a Digidesign audio driver? did you try to run the 64bit version? http://ftp.osuosl.org/pub/musescore/releases/MuseScore-2.0.2/unsupporte…
In reply to @Kuro-chan Do you have a by [DELETED] 5
Idk about the audio driver. As for the version it does not say which one I am trying to run.
In reply to I have gotten this every time by Kuro-chan
@Kuro-chan:
Just to be sure, have you uncompressed the folder before launching the script?
In reply to @Kuro-chan: Just to be sure, by ABL
Yes.
In reply to Yes. by Kuro-chan
@Kuro-chan: but from the image you posted some folders are missing. Attached a screenshot of the folders you should see inside the folder (this is the folder for the other revision, but the folder structure is the same for both cases; the file "debug.bat" should not be present).
If you want, can you try to download again the debug_gdb zip file? Maybe it was corrupted during download.
Have you tried with the (unofficial) 64bit version, which worked in the pc of the other user experiencing problems? To use it, you should decompress the archive via, e.g., 7-zip ( http://www.7-zip.org/ ), and then the executable file (to be launched) is "MuseScore.exe" inside the "bin" folder.
Ciao,
ABL
My version of MuseScore 2.0.2 does not start under Windows 10, so i ran the debug version from ABL. It starts now, but it has a lot of issues according to the logfile. I have no idea what is wrong with the setup, so i ask for help to solve the issues
In reply to My version of MuseScore 2.0.2 by tubaerik
@tubaerik: the debug log says that MuseScore is not loading any of its internal fonts (the errors: "fatal error: cannot load internal font"); when debug mode is active, the program does not exit, but you will probably see a series of void squares instead of musical symbols (since the fonts cannot be not loaded).
You could try to re-download the MuseScore installer, which maybe was corrupted during download, and try to re-install MuseScore.
Or, it seems that sometimes there are problems with font reading/installing in Windows 10, see: http://superuser.com/questions/957907/unable-to-install-fonts-on-window…
In that thread the problem disappeared when Windows Firewall was enabled (why should Windows Firewall deal with font management?). Can you try to check if Windows Firewall is enabled and then launch MuseScore?
[ Note that you should not manually install MuseScore fonts. ]
In reply to @tubaerik: the debug log says by ABL
In case the fonts are manually installed, remove them and try to start MuseScore again.
In reply to In case the fonts are by Thomas
@Thomas: Thank you, but i didn't install any fonts
In reply to @tubaerik: the debug log says by ABL
@ABL: I've tried another download of MuseScore 2, but with the same result. Checking windows firewall, i discovered that it was disabled. I can't enable the firewall. (Failurecode 0x80070422). Also Windows update is disabled and can't be enabled. So it seems to me that it is a windows failure. I've searched for a solution at microsoft, but there isn't a solution yet. Microsoft is working on it. Thank you for your answer ABL.
In reply to My version of MuseScore 2.0.2 by tubaerik
I am happy to report that my issue with the Windows Firewall is resolved. In the forum of Microsoft was a solution posted which suited my problem. Therefore my Muse Score is up and running. I'm so happy now
In reply to I am happy to report that my by evis11
mind to tell us what exactly the problem was and how it got solved?
In reply to mind to tell us what exactly by Jojo-Schmitz
As said by ABL, the reason for not loading the fonts could be that Windows Firewall was not active. That was in my case the problem.
So i scanned my computer with Malwarebites Antimalware. That removed 3 malware virusses. Next i could activate, in windows 10 with the app Services, my windows Firewall and Windows Update.
Then MuseScore was working again