INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC26 + Dirac: crash during music playback  (Read 2288 times)

veryhappygiraffe

  • Member
  • *
  • Posts: 2
MC26 + Dirac: crash during music playback
« 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.
Logged

HansVanEijsden

  • Recent member
  • *
  • Posts: 28
Re: MC26 + Dirac: crash during music playback
« Reply #1 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.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: MC26 + Dirac: crash during music playback
« Reply #2 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.
Logged

veryhappygiraffe

  • Member
  • *
  • Posts: 2
Re: MC26 + Dirac: crash during music playback
« Reply #3 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?
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 946
Re: MC26 + Dirac: crash during music playback
« Reply #4 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.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

HansVanEijsden

  • Recent member
  • *
  • Posts: 28
Re: MC26 + Dirac: crash during music playback
« Reply #5 on: August 27, 2020, 11:01:56 am »

In case you need it, here's some more information for you all:
  • I have tested it on two MacBooks, one iMac and one Mac Mini
  • On the iMac (my daily work machine) I have the error once a month, not more
  • On the Mac Mini I have the error after each restart (with a clean install of MacOS Catalina 10.15.6 (19G2021))
  • Also with disabled network access the error stays
  • I tried it also on different networks at different locations
  • The MacOS firewall is disabled
  • On my network (Unifi) there's no firewall enabled which blocks these ports
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.
Logged
Pages: [1]   Go Up