daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

segfault when running linear regression model script #885

Open philipportner opened 3 weeks ago

philipportner commented 3 weeks ago

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 ()