[gst-devel] RTLD_GLOBAL

Wim Taymans wim.taymans at chello.be
Sat May 26 15:47:59 CEST 2001


On 26 May 2001 15:35:18 +0200, Wim Taymans wrote:
> People have wondered why most apps crash when gstreamer-register is not
> performed. Looking at the source code of glibs gmodule.c, the dl_open
> call is always performed with the RTLD_GLOBAL flag and there is no way
> around it (no option in gmodule). This is obviously plain stupid because
> this opens the door for symbol chashes and namespace conflicts all over
> the place. what's worse, glib2.0 has the same flaws, so we need to bug 
> 

oops, sorry this one isn't finisched yet :-)

anyway, we need to get an option in glib2.0 to not use RTLD_GLOBAL.
until then you'll need to perform -register before running an app.

Wim


> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 





More information about the gstreamer-devel mailing list