I had thought that you had turnoff2 also involved in your examples, no? If not, all of the audio file opcodes all use the same base functions so one symptom here or there might all be related I think, and this diskin2 was mentioned as part of David's CSD. steven On 12/10/06, Rory Walsh wrote: > The problem I had was with fout and ficlose. Unless there are somehow > related to turnoff2 or deact I don't see how those changes would have > something to do with the current problems? > > Rory. > > Steven Yi wrote: > > HI John and all, > > > > I don't know about this code, but I do remember Rory having a problem > > with some turnoff2 (I think) in an instrument with one of the > > filewriting opcodes; the fix he had certainly works but at the time I > > wasn't sure if it fixed the source of the problem or the symptoms. > > Perhaps this is also part of that and is the source of the problem he > > had? > > > > I checked the CVS history of each of the files mentioned in the stack > > trace below (from envvvar.c to goto_ops.c) and didn't see any > > significant changes that seem to be related this issue between 5.03 > > and 5.04 though only with a quick glance between versions. > > > > steven > > > > On 12/10/06, jpff wrote: > >> Tracing, it seems that there is a call to sf_close from deact/urnoff2 > >> and after that the file descriptor has vanished. > >> > >> #0 sf_close (sndfile=0x81846b8) at sndfile.c:416 > >> #1 0x08052bcc in csoundFileClose (csound=0x80e1008, fd=0x80eb1b8) > >> at Engine/envvar.c:1258 > >> #2 0x08051cd7 in fdchclose (csound=0x80e1008, ip=0x817fb10) > >> at Engine/auxfd.c:131 > >> #3 0x0805bd01 in deact (csound=0x80e1008, ip=0x817fb10) at Engine/insert.c:507 > >> #4 0x0808e02e in turnoff2 (csound=0x80e1008, p=0x816e538) > >> at OOps/goto_ops.c:202 > >> #5 0x0804ce4d in csoundPerform (csound=0x80e1008) at Top/csound.c:1097 > >> #6 0x0804b0e8 in main (argc=2, argv=0xbffff084) > >> at frontends/csound/csound_main.c:109 > >> > >> Then on the next cycle there is no file for diskin2 to read. > >> Anyone admit to changing turnoff2 or deact? > >> > >> fdchclose certainly writes the NULL into the structure. It looks to > >> me as if the turnoff2 is not removing the diskin2 call. > >> > >> Anyone else? > >> > >> ==John ffitch > >> > >> ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share your > >> opinions on IT & business topics through brief surveys - and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Csound-devel mailing list > >> Csound-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net