[xml/sgml-pkgs] Bug#590934: Bug#590934: libxml2: Segmentation fault, when compiling with -static
Mike Hommey
mh at glandium.org
Mon Aug 2 14:42:33 UTC 2010
On Mon, Aug 02, 2010 at 12:12:53PM +0200, Mike Hommey <mh at glandium.org> wrote:
> Upstream is partially responsible for the problem. I'd say there are actually
> 2 different problems. The first one is that despite using weak symbols, the
> initialization steps don't check if the symbols are resolved before using
> them. That should IMHO be fixed in libxml2, instead of removing weak symbols.
> The fix should be straightforward.
Reading the code more thoroughly, it does the check, but there may be code
paths where the result of that test is not checked before calling pthread
functions.
Mike
More information about the debian-xml-sgml-pkgs
mailing list