Csound Csound-dev Csound-tekno Search About

[Csnd] swig/python detected a memory leak of type 'MYFLT *', no destructor found

Date2014-05-13 10:24
Fromzappfinger
Subject[Csnd] swig/python detected a memory leak of type 'MYFLT *', no destructor found
While I am still struggling with my crashes I found another strange thing,
that started to happen when I upgraded to Csound 6.03.
I did not notice before, because in my GUI program I had disabled a timer
that displayed running time, thinking it might have to do with the crash.
But now it is enabled again.

It also happens in an updated version of my non-GUI csCrash.py application,
that I have included here.

The messages are:

swig/python detected a memory leak of type 'MYFLT *', no destructor found.


I am only reading a csound channel, like so:
	def get(self, channel):
		self.runtime = self.csound.GetChannel(str(channel))
		return self.runtime

the channel is defined in csound like:

instr 11; triggering instrument
kTim    times
chnset  kTim, "time"
...

Richard
csCrash.py   






--
View this message in context: http://csound.1045644.n5.nabble.com/swig-python-detected-a-memory-leak-of-type-MYFLT-no-destructor-found-tp5735200.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-05-13 10:37
FromOeyvind Brandtsegg
SubjectRe: [Csnd] swig/python detected a memory leak of type 'MYFLT *', no
I think this is what is fixed in the latest hotfix for 6.03.
(issued yesterday)
Oeyvind

2014-05-13 11:24 GMT+02:00 zappfinger :
> While I am still struggling with my crashes I found another strange thing,
> that started to happen when I upgraded to Csound 6.03.
> I did not notice before, because in my GUI program I had disabled a timer
> that displayed running time, thinking it might have to do with the crash.
> But now it is enabled again.
>
> It also happens in an updated version of my non-GUI csCrash.py application,
> that I have included here.
>
> The messages are:
>
> swig/python detected a memory leak of type 'MYFLT *', no destructor found.
> 
>
> I am only reading a csound channel, like so:
>         def get(self, channel):
>                 self.runtime = self.csound.GetChannel(str(channel))
>                 return self.runtime
>
> the channel is defined in csound like:
>
> instr 11; triggering instrument
> kTim    times
> chnset  kTim, "time"
> ...
>
> Richard
> csCrash.py 
>
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/swig-python-detected-a-memory-leak-of-type-MYFLT-no-destructor-found-tp5735200.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2014-05-13 11:35
Fromzappfinger
Subject[Csnd] Re: swig/python detected a memory leak of type 'MYFLT *', no
Ok, thanks, that fixed it indeed.
Unfortunately this version still crashses in my GIU and in csCrash.py when
uncommenting the import pyside line...

Richard   



--
View this message in context: http://csound.1045644.n5.nabble.com/swig-python-detected-a-memory-leak-of-type-MYFLT-no-destructor-found-tp5735200p5735204.html
Sent from the Csound - General mailing list archive at Nabble.com.