Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-15 Thread Pierre Gruet
Dear Bernd, Le 14/12/2020 à 00:41, Bernd Rinn a écrit : Dear Pierre, Thanks for digging into it. Indeed the tests check whether unaligned memory access works. Unfortunately, that is used in the NativeTaggedArray for 64bit primitive types and even ranks, see e.g. line 267 in NativeTaggedArray

Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-13 Thread Bernd Rinn
Dear Pierre, Thanks for digging into it. Indeed the tests check whether unaligned memory access works. Unfortunately, that is used in the NativeTaggedArray for 64bit primitive types and even ranks, see e.g. line 267 in NativeTaggedArray. As I cannot reproduce the error myself, not even on a

Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-13 Thread Pierre Gruet
Dear Bernd, I have looked again at the issue we discussed last Friday; as pointed out in the companion bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929530#5 I see an unaligned address is passed to GetXxxArrayRegion() in the native part of the code, when running the te

Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-10 Thread Pierre Gruet
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 har

Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-10 Thread Bernd Rinn
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

Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-10 Thread Pierre Gruet
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

Bug#977021: bus errors on armhf running on a 64bit kernel

2020-12-09 Thread Matthias Klose
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 s