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

Segmentation fault in LLVMSword.so #10

Open
jprotze opened this issue Jun 27, 2018 · 0 comments
Open

Segmentation fault in LLVMSword.so #10

jprotze opened this issue Jun 27, 2018 · 0 comments

Comments

@jprotze
Copy link
Contributor

jprotze commented Jun 27, 2018

Compiling various micro-kernels of DataRaceBench, we see segfaults:

#0 0x0000000001adc234 PrintStackTraceSignalHandler(void*) (/usr/local/clang/6.0.0/bin/clang-6.0+0x1adc234)
#1 0x0000000001adc466 SignalHandler(int) (/usr/local/clang/6.0.0/bin/clang-6.0+0x1adc466)
#2 0x00007fdf99e3f5e0 __restore_rt (/lib64/libpthread.so.0+0xf5e0)
#3 0x00007fdf98603ff0 (anonymous namespace)::InstrumentParallel::runOnFunction(llvm::Function&) (/usr/local/sword/lib64/LLVMSword.so+0x6ff0)
#4 0x00000000016a352b llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/local/clang/6.0.0/bin/clang-6.0+0x16a352b)
#5 0x00000000016a2da7 llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) (/usr/local/clang/6.0.0/bin/clang-6.0+0x16a2da7)
#6 0x00000000016a2cd3 llvm::legacy::FunctionPassManager::run(llvm::Function&) (/usr/local/clang/6.0.0/bin/clang-6.0+0x16a2cd3)
#7 0x0000000001c43402 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (/usr/local/clang/6.0.0/bin/clang-6.0+0x1c43402)
#8 0x00000000022fff8c clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/usr/local/clang/6.0.0/bin/clang-6.0+0x22fff8c)
#9 0x000000000273be06 clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/clang/6.0.0/bin/clang-6.0+0x273be06)
#10 0x000000000200957b clang::FrontendAction::Execute() (/usr/local/clang/6.0.0/bin/clang-6.0+0x200957b)
#11 0x0000000001fb5438 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/clang/6.0.0/bin/clang-6.0+0x1fb5438)
#12 0x000000000208ec24 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/clang/6.0.0/bin/clang-6.0+0x208ec24)
#13 0x0000000000867c77 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/local/clang/6.0.0/bin/clang-6.0+0x867c77)
#14 0x0000000000863b84 main (/usr/local/clang/6.0.0/bin/clang-6.0+0x863b84)
#15 0x00007fdf9882dc05 __libc_start_main (/lib64/libc.so.6+0x21c05)
#16 0x0000000000862d12 _start (/usr/local/clang/6.0.0/bin/clang-6.0+0x862d12)

Affected kernels:

DRB086-static-data-member-orig-yes.cpp
DRB087-static-data-member2-orig-yes.cpp
DRB091-threadprivate2-orig-no.c
DRB102-copyprivate-orig-no.c

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