On Wed, 22 May 2013, David Rowe wrote: >> freedv: effects_i_dsp.c:118: clear_fft_cache: Assertion `fft_len >= 0' >> failed. > > Thanks Joel and Richard. > > This is a file in sox. Can I suggest trying to use the actual sox > source files (as per src/Makefile.linux), not a sox version installed in > the system? To implement the filter functions I used functions internal > to sox rather than the sox API. This is going to be very unstable > across SOX versions. > > Another data point - some one also mentioned to me recently that the > tools-filter feature was causing a seg fault.
Welcome to the world of external libraries! We've been fighting the segfault battle in Xastir for many years. Often when Xastir goes down suddenly it's due to a segfault in an external library, but at that point we have no option other than to go down with the ship. It's MUCH better IMHO to cut and paste a few routines from similarly-licensed libraries into your code rather than linking against yet more external libraries. Or: Get the library developers to relicense it with a compatible license and then include those few routines. If you're using quite a bit of a library and can trust it to not fall over, it's probably better to link against it instead. Then there's the issue with library API changes causing run-time faults: This can happen if you have a mis-match between installed .so and .h files or several versions of each installed (happens a lot with Berkeley DB). I wish you guys far better luck with libraries than we've had! -- Curt, WE7U. http://wetnet.net/~we7u APRS Client Capabilities: http://wetnet.net/~we7u/aprs_capabilities.html ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
