The jck13 test
api/javax_swing/SwingUtilities/other.html
test crashes on linuxaarch64 .
It seems that for some reason a buffer overrun occurs in CopyBW2Grey8 .
( src/java.desktop/share/native/libfontmanager/freetypeScaler.c ).
I added output to the coding of freetypeScaler.c CopyBW2Grey8, this shows why the crash occurs . The pointer src8 goes over the allowed src image size.
Crash is at :
# C [libfontmanager.so+0xb86c] CopyBW2Grey8+0x164
We notice the crash on linuxaarch64 (but similar crashes can be seen on Solaris Sparc).
Further investigation shows that the linuxaarch64 crash was seen on a SLES15 (Suse Linux 15) machine. But with linux ppc64le and linux x86_64 on SLES15, the crash occurs too so it seems to be a SLES15 related issue .
A small standalone java program is attached that shows the issue.