On Wed, 2017-01-11 at 12:19 +0000, Burton, Ross wrote:
> > > The gdk-pixbuf link does use -lpthread, is this saying that libpng
should be linked against pthread too?  I can replicate on demand if
you have any suggestions.
> 
> 

So, amusingly, it now appears that libpng in pthread-using programs has
actually been a bit broken for a long time, since about glibc 2.22.
 It's just that the failure has now become more obvious, because ld.so
will refuse to load the binary at all rather than allowing it to load
and having it crash later under some circumstances.

Whether the circumstances that would cause the crash (libpng calling
longjmp) can ever arise with gdk-pixbuf is another question and I don't
know the answer offhand.  If this can happen then it would probably be
when dealing with a corrupted input file.

Anyway, this is definitely a glibc bug and it is now on the list of
blockers for 2.25.  Good work by Ross in finding it!

p.

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to