Hello, I was wondering if anyone else has had a chance to look into this problem. Is it that MIDI instruments can't use UDO's? Thanks, Hector On Tue, Nov 4, 2008 at 1:51 AM, Steven Yi wrote: > Hi Victor, > > I'm stepping through the code with a break on useropcdset, it looks > like instance isn't called because there is an actinstance found (line > 866). > > I spent some time looking at code but still haven't figured out yet > what is going on. > > steven > > On Mon, Nov 3, 2008 at 4:20 PM, victor wrote: >> I notice this should normally get initialised here (insert.c, instance() >> function) >> >> if (insno > csound->maxinsno) { >> size_t pcnt = (size_t) tp->opcode_info->perf_incnt; >> pcnt += (size_t) tp->opcode_info->perf_outcnt; >> pcnt = sizeof(OPCOD_IOBUFS) + sizeof(MYFLT*) * (pcnt << 1); >> ip->opcod_iobufs = (void*) mmalloc(csound, pcnt); >> } >> >> ----- Original Message ----- From: "Steven Yi" >> To: >> Sent: Monday, November 03, 2008 11:43 PM >> Subject: [Csnd] Re: Re: Re: Re: Re: Re: strange mfree() error >> >> >>> Hi John, >>> >>> I did run in gdb earlier today and had meant to report that doing a >>> "print lcurip->opcod_iobufs" reported a null. I am also not that >>> familiar with this area of code, so will do some studying up too. >>> >>> steven >>> >>> >>> >>> On Mon, Nov 3, 2008 at 3:35 PM, jpff wrote: >>>> >>>> That crash is at >>>> >>>> /* IV - Nov 10 2002: set up pointers to I/O buffers */ >>>> buf = p->buf = (OPCOD_IOBUFS*) lcurip->opcod_iobufs; >>>> buf->opcode_info = inm; >>>> >>>> so I suspect that lcurip->opcod_iobufs is not set. Not sure I have >>>> time immediately to chase this; in code I do not know at all >>>> ==John ffitch >>>> >>>> >>>> Send bugs reports to this list. >>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >>>> csound" >>>> >>> >>> >>> Send bugs reports to this list. >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >>> csound" >> >> >> >> Send bugs reports to this list. >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >> csound" >> > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >