Since the release cycle is underway, can someone test this on their newer macOS machine? I'm still not sure if there is something wrong on my system or there is an underlying bug in Pd/portaudio.

On Jul 17, 2019, at 2:20 AM, Dan Wilcox <danomatika@gmail.com> wrote:

A simple follow up: toggling DSP on & off results in Pd freezing in the same manner on my system.

Anyone have any insight why Pd might get stuck in a port audio buffer write loop? I'm wondering if this is only on my system (configuration issue), macOS 10.14 (OS deprecation/change), or for all macOS versions (Pd src/compiler issue)?

On Jul 15, 2019, at 12:00 PM, pd-dev-request@lists.iem.at wrote:

Date: Mon, 15 Jul 2019 00:21:49 +0200
From: Dan Wilcox <danomatika@gmail.com>
To: pd-dev <pd-dev@lists.iem.at>
Subject: [PD-dev] Pd hangs on exit on macOS
Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B@gmail.com>
Content-Type: text/plain; charset="utf-8"

Is anyone noticing that the Pd core seems to hang on macOS? You can close the GUI but sometimes the "pd" core process spins in the background sucking up CPU or the GUI freezes on exit as well?

It seems to be spinning in the port audio ring buffer s_audio_paring.c line 130. Both index and rbuf->bufferSize are 0 and it's stuck in the while loop, although this is after sys_close audio should have happened. Maybe it's a thread race condition? I don't remember this happening before macOS 101.4 so I wonder if it's something lower level as there has been the general push towards AudioUnit V3. Ugg.



--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com