[LAD] ambix vs JUCE, segfault

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Mon Apr 13 23:53:55 UTC 2015


On 04/13/2015 04:47 PM, Andres Cabrera wrote:
> Not sure if this works, but can Ardour be built with native linux VST
> support and ambix built as a native linux VST?

Yes, that is probably an option. But I'm interested in getting the LV2 
version to work.
-- Fernando


> On Mon, Apr 13, 2015 at 4:42 PM, Fernando Lopez-Lezcano
> <nando at ccrma.stanford.edu <mailto:nando at ccrma.stanford.edu>> wrote:
>
>     On 04/13/2015 11:24 AM, Paul Davis wrote:
>
>         definitely caused by use of X / GUI toolkit calls from the wrong
>         thread.
>         Not legal.
>
>
>     Ok, thanks, staring at code - no idea what to look for (Ambix uses
>     the JUCE LV2 wrapper) ...
>
>     On my laptop (Fedora 21 instead of Fedora 20, different video
>     chipset) the GUI starts fine but it can randomly crash with the same
>     message. Race condition that is sometimes triggered?
>
>     Anyone our there running the Ambix LV2 plugins successfully? (in,
>     for example, Ardour3?)
>     -- Fernando
>
>
>         On Mon, Apr 13, 2015 at 2:06 PM, Fernando Lopez-Lezcano
>         <nando at ccrma.stanford.edu <mailto:nando at ccrma.stanford.edu>
>         <mailto:nando at ccrma.stanford.__edu
>         <mailto:nando at ccrma.stanford.edu>>> wrote:
>
>              On 04/13/2015 07:13 AM, Tito Latini wrote:
>
>                  On Sun, Apr 12, 2015 at 07:29:41PM -0700, Fernando
>         Lopez-Lezcano
>                  wrote:
>
>                      Anyone out there using ambix on Linux?
>
>                      I'm seeing various instabilities, for example
>         trying out the
>                      converter
>                      standalone I get a segfault when connecting output
>         ports,
>                      and it looks
>                      like the Jack JUCE component is doing some
>         unaligned memory
>                      copies.
>
>                      Any hint on how to fix this?
>
>                      I get Ardour crashes if I try to use the converter LV2
>                      plugin as well.
>
>                      See below for a trace of the standalone binary...
>                      Thanks for any help!
>                      -- Fernando
>                      [...]
>
>
>                  I have compiled the git-version and tested with the
>         converter
>                  standalone.
>
>                  The attached patch should fix this problem.
>
>
>              Thanks Tito!
>              That seems to have fixed that problem. But I'm still having
>         other
>              problems :-(
>
>              On a different machine I see this problem when I try to
>         bring up the
>              LV2 GUI for the encoder plugin in, say, ardour3:
>
>              [xcb] Unknown request in queue while dequeuing
>              [xcb] Most likely this is a multi-threaded client and
>         XInitThreads
>              has not been called
>              [xcb] Aborting, sorry about that.
>              xcb_io.c: 179: dequeue_pending_request: Assertion
>              xcb_xlib_inknown_req_in_deq'____failed
>
>              And then ardour3 crashes.
>              -- Fernando
>
>
>              ___________________________________________________
>              Linux-audio-dev mailing list
>              Linux-audio-dev at lists.__linuxa__udio.org
>         <http://linuxaudio.org>
>              <mailto:Linux-audio-dev at lists.__linuxaudio.org
>         <mailto:Linux-audio-dev at lists.linuxaudio.org>>
>         http://lists.linuxaudio.org/____listinfo/linux-audio-dev
>         <http://lists.linuxaudio.org/__listinfo/linux-audio-dev>
>              <http://lists.linuxaudio.org/__listinfo/linux-audio-dev
>         <http://lists.linuxaudio.org/listinfo/linux-audio-dev>>
>
>
>
>     _________________________________________________
>     Linux-audio-dev mailing list
>     Linux-audio-dev at lists.__linuxaudio.org
>     <mailto:Linux-audio-dev at lists.linuxaudio.org>
>     http://lists.linuxaudio.org/__listinfo/linux-audio-dev
>     <http://lists.linuxaudio.org/listinfo/linux-audio-dev>
>
>



More information about the Linux-audio-dev mailing list