Re: static build: DestroyDrawInfo: Assertion `draw_info->signature == MagickSignature' failed

Bob Friesenhahn <[email protected]> Mon, 15 Nov 2021 18:47:51 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Thu, 11 Nov 2021, Michael Melcher wrote:

> Greetings,
>
> when building GM statically I get the above mentioned error followed by a SIGABRT
>
> It does not matter whether I use an Ubuntu system as build host and build the dependencies (libpng, libtiff, libjpeg, jasper, webp, lcms2 and freetype) from their current sources or whether I use a Gentoo system as build system with "static-libs" and "pie" as useflags. As soon as I configure with LDFLAGS="-static-pie" CFLAGS="-fPIE" I get the following error:
>
> The build systems are docker container. Hence the root user.
>
>> ./gm convert -pointsize 12 -font helvetica -size 100x caption:"test" -transparent white test.png
> gm: magick/render.c:1061: DestroyDrawInfo: Assertion `draw_info->signature == MagickSignature' failed.
> ./gm convert: abort due to signal 6 (SIGABRT) "Abort"...
> Aborted (core dumped)

As some good news, I found one system where your command resulted in 
an abort.  This means that I should be able to find the cause.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt