Re: [PD] error -9988: Invalid stream pointer
Sorry I forgot about all the important stuff. MacBookPro with Sierra and pd 0.49-1. I was using the internal audio interface and microphone from my laptop, because I was just testing the patch. The patch is very simple, just plays back a stereo file using readsf~ and processes the microphone signal with some band pass filter and [rev1]. I can't tell you exactly what I did, because it appeared in different situations. I just opened the patch to find out what could trigger the error, and I couldn't make it happen, so I left it alone for a while and then, I got the error, and a couple seconds later pd crashed. Here <https://we.tl/t-wYXcTcdfwX> is the patch (also with the sound files and cue lists), maybe I am doing something bad without knowing, but yesterday I tried with a couple of older patches that used to work fine and I had the same problems. For me it is weird that it seems to appear out of the blue, I don't recall doing any update or changing anything for the last couple of months... I have also been using pd 49-1 since the release. El mié., 27 feb. 2019 a las 11:02, Dan Wilcox () escribió: > What OS? What sound device? What steps did you do to make it happen? etc > etc etc > > If it's on macOS, this can happen after putting the machine to sleep and > waking it up. It's a warning that the current Portaudio stream was closed > which can also happen when a connected device is unplugged. Previous to > 0.49, Pd simply hard froze when this happened... > > On Feb 26, 2019, at 5:11 PM, pd-list-requ...@lists.iem.at wrote: > > Date: Tue, 26 Feb 2019 17:10:34 +0100 > From: Maximiliano Estudies > To: pd-list@lists.iem.at > Subject: [PD] error -9988: Invalid stream pointer > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Hello List, > > A couple of days ago I started getting this error message: > > error -9988: Invalid stream pointer > audio device not responding - closing audio > you may need to save and restart pd > > I'm not sure how to reproduce it. I tried several different patches and > they all seem to randomly cause it. Sometimes pd freezes, sometimes I can > turn dsp off and then on again and everything works. Google didn't help. > > > > Dan Wilcox > @danomatika <http://twitter.com/danomatika> > danomatika.com > robotcowboy.com > > > > -- Maximiliano Estudies +49 176 36784771 omslo.com maxiestudies.com ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] error -9988: Invalid stream pointer
What OS? What sound device? What steps did you do to make it happen? etc etc etc If it's on macOS, this can happen after putting the machine to sleep and waking it up. It's a warning that the current Portaudio stream was closed which can also happen when a connected device is unplugged. Previous to 0.49, Pd simply hard froze when this happened... > On Feb 26, 2019, at 5:11 PM, pd-list-requ...@lists.iem.at wrote: > > Date: Tue, 26 Feb 2019 17:10:34 +0100 > From: Maximiliano Estudies <mailto:maxiestud...@gmail.com>> > To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at> > Subject: [PD] error -9988: Invalid stream pointer > Message-ID: ><mailto:caf358wthonnuzuz-smwzsqwf6fmvyf0wgz2tusrwmpjbqi0...@mail.gmail.com>> > Content-Type: text/plain; charset="utf-8" > > Hello List, > > A couple of days ago I started getting this error message: > > error -9988: Invalid stream pointer > audio device not responding - closing audio > you may need to save and restart pd > > I'm not sure how to reproduce it. I tried several different patches and > they all seem to randomly cause it. Sometimes pd freezes, sometimes I can > turn dsp off and then on again and everything works. Google didn't help. Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com/> robotcowboy.com <http://robotcowboy.com/> ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] error -9988: Invalid stream pointer
Hi, let me guess: you're on a Mac? please provide you exact setup (laptop, OS version, Pd version, soundcard) does you audio interface have a stable USB connection? some background info: I made a fix for Pd's portaudio routines which prevents Pd from hanging when an audio interface gets disconnected. this is achieved by checking the device state in the audio routine and exiting the loop after some timeout. then it prints the message you've just seen. this seems to work fine on Windows but there have been problems on Macs (https://github.com/pure-data/pure-data/issues/470) which Dan traced back to an issue with the CoreAudio implementation of portaudio. Dan has made a patch to portaudio which appeared to fix the issue: https://github.com/pure-data/pure-data/pull/490 but might need to have a look again... > Sometimes pd freezes this shouldn't happen :-/ Christof Gesendet: Dienstag, 26. Februar 2019 um 11:10 Uhr Von: "Maximiliano Estudies" An: pd-list@lists.iem.at Betreff: [PD] error -9988: Invalid stream pointer Hello List, A couple of days ago I started getting this error message: error -9988: Invalid stream pointer audio device not responding - closing audio you may need to save and restart pd I'm not sure how to reproduce it. I tried several different patches and they all seem to randomly cause it. Sometimes pd freezes, sometimes I can turn dsp off and then on again and everything works. Google didn't help. -- Maximiliano Estudies +49 176 36784771 omslo.com maxiestudies.com ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] error -9988: Invalid stream pointer
Hello List, A couple of days ago I started getting this error message: error -9988: Invalid stream pointer audio device not responding - closing audio you may need to save and restart pd I'm not sure how to reproduce it. I tried several different patches and they all seem to randomly cause it. Sometimes pd freezes, sometimes I can turn dsp off and then on again and everything works. Google didn't help. -- Maximiliano Estudies +49 176 36784771 omslo.com maxiestudies.com ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list