Dorico is freezing quite often and then becomes unresponsive so I must force quit. There doesn’t seem to be any specific task that causes this, it’s just generally while I’m working. I’ve attached the latest “hang” report here. 2021 MacBook Pro 16" running Sonoma 14.3, latest version of Dorico.
Hi @jrun , while awaiting the response of the Team, one possible cause could be an undesired Midi Loop. Can you check in the bottom right corner of the Dorico Window*, if the green light indicating MIDI activity (MIDI activity indicator) is glowing even if you don’t input any notes with the MIDI Keyboard?
It looks from the spindump that you’ve provided that Dorico is trying to save. If Dorico becomes unresponsive during saving, that’s almost always because the audio engine process has either crashed or is itself hanging.
Please do Help > Create Diagnostic Report and attach the resulting zip file here so that we can see if any audio engine crash logs are contained within. It would also be worth taking a spindump via Activity Monitor rather than sampling only Dorico: that would allow us (in theory at least) to see what the audio engine process is doing when Dorico is waiting for its response.
Thanks for the diagnostics. Unfortunately there are no audio engine crash logs in there, so it would appear that the engine is hanging or freezing rather than crashing. Please make a spindump using Activity Monitor next time this occurs, zip it up and attach it here.
Thanks for the spindumps. I will need to consult with my colleague Ulf about what they might show, and I’ll come back to you.
The warning you are seeing definitely suggests that the audio engine is hanging or freezing. If you run into this, click Terminate and wait a few seconds. Run Activity Monitor and check that the VST Audio Engine process does not appear. If it does, select it and end the process using the X button in the toolbar of Activity Monitor. Wait a couple more seconds, then try running Dorico again.
Ulf is on holiday at the moment, but he kindly took time out of his vacation to have a quick look at the spindumps from the audio engine. He has seen this problem before: on some systems, for reasons as yet unknown, the audio engine becomes deadlocked. This problem also affects Cubase (Dorico’s audio engine is based on Cubase’s audio engine), and as yet the audio engine team doesn’t know what’s causing this problem. If I have an update to provide, I will do so.
@jrun, in one of the spindumps, it looks as if the audio engine has crashed – at any rate, the process is not shown in the spindump. That would certainly explain why Dorico hangs during saving, because it needs to be able to communicate with the audio engine to save the project. In the other two, the audio engine is running, and Dorico is busily saving the project, but again, if the audio engine has frozen, the save operation won’t complete because Dorico won’t get the data that it needs from the audio engine.
What plug-ins are you using in the audio engine? I wonder whether there is one or more plug-ins that is the culprit in causing the engine to freeze.
Hi @jrun , I had a look at your latest spindumps and there is one thing that is striking me: In the 2 dumps where the audio engine process is present, I can see that NotePerformer is loaded twice, once NP as the old VST2 plug-in and at the same time also the new VST3 plug-in.
I wonder if that is the problem and also how it can happen that both the VST2 and VST3 version get loaded.
What also concerns me, the fact that we don’t see any crash dumps of the audio engine, because when Dorico is frozen the spindump shows that no audio engine process is around, so ist must have shutdown gracefully, but don’t know how that should be possible.
How well is the freezing reproducible on your machine? If possible and if you agree, I’d like ot have a remote screen sharing session with you, so we can try out some things and I can see how the system is behaving. Can you agree on that? But no obligation, only if you really want to.
Hi @Paolo_T,
your case however is different in that the audio engine is still running while Dorico is frozen. Also, you only use VE Pro, but really on ly the VST3 version. I need to resolve stack here and see if I can get another hint. Sorry, it’s all very slow, but it’s difficult to get behind the scene…
Hi @Paolo_T , I now also resolved your spindump but could not find anything suspicious in there. So in the same way I’m asking you then for a remote screen sharing session, if that is okay with you. Other than that I can not offer at this moment.
Hi @Miguel_Lopez and sorry to @jrun, I’m jumping the queue, but Daniel resolved the spindump for me already, therefore I can say that Miguel, you are unfortunately hit by an audio engine bug that happens really rarely and where we currently can not do something. The audio engine deadlocks it’s main thread and therefore can not communicate with Dorico any more.
This bug is difficult to reproduce as well as difficult to fix.
How bad is this bug for you? I can only make more pressure on the team that is working on the audio processing threads.