INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Mac => Topic started by: veryhappygiraffe on August 27, 2020, 08:42:38 am

Title: MC26 + Dirac: crash during music playback
Post by: veryhappygiraffe on August 27, 2020, 08:42:38 am
MC26 suddenly crashes during music playback when the Dirac Live Processor plugin is enabled.
I'm using MC 26.0.107 and Mac OS X 10.15.6
It never happened in the past, now all of a sudden a few months ago it started happening during every playback.

Can someone help fixing this?

Thanks.
Title: Re: MC26 + Dirac: crash during music playback
Post by: HansVanEijsden on August 27, 2020, 08:49:29 am
Hi there,

I'm happy to tell you you're not the only one: I have the same problems.
On your Mac go to your user folder -> Dirac -> logs -> DiracLiveProessor (yes, a spelling mistake!) and there you see the DiracLiveProcessor.log.

In my case there are these errors, every five seconds:
===
2020-07-29 18:17:38.725 INFO [runChangedIpJob] Started gRPC server on port 59069
2020-07-29 18:17:38.725 INFO [runChangedIpJob] Started http server on port 59070
2020-07-29 18:17:38.726 ERROR [runChangedIpJob] Error: bind: Address already in use
===

My solution is to (completely! also the server) restart JRiver and open the log file. Then start a song. If there's no error, all is fine (just don't restart JRiver). If there's still the error, restart JRiver and try again.

I have already filled a ticket at Dirac (ticket number DLS-2052). It looks like JRiver blocks ports to the plugin now and then. They know about it: "We previously had several issues with JRiver.". Unfortunately no good solution yet.
Title: Re: MC26 + Dirac: crash during music playback
Post by: JimH on August 27, 2020, 09:14:22 am
JRiver uses ports 59100 to 59200 for Media Network.  If you're using Media Network, your firewall needs to allow access to those ports.
Title: Re: MC26 + Dirac: crash during music playback
Post by: veryhappygiraffe on August 27, 2020, 10:14:30 am
JRiver uses ports 59100 to 59200 for Media Network.  If you're using Media Network, your firewall needs to allow access to those ports.

MC26 and Dirac are both allowed in my firewall (under System Preferences > Security & Privacy > Firewall > Firewall Options).

Is there any other way I should allow access to those ports?
Title: Re: MC26 + Dirac: crash during music playback
Post by: HaWi on August 27, 2020, 10:35:54 am
JRiver uses ports 59100 to 59200 for Media Network.  If you're using Media Network, your firewall needs to allow access to those ports.
My ports came as 52199 and 52200 (SSL). Do I need to change that? I am seeing no issue, though.
Title: Re: MC26 + Dirac: crash during music playback
Post by: HansVanEijsden on August 27, 2020, 11:01:56 am
In case you need it, here's some more information for you all:
As you can see in the attached log file, the Dirac Live plugin walks through ports and every port has been in use (or at least, it thinks so). Eventually the plugin crashes while it has those errors in the log.
I also attached the JRiver crash log.

The logs are from one month ago, while I was debugging this issue for many weeks. Currently I'm only using my iMac which is quite stable (JRiver only crashes 4 or 5 times a week, not more, so that's fine by me). The Mac Mini is at my friend's place, I can always access it to debug more, if needed.