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 mailto:danomatika@gmail.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: [PD-dev] Pd hangs on exit on macOS Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B@gmail.com mailto: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 http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
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 mailto:pd-dev-request@lists.iem.at wrote:
Date: Mon, 15 Jul 2019 00:21:49 +0200 From: Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: [PD-dev] Pd hangs on exit on macOS Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B@gmail.com mailto: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 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/
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@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 mailto:pd-dev-request@lists.iem.at wrote:
Date: Mon, 15 Jul 2019 00:21:49 +0200 From: Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: [PD-dev] Pd hangs on exit on macOS Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B@gmail.com mailto: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 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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
I got a 10.14 machine, what exactly do I need to do?
Em qua, 31 de jul de 2019 às 18:55, Miller Puckette msp@ucsd.edu escreveu:
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@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 <mailto:
pd-dev-request@lists.iem.at> wrote:
Date: Mon, 15 Jul 2019 00:21:49 +0200 From: Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: [PD-dev] Pd hangs on exit on macOS Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B@gmail.com <mailto:
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 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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
See if you have a bunch of ghost "pd" processes hiding on your system (ps aux |grep bin/pd should show them).
thanks M
On Wed, Jul 31, 2019 at 07:47:50PM -0300, Alexandre Torres Porres wrote:
I got a 10.14 machine, what exactly do I need to do?
Em qua, 31 de jul de 2019 ??s 18:55, Miller Puckette msp@ucsd.edu escreveu:
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@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 <mailto:
pd-dev-request@lists.iem.at> wrote:
Date: Mon, 15 Jul 2019 00:21:49 +0200 From: Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: [PD-dev] Pd hangs on exit on macOS Message-ID: <943D4D80-C788-47D5-A617-4B940E4BBB5B@gmail.com <mailto:
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 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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
I've been using 0.49 seemingly without issues. Are we talking about the 0.49 release or the new 0.50 branch?
Em qua, 31 de jul de 2019 às 20:04, Miller Puckette msp@ucsd.edu escreveu:
See if you have a bunch of ghost "pd" processes hiding on your system (ps aux |grep bin/pd should show them).
geez, sorry, what's grep bin/pd? :)
That's for typing into a shell window - any hung-up Pd should show up in "ps" output. (Actually, I'm not dead sure that's teh right command on macOS - I should check :)
M
On Wed, Jul 31, 2019 at 09:08:01PM -0300, Alexandre Torres Porres wrote:
I've been using 0.49 seemingly without issues. Are we talking about the 0.49 release or the new 0.50 branch?
Em qua, 31 de jul de 2019 ??s 20:04, Miller Puckette msp@ucsd.edu escreveu:
See if you have a bunch of ghost "pd" processes hiding on your system (ps aux |grep bin/pd should show them).
geez, sorry, what's grep bin/pd? :)
Em qua, 31 de jul de 2019 às 23:14, Miller Puckette msp@ucsd.edu escreveu:
That's for typing into a shell window - any hung-up Pd should show up in "ps" output. (Actually, I'm not dead sure that's teh right command on macOS - I should check :)
yeah, I thought it was something like that, but I had tried typing it with variations of the thing, I tried googling it, and couldn't really get anywhere.
But just tell me exactly what to do (as if I'm a dummy, which is true) and I'll do it ;)
M
On Wed, Jul 31, 2019 at 09:08:01PM -0300, Alexandre Torres Porres wrote:
I've been using 0.49 seemingly without issues. Are we talking about the 0.49 release or the new 0.50 branch?
Em qua, 31 de jul de 2019 ??s 20:04, Miller Puckette msp@ucsd.edu
escreveu:
See if you have a bunch of ghost "pd" processes hiding on your system (ps aux |grep bin/pd should show them).
geez, sorry, what's grep bin/pd? :)