Your message dated Tue, 15 Dec 2020 10:54:53 +0100
with message-id <[email protected]>
and subject line Bug fixed in last upload
has caused the Debian Bug report #977021,
regarding libsis-base-java: unaligned access on armhf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
977021: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977021
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libsis-base-java
Version: 18.09~pre1+git20180827.fe4953e+dfsg-1
Severity: important
User: [email protected]
Usertags: origin-ubuntu eoan

Dear maintainers,

In Ubuntu, libsis-base-java fails to build on armhf with an unaligned access
error (SIGBUS):

Running testIntToByteToInt
 Arguments: [0, 0]
 Arguments: [0, 1]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0xf6bd95a4, pid=17199, tid=17200
#
# JRE version: OpenJDK Runtime Environment (11.0.3+5) (build 
11.0.3+5-Ubuntu-1ubuntu2)
# Java VM: OpenJDK Server VM (11.0.3+5-Ubuntu-1ubuntu2, mixed mode, g1 gc, 
linux-)
# Problematic frame:
# V  [libjvm.so+0x48c5a4]
#
# Core dump will be written. Default location: Core dumps may be processed with 
"/usr/share/apport/apport %p %s %c %d %P" (or dumping to 
/<<BUILDDIR>>/libsis-base-java-18.09~pre1+git20180827.fe4953e+dfsg/core.17199)
#
# An error report file with more information is saved as:
# 
/<<BUILDDIR>>/libsis-base-java-18.09~pre1+git20180827.fe4953e+dfsg/hs_err_pid17199.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
#
Aborted (core dumped)
make[1]: *** [debian/rules:47: override_dh_auto_test-arch] Error 134

  
(https://launchpad.net/ubuntu/+source/libsis-base-java/18.09~pre1+git20180827.fe4953e+dfsg-1/+build/15630858)

Further investigation shows that this is a result of libsis-base-java
passing an unaligned pointer as the 'buf' argument to the JNI function
GetIntArrayRegion().

On ARM, unaligned memory access is not guaranteed to succeed; depending on
the CPU and the kernel configuration, it may raise SIGBUS instead.

This problem is reproducible on amdahl, the Debian arm64 porter machine, in
an armhf chroot.  It will also affect some number of users running Debian
armhf on a 64-bit kernel, and will likely become a serious build failure in
Debian in the future when the autobuilders are transitioned to 64-bit CPUs.

I am not sure if it should be considered a bug in libsis-base-java for
passing an unaligned address to GetIntArrayRegion(), or a bug in openjdk for
performing unaligned access when passed an unaligned address.  But I am
inclined to think the bug is in libsis-base-java, because technically the
value it's passing as an int* argument is not valid on this architecture as
a pointer to an int.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 18.09~pre1+git20180928.45fbd31+dfsg-3

Hello,

The unaligned memory access has been fixed in the last upload, which was confirmed by Matthias.

Best,
Pierre Gruet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 14 Dec 2020 09:15:58 +0100
Source: libsis-base-java
Architecture: source
Version: 18.09~pre1+git20180928.45fbd31+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Changes:
 libsis-base-java (18.09~pre1+git20180928.45fbd31+dfsg-3) unstable; 
urgency=medium
 .
   * Team upload
   * Applying a patch to avoid unaligned memory access
Checksums-Sha1:
 535809bd4fddbb8d7125afe4a4f21acce15cb59b 2434 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3.dsc
 b01df00dc1de15490a179fba694725cb162f1a66 9352 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3.debian.tar.xz
 a945a88cc28a53b958d7045e2842f9249a85785f 11802 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 d2bd2af10f31d95539107a25c5d51e677ed08b3e6c2fe985ee564bc685a8e9d8 2434 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3.dsc
 20065c5aec164d12dc44f13f12c78c05efb0ce9636e1e4e954b8f64be58b4787 9352 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3.debian.tar.xz
 f00dc171a90fbf35d3095a0c299d34a1991d319fabfe00a738be25c4575ffbc0 11802 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3_amd64.buildinfo
Files:
 24fdc4fda277472b82d85069b8dbe98a 2434 java optional 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3.dsc
 087d6c22d3b7db45960ae410f47304d9 9352 java optional 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3.debian.tar.xz
 57770f951c296ce8e0fe4224b3b4fa78 11802 java optional 
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAl/XKtMACgkQYAMWptwn
dHYymBAApIYCv+t6lWRcyL+t4Hlw9s5R6rSX3VctwJ1bM+GbMqNdiGJXDmwn3eGf
oIevbV8zBgFkhO+NfGLCuezkl6d8NGcpPNZpydWC8V21pn8iutu1JdMhX0rEfHsZ
ipCaYPkizuF0EqLwUoiJwhjBN75GCdIQrzA14xoWF+yJKwgk3mesPRq+qv5Y1pBw
CjV/5yZFZCTX5QGQXKQCkbDPYcwWjmK7wm/eotLQCgIr2SJ8oNzZ/LE8+64419+w
jECmjzgeu07V9hScPNFD7PYu+GTpXmq/IBXS7XNXqcca+pjZd3/ZC/Y4mU8Aw/Vk
wARlxX6Sv0PahWUgJmTMDE/68m9iwEkhHtHKdQoe/qVTKJrnXWx3fOQP9W7nb7KZ
w0xUOSjaaIR2OOI7hPva6nG6retQsQMJqADf0SB4yVMNx1gGjPwgGOVdOx4RcNpt
g7JsJ5ZuqMWMqqQby8tjlkyKJoiIteSNUyOmlZ9lmQdxsWY++h/ALvJZB/xhcgeR
OqsdWFKmj/H6D/gq0h7WR8UNMnzhzVrPQJjBSyfCUlwOnIM9WVBh9M3DlYGNtd5B
kPyxk0aSlKnsFBwxe47bEByBcYARzollQOTT/5nudS9t/kDe4Hdq+dC3ybOaEqRz
xZf7FqQgpw1FLADoc/85RtlJTOfecuAZeJfLGXExVxNAY1eZqY4=
=v6B8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to