Ubuntu's multisearch surprise
Ubuntu's multisearch surprise
Posted Aug 10, 2009 18:53 UTC (Mon) by nix (subscriber, #2304)In reply to: Ubuntu's multisearch surprise by mjthayer
Parent article: Ubuntu's multisearch surprise
It can still be a problem even if you have RTLD_LOCAL, if objects managed
by one version of a shared library end up being passed to another version
in the same address space, or if both of them are contending trying to
manage some shared resource (classic examples, both from libc: wtmp and
the malloc arena).
by one version of a shared library end up being passed to another version
in the same address space, or if both of them are contending trying to
manage some shared resource (classic examples, both from libc: wtmp and
the malloc arena).
What RTLD_LOCAL fixes is the 'whoops, symbol name clashes between totally
different shared libraries because they dared to use a symbol with the
same name' problem.
