[oi-dev] GDL chokes on semaphore (GraphicsMagick)

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sat Jan 28 14:40:57 UTC 2023


On Fri, 27 Jan 2023, Udo Grabowski (IMK) wrote:

> pkg:/scientific/gdl at 0.9.7-2020.0.1.4 (OI hipster illumos-aa33dce46b and 
> older)
>
> for user and root:
> /usr/bin/gdl stops on assertion test in GraphicsMagick (semaphore.c):

With almost 100% certainty this is because the dependent program has 
not invoked InitializeMagick() before using other GraphicsMagick APIs. 
It is acceptable to invoke this function any number of times and 
InitializeMagick(NULL) is OK for dynamically linked programs.

A very long time ago (since 1.3.8 in 2010) GraphicsMagick 
initialization was changed to require InitializeMagick() to be invoked 
first.  Before it was just recommended.

OpenIndiana recently stepped forward from using a very old version of 
GraphicsMagick, so that may be what provoked this issue.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt



More information about the oi-dev mailing list