Dorico hangs on loading project

I’m running Dorico 5.1.60, and I can’t seem to open this file — it gets stuck at 85%. I left it running for 12 hours while I left for work, and it was still there when I got home. (It was saved in 5.1.10, but I’m not sure exactly which version it stopped working.) Any idea what’s going on?

I’m running Windows 11 Enterprise 23H2 on a Ryzen 9 5900X, and Organteq 2.0.3.

BWV542.dorico (1.5 MB)

Funny enough, I can open your project file and it works, but actually I don’t have Organtech, but when I switch to HALion instead, sound comes out.
When stuck at 85% loading, that usually means trouble with the audio engine. Therefore I attached here a new version of your BWV524 project where I stripped all the audio engine data.
When you now load my modified project, I suppose it will load find, but you then have to go to the Play menu and choose Playback Template. Choose an appropriate template, Apply and Close and there you go. Does it work then in an expected way?
BWV542_ulfmod.dorico (1.4 MB)

Thanks Ulf, but sadly this new file also gets stuck at 85%. I am at least able to import the file (both yours and mine) as a flow into another project. It might be an issue with my machine, so I’ll also try opening this on my other machines to see which works. This file is the example file in my Organteq 2 thread, so I hope it works correctly in the general case!

Hm, please have a look at the TaskManager while loading the project, is the VSTAudioEngine process in the list of background processes?
And also please send a diagnostic report. Thanks

I can reproduce the behavior on my Windows PC. Dorico stops loading the file at 85%. If I cancel the dialog, the involved process doesn’t seem to terminate but keeps slowing down Dorico. After closing all Dorico windows, both the Dorico and VSTAudioEngine processes are still active in the task manager.

Hi @Martin90 , please get the free utility Process Explorer . It is like TaskManager only more powerful. Then, when Dorico is stuck during loading , please run that program and in the process list find the VSTAudioEngine5.exe, make a right click on it and choose from the popup menu Create Dump > Create minidump. Please zip up the output from that and post here. Thank you very much.

Yes, sure. Here’s the zipped dump file:
VSTAudioEngine5.zip (1.3 MB)
Thank you for your great support even on Sundays.

1 Like

You are welcome.
I will have a look at the dumps later, I"m currently on an incompatible machine.

1 Like

I experience the same (stuck at 85%) with both BWV542 files on my iMac running Ventura 13.7. Thanks @Ulf for looking into this!

Hi @Martin90 , thanks again for the data, but I don’t see anything special in the debugger. The audio engine is just idling, waiting for new messages to come in, so nothing special.
Is it possible that you repeat that again but this time also take a minidump from Dorico this time? That’d be fantastic. Thank you.

Hi @acapriccio , could you please try loading that project in, and when it is stuck, open the Activity Monitor app and take a spindump (click on the icon with the 3 dots at the top of the Activity Monitor and from the pop-up menu choose “Create Spindump” (or similar). The output please save, zip up and then post here. Thank you very much.

Edit: And of course welcome to the forum

Of course. I’ve created another dump of the audio engine and one of Dorico. Both were taken while the progress bar hung at 85%.
minidumps.zip (3.3 MB)

1 Like

Thanks for providing the project. The issue here is that the new logic we have added in 5.1.60 to try to ensure we always find the best available matching switch in the expression map for each note, by checking every subset combination of the requested playback techniques, doesn’t scale to combinations as large as are present here. Normally these kinds of combinations are for two or perhaps three playback technques at once, but in this project, no fewer than 17 techniques are being requested at once, which creates an enormous number of combinations for Dorico to sort through.

I should have anticipated that there might be projects with dramatically larger numbers of playback techniques out there, so I’m sorry for my failure of imagination. For these projects, you’ll need to continue to use Dorico 5.1.51 or earlier until such time as we can provide a fix.

1 Like

Thanks for the context! I thought I had something misconfigured in my system (I actually replaced my CPU the other day), but of all the root causes, a combinatorial explosion was not one I was expecting! I appreciate the intention behind this change nonetheless.

Is there a download link to the old 5.1.51 installer? The website only has old installers for Dorico 4, but not 5.

I’ve sent you a private message via this board, please check.

1 Like

Hi @Ulf, here’s the spindump. Hope it helps…

Spindump.txt.zip (348,9 KB)

I understand that I’ll need to continue with Dorico 5.1.51 for the moment. Any hint how to downgrade would be highly appreciated. :slight_smile: Thanks!

I’ve sent you a private message via this board. Please check.