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

components.daph crashes with --vec #896

Open philipportner opened 2 weeks ago

philipportner commented 2 weeks ago

Running the scripts/algorithms/components.daph script with --vec crashes.

Command to reproduce `bin/daphne --vec scripts/algorithms/components.daph n=100 e=500 C=\"outC.csv\"`
Stack trace ``` #0 0x0000555557566477 in llvm::IRBuilderBase::CreateAlignedStore(llvm::Value*, llvm::Value*, llvm::MaybeAlign, bool) () #1 0x000055555756ef1d in convertOperationImpl(mlir::Operation&, llvm::IRBuilderBase&, mlir::LLVM::ModuleTranslation&) () #2 0x000055555758c1e6 in mlir::LLVM::ModuleTranslation::convertOperation(mlir::Operation&, llvm::IRBuilderBase&) () #3 0x000055555758c73c in mlir::LLVM::ModuleTranslation::convertBlock(mlir::Block&, bool, llvm::IRBuilderBase&) () #4 0x000055555758e1a6 in mlir::LLVM::ModuleTranslation::convertOneFunction(mlir::LLVM::LLVMFuncOp) () #5 0x000055555758f97d in mlir::LLVM::ModuleTranslation::convertFunctions() () #6 0x00005555575925e1 in mlir::translateModuleToLLVMIR(mlir::Operation*, llvm::LLVMContext&, llvm::StringRef) () #7 0x0000555557562b6a in mlir::ExecutionEngine::create(mlir::Operation*, mlir::ExecutionEngineOptions const&) () #8 0x0000555556d78066 in DaphneIrExecutor::createExecutionEngine (this=this@entry=0x7fffffffcd00, module=..., module@entry=...) at /home/philipportner/daphne/src/compiler/execution/DaphneIrExecutor.cpp:245 #9 0x0000555556cd6ce3 in startDAPHNE (argc=6, argv=0x7fffffffd7f8, daphneLibRes=0x0, id=, user_config=...) at /home/philipportner/daphne/src/api/internal/daphne_internal.cpp:612 #10 0x0000555556cdcb2a in mainInternal (argc=6, argv=0x7fffffffd7f8, daphneLibRes=0x0) at /home/philipportner/daphne/src/api/internal/daphne_internal.cpp:673 #11 0x00007ffff75cd083 in __libc_start_main (main=0x555556cae9b0 , argc=6, argv=0x7fffffffd7f8, init=, fini=, rtld_fini=, stack_end=0x7fffffffd7e8) at ../csu/libc-start.c:308 #12 0x0000555556cae8ee in _start () ```