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

Udo Grabowski (IMK) udo.grabowski at kit.edu
Fri Feb 3 13:25:33 UTC 2023


On 28/01/2023 15:40, Bob Friesenhahn wrote:
> 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.

Indeed, the problem seems to be exactly that and has been fixed in the 1.0.2
branch in 2019 with this commit:

<https://github.com/gnudatalanguage/gdl/commit/d4045d4469f3c8fae435a4bc6b182ac8417b8461#diff-fee07a0c71823f10358bdf47d478390d>

GNU Data Language moved from sourceforge to github:
<https://github.com/gnudatalanguage/gdl>
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20230203/5cfabc91/attachment.bin>


More information about the oi-dev mailing list