Bug#1104044: orthanc-wsi: Plugin OrthancWSI fails to start on arm64, ppc64el, riscv64 and s390x

Étienne Mollier <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <aAqjeBWscODFiB4c__37045.5210375198$1745527899$gmane$org@emlwks999.eu>
Package: orthanc-wsi
Version: 3.2+dfsg-4
Severity: serious
Justification: autopkgtest failure
X-Debbugs-Cc: [email protected], [email protected], [email protected], [email protected]
User: [email protected]
Usertags: s390x
User: [email protected]
Usertags: arm64
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: riscv64

Hi Sébastien,

We're almost there with getting dcmtk and the Orthanc ecosystem
to migrate to trixie.  The remaining issues[1] only affect
orthanc-wsi, and on a particular set of CPU architectures
(arm64, riscv64, ppc64el and s390x).

[1]: https://qa.debian.org/excuses.php?package=dcmtk

Upon analysis, it looks like the root cause of the crash in
autopkgtest can be reproduced on affected architectures by
running:

	# Orthanc --verbose /etc/orthanc/
	[…]
	E0424 18:38:19.841699             MAIN wsi:/Plugin.cpp:492] Exception in startup tests: Internal error

Given that the raising of this error is most likely provoked by
a computational error, and given the set of architectures
affected by the regression, I hoped that the resolution could be
a simple matter of enforcing signed char at build time.  However
my attempts at enforcing char signedness with -fsigned-char were
inefficient in resolving the crash, which suggests the issue may
be more intricate than I think.

Per chance, do you have an idea what the root cause would be?

If not, then in order to facilitate dcmtk transition, I plan to
disable affected architecture in autopkgtest control file, and
reduce the severity of the present bug to important.

Thank you for your help this far,  :)
-- 
  .''`.  Étienne Mollier <[email protected]>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmgKo3cACgkQeTz2fo8N
EdqU4w//XmhURDrXLEhavpYadtxGPKnh8GxEPJ6sXRg0sHeIQ0IvV7KeEErPxEr3
FM6Wj/SQ1rc7mUIMbxLlkqbBPhce0ojn/r0vPNF7OdjT6qWzzpXMbdCzU3XDMofM
8aX55PJbSB9wPGnWnJ+2cXP/ay8RTAPNcBKoXZQ9GNGiqHuFOb82uN0aSxmOaRIA
n+gCKJ8avTWAyV/2fD8mVmHSaas8kZ8rVuPIkmvfBZaroNomfU9h5KC//OWyMH35
HkbyyC1nDEHCilW4plCAa5G/Rp8sWAGWlRxpM2zqluzpcOq+2gnC/Ov5vqWrlvWt
EavtBiYimuj0Svw2IVCcogYwhLQBdej2/2HMdb9W+22vSykatJmN2tG0DVP0gynQ
wl3kDc97rxWRxkX0vl351WW1URCQ+XRRW/0MqOa/nnDGdCw0VjL+vrxok1yD/O63
z+wCNcDIbH36kbEFeb4qmUicpljqpm8H0T6yxCksPkWXcJ7Ueofb5d63pREZVQa8
uPapjCMxAPcIMvv6XKDbS+zZwUFHrNbHmM4WRFufb06FpuZ8bAWJFPYCmAUnbMSe
m27czMJ2nzsjwauhoRJlE8o7UV3ZVj6yVUtlGDxjYFWmwP22fsZVR7W5IoifE2vV
AfF3ugBm2SJkLYORmkUnH+FUmQTJ21NAIdjTe0yxQ4VGWzeo0Cs=
=pW/A
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.