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

Udo Grabowski (IMK) udo.grabowski at kit.edu
Fri Jan 27 08:27:25 UTC 2023


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):

ts(~) dbx `which gdl`
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in your .dbxrc
Reading gdl
Reading ld.so.1
Reading libc.so.1
Reading libreadline.so.6
Reading libgsl.so.23.0.0
Reading libplplotcxx.so.15.0.0
Reading libGraphicsMagick++.so.12.6.0
Reading libwx_baseu-2.8.so.0
Reading libwx_gtk2u_core-2.8.so.0
Reading libwx_gtk2u_adv-2.8.so.0
Reading libhdf5.so.10.3.1
Reading libstdc++.so.6.0.24
Reading libm.so.2
Reading libgcc_s.so.1
Reading libstdc++.so.6.0.28
Reading libgcc_s.so.1
Reading libgtk-x11-2.0.so.0.2400.32
Reading libgdk-x11-2.0.so.0.2400.32
Reading libgobject-2.0.so.0.7303.0
Reading libglib-2.0.so.0.7303.0
Reading libffi.so.6.0.4
Reading libcairo.so.2.11600.0
Reading libEGL.so.1
Reading libpthread.so.1
Reading librt.so.1
Reading libsocket.so.1
Reading libnvidia-glsi.so.1
Reading libnsl.so.1
Reading libxcb.so.1.1.0
Reading libxcb-render.so.0.0.0
Reading libGL.so.1
Reading libnvidia-tls.so.1
Reading libnvidia-glcore.so.1
Reading libX11.so.4.0.0
Reading libXext.so.0.0.0
Reading libgio-2.0.so.0.7303.0
Reading libjpeg.so.62.0.0
(dbx) run
Running: gdl
(process id 2270)
Reading libz.so.1.2.13
Reading libGraphicsMagick.so.3.24.0
Reading libwebp.so.7.1.5
Reading libjpeg.so.8.2.2
Reading libxml2.so.2.10.3
Reading libicuuc.so.68.2
Reading libicudata.so.68.2
=============================================================================
Assertion failed: semaphore_info != (SemaphoreInfo *) NULL, file 
/jenkins/jobs/oi-userland/workspace/components/image/graphicsmagick/GraphicsMagick-1.3.38/magick/semaphore.c, 
line 601, function LockSemaphoreInfo
t at 1 (l at 1) signal ABRT (Abort) in _lwp_kill at 0x5fffafe3731a
0x00005fffafe3731a: _lwp_kill+0x000a:   jae      _lwp_kill+0x18 [ 
0x5fffafe37328, .+0xe ]
=============================================================================
(dbx) where
current thread: t at 1
=>[1] _lwp_kill(0x1, 0x6, 0xfffffe116f55dc00, 0x0, 0x0, 0x5fffaeea2cf0), at 
0x5fffafe3731a
   [2] thr_kill(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffafe2dbe0
   [3] raise(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffafdcb26e
   [4] abort(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffafda4cd8
   [5] _assert_c99(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffafda5102
   [6] LockSemaphoreInfo(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffabd83d5f
   [7] 0x40(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x40
   [8] GetMagickResourceLimit(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffabd7e232
   [9] GetCacheInfo(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffabd52b8a
   [10] AllocateImage(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffabd16e77
   [11] Magick::ImageRef::ImageRef(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffafa6cbf6
   [12] Magick::Image::Image(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffafa632cd
   [13] _GLOBAL__sub_I__ZN3lib6gImageE(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xbaa438
   [14] call_array(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffad27a6e9
   [15] call_init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffad27a96e
   [16] 0x7fffbfff4cb8(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7fffbfff4cb8
   [17] setup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x5fffad2795ac
(dbx)

-- 
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/20230127/87055ffa/attachment.bin>


More information about the oi-dev mailing list