Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: Re: Re: strange mfree() error

Date2008-11-04 00:20
Fromvictor
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: strange mfree() error
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" 


Date2008-11-04 06:51
From"Steven Yi"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: strange mfree() error
AttachmentsNone  

Date2008-11-12 22:05
From"Hector Centeno"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: strange mfree() error
AttachmentsNone