Since the standalone compiler works, I would suspects a 64/32 target issue. Is your machine 64 bits? Is the Python runtime still 32 bits?
The createDSPFactory function can take a "target" argument. If not set the LLVM IR code will be compiled for the native machine, but your code may run in a different context (like a 32 bits language running on a 64 bits machine). In this case you would have to "force" the right target giving something in "target" argument like "x86_64-linux-gnu", or "i386-linux-gnu" Stéphane Le 1 déc. 2013 à 02:21, Marc Joliet <[email protected]> a écrit : > Hi all, > > I was in the mood to work some more on my FAUSTPy project (there was one > outstanding issue that I wanted to debug), and after finding out that the > faust2 > branch compiles on Linux again a few days ago, I thought I'd get to that. > > Now the issue I'm facing is beyond me: the compilation of a trivial DSP causes > a SEGFAULT once the code reaches the call to createCDSPInstance(factory). GDB > says the crash originates from "new_mydsp" (see the attached backtrace), > which, > if I understand correctly, is the constructor of the DSP object as compiled by > LLVM and stored in fNew()? > > The standalone faust compiler seems to work fine, including compiling LLVM IR > bitcode ("-lang llvm"). > > Does anybody have any ideas what might be causing this? Would it help if I > install split debug symbols for LLVM? I'm using LLVM 3.3 and GCC 4.7.3, if > that > matters. > > Greetings > -- > Marc Joliet > -- > "People who think they know everything really annoy those of us who know we > don't" - Bjarne Stroustrup > <libfaust_backtrace.txt>------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk_______________________________________________ > Faudiostream-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/faudiostream-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
