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

segfault when running linear regression model script #885

Open
philipportner opened this issue Oct 28, 2024 · 0 comments
Open

segfault when running linear regression model script #885

philipportner opened this issue Oct 28, 2024 · 0 comments
Labels
bug A mistake in the code.

Comments

@philipportner
Copy link
Collaborator

When running bin/daphne test/api/cli/algorithms/lm.daphne r=1024 c=1024, DAPHNE produces a segfault.

(gdb) bt
#0  0x00007fffcaa61582 in Solve<DenseMatrix<double>, DenseMatrix<double>, DenseMatrix<double> >::apply (ctx=<optimized out>, rhs=0x55555a293290, lhs=0x55555a293130, res=<optimized out>) at /home/philipportner/daphne/src/runtime/local/kernels/Solve.h:106
#1  solve<DenseMatrix<double>, DenseMatrix<double>, DenseMatrix<double> > (ctx=<optimized out>, rhs=0x55555a293290, lhs=0x55555a293130, res=<optimized out>) at /home/philipportner/daphne/src/runtime/local/kernels/Solve.h:43
#2  _solve__DenseMatrix_double__DenseMatrix_double__DenseMatrix_double (res=<optimized out>, lhs=0x55555a293130, rhs=0x55555a293290, kId=<optimized out>, ctx=<optimized out>) at /home/philipportner/daphne/build/src/runtime/local/kernels/kernels_70.cpp:23
#3  0x00007ffff7ffb3f5 in main ()
#4  0x00007ffff7ffb47d in _mlir_ciface_main ()
#5  0x00007ffff7ffb49d in _mlir__mlir_ciface_main ()
#6  0x00005555575544cb in mlir::ExecutionEngine::invokePacked(llvm::StringRef, llvm::MutableArrayRef<void*>) ()
#7  0x0000555556cdb041 in mlir::ExecutionEngine::invoke<>(llvm::StringRef) (funcName=..., this=0x555559c19cb0) at /usr/include/c++/9/bits/basic_string.h:940
#8  startDAPHNE (argc=4, argv=0x7fffffffd828, daphneLibRes=0x0, id=<optimized out>, user_config=...) at /home/philipportner/daphne/src/api/internal/daphne_internal.cpp:613
#9  0x0000555556ce0806 in mainInternal (argc=4, argv=0x7fffffffd828, daphneLibRes=0x0) at /home/philipportner/daphne/src/api/internal/daphne_internal.cpp:668
#10 0x00007ffff75cb083 in __libc_start_main (main=0x555556cae2f0 <main(int, char const**)>, argc=4, argv=0x7fffffffd828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd818) at ../csu/libc-start.c:308
#11 0x0000555556cae22e in _start ()
@philipportner philipportner added the bug A mistake in the code. label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A mistake in the code.
Projects
None yet
Development

No branches or pull requests

1 participant