Hi Hector, The mfree error message means Csound tried to free up memory but couldn't. It could possibly be buggy code. Could you post the test CSD here? (or email me offlist if you'd rather do that) Thanks! steven On Tue, Oct 28, 2008 at 10:02 AM, Hector Centeno wrote: > Hi, > > I'm trying to debug a orchestra that keeps crashing with this error message: > > Csound tidy up: Segmentation fault > *** internal error: mfree() called with invalid pointer (0x84cdb40) > > The orchestra is being used in realtime and the error seems to happen > when a UDO is called by a midi triggered instrument. I simplified the > UDO in order to debug it so it just asigns a value to a k-rate > variable (originally the UDO would do operations on tables) and the > only change seems to be that the crash happens after a larger number > of instances of that instrument are triggered. If I comment the call > to the UDO then it stops crashing. The whole project is large (several > instruments, over 30 tables, lots of PV processing) so I wonder if I'm > hitting some limit here. I have 2 gigs of RAM and the system reports > using only 21% of it. > > What could be the cause of such invalid pointer error? > > Thanks, > > > Hector > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >