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 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 (<danomatika@gmail.com>) 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-request@lists.iem.at wrote:

Date: Tue, 26 Feb 2019 17:10:34 +0100
From: Maximiliano Estudies <maxiestudies@gmail.com>
To: pd-list@lists.iem.at
Subject: [PD] error -9988: Invalid stream pointer
Message-ID:
<CAF358wThoNNuZuz-sMwzSQWf6fmvyf0wgZ2tUSRwMpJBQi0vOg@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





--
Maximiliano Estudies
+49 176 36784771