Please also check JuliaLang/julia#4099 Julia test script: A=rand(256, 256) qrfact(A) I found this was a bug in kernel/x86_64/dgemm_ncopy_8.S. However, I cannot use gdb with julia. Thus, this is a walkaround fix.