Open
Description
import dev.ludovic.netlib.LAPACK;
import org.netlib.util.intW;
class Main {
public static void main(String[] args) {
double[] arr = new double[400];
int[] piv = new int[20];
intW info = new intW(0);
LAPACK.getInstance().dgetrf(20, 20, arr, 20, piv, info);
}
}
reproduces in OpenJDK 64-Bit Server VM, Java 1.8.0_292 and OpenJDK 64-Bit Server VM, Java 16.0.1
There aren't any debug symbols and I'm no expert on assembly, but this is what I'm getting. the first instruction is the segfault.
0x7fffd85a262dmov (%rsi),%eax
--
0x7fffd85a262flea 0x30(%rbp),%rsi
0x7fffd85a2633mov $0x10000,%eax
0x7fffd85a2638and 0x4(%rsi),%eax
0x7fffd85a263bcmp $0x10000,%eax
0x7fffd85a2641jne 0x7fffd85a26ce
0x7fffd85a2647mov $0xe0,%eax
0x7fffd85a264cand 0x100(%rbp),%eax
0x7fffd85a2652cmp $0xe0,%eax
0x7fffd85a2658jne 0x7fffd85a26ce
0x7fffd85a265elea 0x10(%rbp),%rsi
0x7fffd85a2662mov (%rsi),%eax
0x7fffd85a2664cmp $0x50654,%eax
0x7fffd85a266aje 0x7fffd85a26ce
0x7fffd85a2670lea 0x188(%rbp),%rsi
0x7fffd85a2677vmovdqu32 %zmm0,(%rsi)
0x7fffd85a267dvmovdqu32 %zmm7,0x40(%rsi)
0x7fffd85a2684vmovdqu32 %zmm8,0x80(%rsi)
0x7fffd85a268bvmovdqu32 %zmm31,0xc0(%rsi)
Metadata
Metadata
Assignees
Labels
No labels