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

components.daph crashes with --vec #896

Open
philipportner opened this issue Nov 5, 2024 · 0 comments
Open

components.daph crashes with --vec #896

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

Comments

@philipportner
Copy link
Collaborator

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=<optimized out>, 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 <main(int, char const**)>, argc=6, argv=0x7fffffffd7f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd7e8)
    at ../csu/libc-start.c:308
#12 0x0000555556cae8ee in _start ()
@philipportner philipportner added the bug A mistake in the code. label Nov 5, 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