MuseScore 3.0 crashes on opening if JACK Audio has been registered on Windows.
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Many
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
As the title suggests, the programme does not survive past the splash screen if JACK Audio has been installed and registered. This problem was not present in MuseScore 2. It is not certain whether this also happens on OSs other than Windows.
How to Reproduce the Regression
- Install 64bit JACK2 for Windows
- As per the installation instructions, execute
regsvr32 "C:\Program Files (x86)\Jack\64bits\JackRouter.dll"
with Command Prompt as administrator - Attempt to open MuseScore 3
The programme shows the splash screen before crashing, without entering the main programme window.
Choosing "Debug" reveals that it is libjack64.dll
causing the issue, but does not yield any further details.
I was able to reproduce this on a clean virtual machine running Windows 10 as well.
MuseScore 2.3.2 runs perfectly fine in these circumstances.
"Workarounds"
So far, I have not discovered any real workarounds to the regression, but there are ways to restore MuseScore's functionality:
- Unregistering JackRouter.dll with
regsvr32 /u "C:\Program Files (x86)\Jack\64bits\JackRouter.dll"
allows MuseScore 3 to work normally again, but obviously renders JACK Audio functionless - Starting
MuseScore3.exe
with the-s
flag, which disable's MuseScore's synthesizer, allows the programme to run without needing to modify JACK Audio, but also removes any audio output. - Installing the 32 bit version of JACK Audio does not interfere with MuseScore, but it has been impossible to make JACK Audio detect any midi output from MuseScore, making it frustratingly non-functional
Fix version
3.0.2
Comments
I feel like this should be up in the queue for priority.
I'm unable to use musescore at all because of this.
Even with the asio unregistered, the internal JACK server of MuseScore also doesn't work.
You're confusing Severity for Priority?
The crash happens at Portaudio initialization, and we are not the only ones facing it, see:
https://github.com/jackaudio/jack2/issues/275
I tried with the solution proposed here: https://github.com/jackaudio/jack2/issues/332 and in my system it worked.
Proposed PR:
https://github.com/musescore/MuseScore/pull/4599
The artifact of that build, found here: https://ci.appveyor.com/project/MuseScore/musescore/builds/21719373/art… can be tested when the build finishes.
The pull request has been merged.
fixed in c890b4f03c61159ada527857b58dbf515ff5f510
Fixed in branch master, commit d621946064
fix #280686 crash on opening if JACK audio has been registered on Windows
Fixed in branch master, commit c890b4f03c
_Merge pull request #4599 from AntonioBL/jackcrash
fix #280686 crash on opening if JACK audio has been registered on Win…_
Automatically closed -- issue fixed for 2 weeks with no activity.