Csound Csound-dev Csound-tekno Search About

[Cs-dev] Memory problem in csound

Date2008-12-02 17:24
Fromjpff
Subject[Cs-dev] Memory problem in csound
Following the chase for the contrapunctus crash it was reported that
there was an invalid read in the initialisation/loading of modules.  I
can report
a) this does not happen on X86_64 in doubles
b) it does happen in i586 in floats, and it occurs in the loading of
_csnd.so

There is also a malloc failure.  I do not understand _csnd but it
seems to be created by SWIG, which has long been a source of troubles.
I think _csnd.so just should not be loaded as a plugin.  Could be
change the naming so files beginning _ are not treated as plugins?
Would that cause any problems?
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-12-02 17:46
From"Michael Gogins"
SubjectRe: [Cs-dev] Memory problem in csound
AttachmentsNone  

Date2008-12-03 09:15
Fromjpff
SubjectRe: [Cs-dev] Memory problem in csound
I think that the loading of _csnd.so causes initialisation on account
of the C++ stuff, and it is that which causes problems, either for
floats (likely) or 32bit processors (unlikely).
  Rather hard to debug as it happens when one is not in control.
Think it is in  __CTOR_END__ code?
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net