Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] bug: turnoff2 and r family opcodes

Date2007-11-07 05:29
FromDavis Pyon
SubjectRe: [Cs-dev] bug: turnoff2 and r family opcodes
Forget what I said earlier.  I think you're right, Oeyvind.
It looks like a never-ending loop bug was introduced in 5.07.
If you change lines 216-217 in goto_ops.c from:

    ip = nip;
    } while (ip != NULL && (int) ip->insno == insno);

to:

    /* ip = nip; */
    } while ((ip=nip) != NULL && (int) ip->insno == insno);    

your csd doesn't hang anymore.  


Davis



----- Original Message ----
From: Oeyvind Brandtsegg 
To: Developer discussions 
Sent: Tuesday, November 6, 2007 6:37:38 AM
Subject: Re: [Cs-dev] bug: turnoff2 and r family opcodes

I have to agree with Jonathan,
this should be considered a bug, as it should be possible to turn off
an unknown number of instances when the kmode parameter is zero.
And it worked in 5.06.

best
Oeyvind

2007/11/6, Jonathan Murphy :
> The problem is caused by the recent changes to turnoff2. I reverted
 to
> 5.06 because I was unable to fix the bug, and turnoff2 is an
 essential
> opcode for me. I posted regarding this here:
>
> http://www.nabble.com/new-bugs-in-turnoff2-and-diskin-t4542301.html
>
> Oeyvind's csd works without problem using the previous version of
> goto_ops.c.
>
> Jonathan.
>
> "Oeyvind Brandtsegg"  writes:
>
> > Intel.
> > It behaves like a denormals thing, but there's no filters in the
> > csound instrument code. Does linenr use any filters or feedback ?
> > Oeyvind




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-11-07 09:14
From"Oeyvind Brandtsegg"
SubjectRe: [Cs-dev] bug: turnoff2 and r family opcodes
AttachmentsNone  

Date2007-11-07 10:23
Fromjpff
SubjectRe: [Cs-dev] bug: turnoff2 and r family opcodes
Yes, but the other bug will reappear!  Turnoff2 is very fragile
==John ffitch

This research is of insufficient standard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net