Re: [linux-audio-dev] LADSPA plugins and RTLD_GLOBAL

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] LADSPA plugins and RTLD_GLOBAL
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Apr 05 2002 - 01:03:25 EEST


On Thu, Apr 04, 2002 at 03:35:59 -0500, Paul Davis wrote:
> >At least one person is dlopen-ing LADSPA plugins with RTLD_GLOBAL, and this
> >can potentially cause problems with plugins that have clashing globals.
>
> as at least one of those people, i should note that this occurs only
> because i am using the g_module library, which uses RTLD_GLOBAL
> implicitly. it is an error to use it in this way, and i plan to move
> ardour away from this ASAP. other people who think of using g_module
> should consider this issue too.

Right, but either way I think its wrong for plugins to export irrelvent
symbols. If I understand whats going on, even without RTLD_GLOBAL global
variables in the plugin will be exported to the host, which could cause
problems.

- Steve


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Apr 05 2002 - 00:50:52 EEST