[PD-dev] [ pure-data-Patches-3089771 ] portaudio: crash when shutting down callback mode

SourceForge.net noreply at sourceforge.net
Sun Jan 23 06:20:06 CET 2011


Patches item #3089771, was opened at 2010-10-18 13:20
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: Accepted
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.

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2011-01-23 05:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Miller Puckette (millerpuckette)
Date: 2011-01-09 05:04

Message:
applied to 0.43

----------------------------------------------------------------------

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