[llvm-dev] Help with segfault in llvm_shutdown with LLVM 5.0 Release build
Friedman, Eli via llvm-dev
llvm-dev at lists.llvm.org
Tue Sep 19 10:49:55 PDT 2017
On 9/18/2017 8:20 PM, Diptorup Deb via llvm-dev wrote:
> We are upgrading an LLVM 4.0-based opt module to LLVM 5.0. After the
> upgrade our module works when built with an LLVM Debug build, but
> with an LLVM Release build we are encountering the following error.
> This happens after our passes have successfully run. I believe this
> has to do with the way our passes are registered. Would greatly
> appreciate some pointers, as to where to look.
> Program received signal SIGSEGV, Segmentation fault.
> #0 0x00007ffff6926c20 in ?? ()
> #1 0x00005555561c333b in
> std::function<void (llvm::PassManagerBuilder const&,
> llvm::legacy::PassManagerBase&)> >, 8u> >::call(void*) ()
> #2 0x000055555658492d in llvm::ManagedStaticBase::destroy() const ()
> #3 0x00005555565849e5 in llvm::llvm_shutdown() ()
> #4 0x000055555589e0a2 in main ()
See https://reviews.llvm.org/D33515 for context. I thought we fixed the
problem, but it looks like you found some other way to trigger it.
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
More information about the llvm-dev