[PD-dev] [ pure-data-Patches-3089771 ] portaudio: crash when shutting down callback mode
SourceForge.net
noreply at sourceforge.net
Mon Oct 18 15:20:29 CEST 2010
Patches item #3089771, was opened at 2010-10-18 15:20
Message generated for change (Tracker Item Submitted) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089771&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: portaudio: crash when shutting down callback mode
Initial Comment:
if you select the "portaudio" audio-backend in "callback" mode and then try to shut it down, Pd will crash, because it calls CloseAudioStreams with the pa_callbackstream, which is not a PABLIO_Stream.
steps to reproduce:
- select "portaudio" as the audio backend
- in the audio-settings that pops-up, enable the "use callbacks" and click on "Apply"
- (this will switch to portaudio/callback)
- now click on "OK" (in the still open settings dialog)
- Pd will segfault (Pd will close portaudio/callback and try to restart it)
the attached patch calls the StopStreaming functions explicitely for the correct stream-type.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089771&group_id=55736
More information about the Pd-dev
mailing list