Could this be a stack overflow in the faust compilation? Depending on the 
complexity of the code,
the compiler can run out of memory because it uses very deep recursion. It 
won’t probably happen on the main thread of a program,
but if it is running on a separate thread, then it can happen. 

I had this problem with the Faust opcodes for Csound .My solution for it was to 
give the thread a bigger stack and
then they stopped crashing.

Regards

Victor

On 12 Jan 2014, at 19:38, Marc Joliet <[email protected]> wrote:

> Am Mon, 2 Dec 2013 10:08:01 +0100
> schrieb Stéphane Letz <[email protected]>:
> 
>> I've commited a new "faust-llvm.cpp" file in architecture folder that use 
>> the createDSPFactory/createDSPInstance API.
>> 
>> You can compile it with :
>> 
>> g++ faust-llvm.cpp /usr/local/lib/faust/libfaust.a `llvm-config --ldflags 
>> --libs all` -o faust-llvm
>> 
>> Then something like ./faust-llvm karplus.dsp
>> 
>> Please report if this works.
>> 
>> Stéphane
> 
> I have finally tried faust-llvm with various different DSP files and could not
> reproduce the crashes with it.  I still get the SEGFAULTs in 
> createCDSPFactory()
> from within my Python wrapper, though.
> 
> I'll try to investigate this further when I have more time (*sigh*), but maybe
> this will help verify the FAUST side of things.
> 
> -- 
> Marc Joliet
> --
> "People who think they know everything really annoy those of us who know we
> don't" - Bjarne Stroustrup
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________
> Faudiostream-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to