[L2Ork-dev] problems with footils fluid~

Ivica Bukvic ico at vt.edu
Mon May 23 06:47:46 UTC 2016


In follow-up to this, it appears that 14.04 Ubuntu 64bit works just fine
with the latest flext and fluid~ whereas the same code base crashes on
16.04 64bit. Apart from kernel and other OS changes, another variable in
play: 16.04 is a newer Sandy Bridge machine whereas the 14.04 is an older
AMD APU machine.

What I discovered is that if in fluid::fluid_init method if I comment out:

//if (settings != NULL )
// delete_fluid_settings(settings);

everything seems to work fine, although this is likely resulting in a
memory leak. Could it be that the newer gcc is more sensitive to how things
are handled there?

Best,

Ico

On Sun, May 22, 2016 at 6:31 PM, Ivica Bukvic <ico at vt.edu> wrote:

> All,
>
> It appears since sometime earlier this year (possibly with upgrade to
> Ubuntu 15.10 and newer), fluid~ external crashes as soon as you enable
> dac~. It worked perfectly fine before. The backtrace is fairly cryptic
> suggesting something is wrong with the libfluidsynth. Yet, other apps that
> use it work just fine (e.g. Qsynth). To make matters more complicated,
> fluid~ uses flext library, although other externals work fine with the
> current version of flext.
>
> Below is the gdb backtrace:
>
> #0  0x0000000000000000 in ?? ()
> #1  0x00007fffdab6e691 in fluid_hashtable_lookup ()
>    from /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1
> #2  0x00007fffdab6f51e in ?? ()
>    from /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1
> #3  0x00007fffdab71448 in fluid_settings_getint ()
>    from /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1
> #4  0x00007fffdab6a026 in fluid_LADSPA_run ()
>    from /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1
> #5  0x00007fffdab7d3b7 in fluid_rvoice_mixer_render ()
>    from /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1
> #6  0x00007fffdab8399d in fluid_synth_write_float ()
>    from /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1
> #7  0x00007fffdae28908 in fluid::m_signal(int, float* const*, float*
> const*) ()
>    from /usr/lib/pd-l2ork/extra/flext/fluid~.pd_linux
> #8  0x00007fffdae29fcb in flext_dsp_multi::dspmeth(long*) ()
>    from /usr/lib/pd-l2ork/extra/flext/fluid~.pd_linux
> #9  0x00000000004b3bc5 in dsp_tick () at d_ugen.c:336
> #10 0x00000000004a3093 in sched_tick () at m_sched.c:385
> #11 0x00000000004a34be in m_pollingscheduler () at m_sched.c:485
> #12 m_mainloop () at m_sched.c:563
>
> Is this a know issue? It wasn't a problem until I upgraded to 15.10 (from
> 14.04) and it seems 16.04 (64bit) is also problematic. Has anyone had any
> luck recently with the fluid~ external?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20160523/1848163c/attachment.html>


More information about the L2Ork-dev mailing list