Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack overflow with libopenblas64 == v0.3.8. #9

Open
antonysigma opened this issue Nov 13, 2024 · 0 comments
Open

Stack overflow with libopenblas64 == v0.3.8. #9

antonysigma opened this issue Nov 13, 2024 · 0 comments

Comments

@antonysigma
Copy link
Collaborator

antonysigma commented Nov 13, 2024

Step to reproduce the issue:

meson setup -Darmadillo-code:lapack=openblas -Db_sanitize=address,undefined build/
ninja -C build/ test

Error:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==25656==ERROR: AddressSanitizer: stack-overflow on address 0x7ffd0c823100 (pc 0x7fc2bf113414 bp 0x000000000004 sp 0x7ffd0c819550 T0)
    #0 0x7fc2bf113413 in zlarft_ (/usr/lib/x86_64-linux-gnu/openblas64-serial/libopenblas64.so.0+0x1df9413)
    #1 0x7fc2bf1a74c8 in zunmqr_ (/usr/lib/x86_64-linux-gnu/openblas64-serial/libopenblas64.so.0+0x1e8d4c8)
    #2 0x7fc2bf049a24 in zgels_ (/usr/lib/x86_64-linux-gnu/openblas64-serial/libopenblas64.so.0+0x1d2fa24)
    #3 0x558bdcd0f65c in void arma::lapack::gels<std::complex<double> >(char*, int*, int*, int*, std::complex<double>*, int*, std::complex<double>*, int*, std::complex<double>*, int*, int*) ../3rdparty/armadillo-code/include/armadillo_bits/translate_lapack.hpp:679
    #4 0x558bdcd0f65c in bool arma::auxlib::solve_rect_rcond<arma::Op<arma::Mat<std::complex<double> >, arma::op_htrans> >(arma::Mat<arma::Op<arma::Mat<std::complex<double> >, arma::op_htrans>::elem_type>&, arma::Op<arma::Mat<std::complex<double> >, arma::op_htrans>::pod_type&, arma::Mat<arma::Op<arma::Mat<std::complex<double> >, arma::op_htrans>::elem_type>&, arma::Base<arma::Op<arma::Mat<std::complex<double> >, arma::op_htrans>::elem_type, arma::Op<arma::Mat<std::complex<double> >, arma::op_htrans> > const&) ../3rdparty/armadillo-code/include/armadillo_bits/auxlib_meat.hpp:4790

SUMMARY: AddressSanitizer: stack-overflow (/usr/lib/x86_64-linux-gnu/openblas64-serial/libopenblas64.so.0+0x1df9413) in zlarft_
==25656==ABORTING

The issue is resolved when -Darmadillo-code:lapack=lapack .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant