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 <Victor.Lazzarini@nuim.ie> 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" <stevenyi@gmail.com>
> To: <csound@lists.bath.ac.uk>
> 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 <jpff@codemist.co.uk> 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"
>