On Sat, Nov 13, 2010 at 21:13:58 -0300, Felipe Sateler wrote:
> Dear release team,
>
> Recently, a bug was reported against csound (#603321), which was
> already fixed in upstream CVS. The bug is severity: normal, although
> one could argue for a higher severity given that it segfaults whenever
> using a certain opcode.
>
> Here is the entire patch:
>
> Description: Acquire bus lock at init time
> Otherwise we get segfaults when trying to use it at perf time
> Origin: upstream, commit:1.40
> Bug-Debian: http://bugs.debian.org/603321
> --- a/OOps/bus.c
> +++ b/OOps/bus.c
> @@ -1056,6 +1056,8 @@
> err = csoundGetChannelPtr(csound, &(p->fp), (char*) p->iname,
> CSOUND_AUDIO_CHANNEL | CSOUND_OUTPUT_CHANNEL);
> if (LIKELY(!err)) {
> + p->lock = csoundGetChannelLock(csound, (char*) p->iname,
> + CSOUND_AUDIO_CHANNEL | CSOUND_OUTPUT_CHANNEL);
> p->h.opadr = (SUBR) chnclear_opcode_perf;
> return OK;
> }
>
>
> Would this be acceptable for squeeze? If not, I will not upload to
> leave the window open for a possible RC bug fix via unstable.
>
Yes, that would be fine. Sorry for the delayed answer.
Cheers,
Julien
Attachment:
signature.asc
Description: Digital signature