On Tue, Feb 25, 2014 at 7:23 AM, Romain Michon <[email protected]> wrote:
> All right, I did a full update of the server with the most recent version of 
> faust2...

Thanks!

> Everything seems to compile, bit I didn't have time to test the generated 
> objects.

They crash and burn. ;-)

Just tried it with one of my own synths, a fairly simple one
(https://bitbucket.org/agraef/faust-lv2/src/HEAD/synths/organ.dsp).
The bundle returned by the online compiler looks ok, and the plugin
loads, but it immediately dumps core when it runs (i.e., as soon as
the compute() method gets invoked). Here's is what my own test host
gives 
(https://bitbucket.org/purelang/pure-lang/src/tip/pure-lilv/examples/synth.pure):

Synth: organ
0: 0xf0 65 16 66 18 64 0 127 0 65 247
0: 0xb0 0 0 0
0: 0xb0 32 0 0
0: 0xc0 6 0 0
0: 0xb0 7 100 0
0: 0xb0 10 64 0
0: 0x90 77 98 0
Illegal instruction (core dumped)

I get exactly the same error "Illegal instruction (core dumped)" in
other LV2 hosts I tried (Qtractor, jalv). If I recompile the plugin
from source myself and replace the .so in the bundle, it works ok. If
I regenerate the entire bundle locally with faust2lv2synth, it also
works fine. So this is clearly a problem with the binary (.so file)
produced by the online compiler.

I vaguely recall that we already had this issue some time ago. IIRC,
the root cause was that the online compiler used some pretty
aggressive optimization and/or code generation options which simply
don't work on all x86_64 systems. Yann may know more about this, IIRC
he fixed it back then. :)

I have a fairly old AMD box here, so that might be the reason the
binary dumps core on my system. But clearly the online compiler should
use some conservative code generation options which are known to work
on a wide range of hardware, even if that means that the plugin will
run a little slower.

Any ideas?

Albert

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  [email protected]
WWW:    https://plus.google.com/+AlbertGraef

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to