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?

All the best,
Bernd

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to