On Fri, Oct 07, 2011 at 02:58:35PM +0200, Michal Suchanek wrote:
> Hello,
> 
> The X server "duplicates" modules by loading them again from the disk.
> 
> Since this "duplication" happens on every input device hotplug, possibly weeks
> after the X server has been started a different module might have been
> installed by that time (eg. due to upgrading distribution packages) the X
> server should check the module every time it is loaded to prevent weird issues
> due to modules compiled for different ABI.
> 
> I compiled an X server with the patch and it worked but I have no idea how to
> test the error paths.
> 
> https://bugs.freedesktop.org/attachment.cgi?id=51585
> https://bugs.freedesktop.org/show_bug.cgi?id=41182

fwiw, last time I tried this (about a year or so ago), the problem was
dlopen(). even if you replace the file, dlopen() will simply re-load the
original file. Not sure if this has been fixed yet but that's what you need
to check first (would be simple to verify with a test program)

Cheers,
  Peter
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to