[PD] readanysf~ 0.11 crashes PD

Tim Blechmann TimBlechmann at gmx.net
Thu Jan 29 18:47:51 CET 2004


> well, readanysf~ isn't working very well ... i can play back a
> soundfile, but if i try to open another soundfile, it segfaults ...
> but this segfault is caused by the thread handling:
> 
> mutex.Unlock();        // should be safe without locking, 
>       if (readsf != NULL) {  // this will keep pd from blocking when
> 			     //deleting a ReadMadUrl    	
> 	delete(readsf);
> 	}
> 
> this delete causes the segfault ... i'm not into threaded programming
> ... and i have no idea, why it worked with earlier versions of flext
> and doesn't any more ... (delete uses the c++ libraries) ... maybe
> thomas has some insights ... anyway, i'll check thomas' fix (probably
> in tomorrow's cvs)

i applied thomas' fix, but it still segfaults when i try to open a
second soundfile ... any idea? thomas?

cheers...

 Tim                          mailto:TimBlechmann at gmx.de
                              ICQ: 96771783
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac





More information about the Pd-list mailing list