bitgapp / eqMac

macOS System-wide Audio Equalizer & Volume Mixer 🎧
https://eqmac.app
Apache License 2.0
5.52k stars 328 forks source link

Bug: Graphic EQ Audio Unit Plug-in crashes often #910

Open kevinfales opened 4 months ago

kevinfales commented 4 months ago

Describe the bug Several times per day, eqMac will crash and then re-launch, showing a dialog explaining that the Graphic EQ Audio Unit Plug-in has crashed. Additionally, when this happens, the Graphic EQ is removed from all presets.

Steps to Reproduce

  1. In the Extra Effects panel, click "Add Effect" and select "Apple: Graphic EQ"
  2. Configure the EQ to preference (doubtful the actual values matter here)
  3. In the Extra Effects panel, click the [ + ] icon and enter a name for the preset, then Save.
  4. After a seemingly random amount of time (typically between 45-90 mins), eqMac will crash, and relaunch with the following dialog: image

Notes:

Expected behaviour No crashes occur.

Setup information:

kevinfales commented 4 months ago

Can I help debug this somehow? It's incredibly frustrating and happens several times a day

dan-iway commented 3 months ago

Just wanted to add that I have the same problem (although I am using the "Apple: Dynamics Processor" Plugin instead). I understand the crashes may not be easy to fix, an easier fix in the meantime could possibly be to at least not remove it and keep the presets saved and just disabled it instead. If i have to restart and re-enable it, it's annoying but much less frustrating than also having to configure it again.

kevinfales commented 3 months ago

...an easier fix in the meantime could possibly be to at least not remove it and keep the presets saved and just disabled it instead.

Agreed that deleting the preset makes the problem orders of magnitude more frustrating, since you have to go build the settings for it all over.

Here's a workaround I've been using to at least sidestep this part of the issue:

  1. After adding a plugin (Graphic EQ or Dynamics Processor) in the Extra Effects panel, save the preset as you normally would.
  2. Then, click save again and give it another name (mine are just labelled v1 and v1.1).
  3. When the plugin inevitably crashes, you can switch the dropdown to your second saved preset, where your preset will still exist intact
  4. After switching, click the save button again and overwrite the version that just crashed.

This absolutely doesn't solve the entire issue and requires a couple steps whenever this thing crashes, but IMO it's far less work than re-configuring a plugin every time.

dan-iway commented 3 months ago

@kevinfales Good tip, thank you, I will use that. Agree fully with what you said about this not solving the issue of course 👍

coroiu commented 3 months ago

Seeing the same issue with the CanOpener Studio plugin. Logs have been emailed to customer support.

kevinfales commented 3 months ago

UPDATE

Updating to MacOS 14.4.1 (latest as of today) seems to address this issue. No longer seeing audio unit crashes.

From the 14.4.1 patch notes:

Audio Unit Plugins Crash FIXED There have been reports of compatibility issues with PACE products in macOS 14.4, including the iLok License Manager, connected to Apple silicon Macs running macOS 14.4. The problem specifically impacts plugins from various manufacturers that are safeguarded by PACE/iLok, including those made by Universal Audio, when used with host DAWs such as Logic Pro. Apple's release notes for macOS 14.4.1 say the update provides a fix for cases in which "copy protected Audio Unit plug-ins designed for professional music apps may not open or pass validation."

dan-iway commented 3 months ago

@kevinfales I am running 14.4.1 as well and just had a crash yesterday :-(

coroiu commented 2 months ago

Can confirm, using 14.4.1 and still crashing

ragauskl commented 2 weeks ago

@dan-iway @coroiu Can you check if these plugins crash with any other software besides eqMac? I consulted with the dev and plugin crashes should not be related to/caused by eqMac. Just like with kevinfales case it may be an issue with macOS version compatibility with those plugins or an issue with the plugin itself.

dan-iway commented 2 weeks ago

@ragauskl How are we supposed to test this? The plugin does not crash for hours in eqMac either... And while it may be true that the plugin crash has nothing to do with eqMac, eqMac could definitely handle this better - just restart the plugin and keep the config.

kevinfales commented 2 weeks ago

@ragauskl I'm on a completely different computer now (Macbook Pro M3) running the latest MacOS (14.5) and I just had a crash of the audio plugin after about an hour.

eqMac could definitely handle this better - just restart the plugin and keep the config.

Yes. Yes yes. The crash is frustrating, but the fact that it deletes my preset is far, far more frustrating.

ragauskl commented 2 weeks ago

just restart the plugin

@dan-iway this is how eqMac used to work before but some plugins would continuously crash causing even bigger problem.

Dev will be looking into a better handling of plugin crashes so it's not as annoying, but said he has some ideas tho it may not be as easy as simply disabling the crashing plugin if possible at all (don't ask me, I'm just a middleman between you and him, he knows the details but I can't bother him about every single one).

Regarding testing, I know it may not be easy to replicate as it takes hours, but if anyone can use another software and use the plugins to see if they crash in there as well can help with identifying if it's eqMac issue which would help prfioritize this (specifically the crash investigation, better handling of errors like this will be looked into anyway).