[xml/sgml-pkgs] Bug#590934: Bug#590934: Bug#590934: libxml2: Segmentation fault, when compiling with -static
Mike Hommey
mh at glandium.org
Mon Aug 2 15:48:27 UTC 2010
On Mon, Aug 02, 2010 at 04:42:33PM +0200, Mike Hommey <mh at glandium.org> wrote:
> 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.
The attached patch works for me.
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-diff
Size: 1233 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100802/08490409/attachment.diff>
More information about the debian-xml-sgml-pkgs
mailing list