Dear Bernd,
Le 10/12/2020 à 18:45, Bernd Rinn a écrit :
Dear Pierre,
No, I've not yet seen this bus error. I can see two changes to my test
setup:
- JDK 11 instead of JDK 8
- 64bit OS instead of 32 bit OS
The 64bit platoform is more likely to be the change that uncovers this
bug. Which hardware did you get the error on?
Thanks for your quick answer. I also think it is due to the 64bit OS.
Unfortunately I don't have much information about the hardware on which
we got the error, it is a Debian machine... but I confirm this is an
armhf 64bit architecture.
There are some other armhf 64bits machines on which the tests seem to
pass, I'm a bit puzzled and cannot understand why.
For what it's worth, we get the same failure on sparc64:
https://buildd.debian.org/status/fetch.php?pkg=libsis-base-java&arch=sparc64&ver=18.09%7Epre1%2Bgit20180928.45fbd31%2Bdfsg-2&stamp=1607325724&raw=0
I hope this can help. If you think it is worth investigating further the
architecture of the failing machine please tell me!
All the best,
Bernd
Best regards,
Pierre
On 12/10/20 5:45 PM, Pierre Gruet wrote:
Control: forwarded -1 br...@ethz.ch
Dear Bernd,
In Debian we have received a bug report you may find below: there
seems to be an unaligned memory access in (seemingly) the JNI part of
sis-base version 18.09, leading to a failure on the architecture armhf
running on a 64bit kernel.
Have you already met this issue and do you see how it might be fixed?
Thanks a lot,
Pierre Gruet
On Thu, 10 Dec 2020 07:15:24 +0100 Matthias Klose <d...@debian.org>
wrote:
> Package: src:libsis-base-java
> Version: 18.09~pre1+git20180928.45fbd31+dfsg-2
> Severity: important
> Tags: sid bullseye
>
> building libsis-base-java (or running the jni) leads to a bus
error, usually
> caused by unaligned memory accesses.
>
> [...]
> LC_ALL=C java -Djava.library.path=source/c/.libs -classpath
sis-base-test.jar
> ch.systemsx.cisd.base.AllTests
> Application: base
> Version: UNKNOWN*
> Java VM: OpenJDK Server VM (v11.0.9.1+1-Debian-1)
> CPU Architecture: arm
> OS: Linux (v4.15.0-126-generic)
> Test class: NativeDataTests
>
> Running testFloatToByteNonNativeByteOrderPartialOutputArray
> Running testIntToByteToInt
> Arguments: [0, 0]
> Arguments: [0, 1]
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGBUS (0x7) at pc=0xf74b1d1c, pid=10186, tid=10187