Live/Max hang (Live at 100% CPU) when saving patch
Mar 06 2021 | 1:57 pm
I've spent hours trying to get to the bottom of this, but so far to no avail. The patch is set up as follows:
All this works beautifully, but when I go to save the (amxd) patch, both Max and Live hang, with Live using 100% CPU (Max using only a few percent). I then have no choice but to Force Quit the process; when I restart Live, I get the crash report, but I've looked at the logs, and there's not much of interest there -- not totally unexpected, since in a way of course it didn't actually crash (rather it was hanging).
The above is already the result of shrinking this to the minimal thing that still hangs. Some things I've thought about:
- For a while I thought maybe it had something to do with doing too much in response to notifications, hence the emphasis on deferlow above.
- I also make sure I don't actually use the LiveAPI until the device is fully initialised (I wait for the bang from live.thisdevice).
- I removed everything that would introduce any kind of parameters (I thought perhaps I was doing something bold with parameters that was messing up the Live parameter table).
I am a bit at a loss here how to continue debugging this; any advice would be very much appreciated.
PS. In case it matters: 2017 Macbook Pro; Live 11, Max 8.1.10.