[PD-dev] Pd hangs on exit on macOS

Miller Puckette msp at ucsd.edu
Wed Jul 31 23:54:05 CEST 2019


Turns out the department here has a 10.14 machine I can squat on.  I'll go
try things out and see what I can see.  I guess this can be mad to happen
just using the mac's internal audio device, yes?

cheers
M

On Tue, Jul 23, 2019 at 11:26:22PM +0200, Dan Wilcox wrote:
> 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 at 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 at lists.iem.at <mailto:pd-dev-request at lists.iem.at> wrote:
> >> 
> >> Date: Mon, 15 Jul 2019 00:21:49 +0200
> >> From: Dan Wilcox <danomatika at gmail.com <mailto:danomatika at gmail.com>>
> >> To: pd-dev <pd-dev at lists.iem.at <mailto:pd-dev at lists.iem.at>>
> >> Subject: [PD-dev] Pd hangs on exit on macOS
> >> Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B at gmail.com <mailto:943D4D80-C788-47D5-A617-4B940E4BBB5B at 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 <http://twitter.com/danomatika>
> > danomatika.com <http://danomatika.com/>
> > robotcowboy.com <http://robotcowboy.com/>
> > 
> > 
> > 
> 
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 

> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev






More information about the Pd-dev mailing list