pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: clang++ core dump when building firefox
On Wed, May 13, 2020 at 07:56:42AM +0000, maya%NetBSD.org@localhost wrote:
> On Tue, May 12, 2020 at 05:29:27PM +0200, Thomas Klausner wrote:
> > [New process 29646]
> > Core was generated by `clang++'.
> > Program terminated with signal SIGSEGV, Segmentation fault.
> > #0 0x00007319b83ab52c in CrashRecoverySignalHandler (Signal=11)
> > at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp:345
> > 345 /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp: No such file or directory.
> > (gdb) bt
> > #0 0x00007319b83ab52c in CrashRecoverySignalHandler (Signal=11)
> > at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp:345
> > #1 0x00007319b6ab00b0 in _opendir (name=<optimized out>) at /disk/6/archive/foreign/src/lib/libc/gen/opendir.c:72
> > #2 0x000000010000000b in ?? ()
> > #3 0x0000000000000000 in ?? ()
> >
> >
> > Any ideas?
>
> Kill CrashRecoverySignalHandler!
> (then get a real backtrace...)
Thanks. Here's a new backtrace:
#0 0x000076f47e59008d in llvm::SmallVectorImpl<llvm::MachineInstr*>::operator= (this=0x7f7fffbdc2a0, RHS=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/include/llvm/ADT/SmallVector.h:706
706 /scratch/lang/llvm/work/llvm-10.0.0.src/include/llvm/ADT/SmallVector.h: No such file or directory.
(gdb) bt
#0 0x000076f47e59008d in llvm::SmallVectorImpl<llvm::MachineInstr*>::operator= (this=0x7f7fffbdc2a0, RHS=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/include/llvm/ADT/SmallVector.h:706
#1 0x000076f4808083a4 in llvm::SmallVector<llvm::MachineInstr*, 4u>::SmallVector (RHS=..., this=0x7f7fffbdc2a0)
at /scratch/lang/llvm/work/llvm-10.0.0.src/include/llvm/ADT/SmallVector.h:68
#2 (anonymous namespace)::X86CallFrameOptimization::CallContext::CallContext (this=0x7f7fffbdc280)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Target/X86/X86CallFrameOptimization.cpp:70
#3 (anonymous namespace)::X86CallFrameOptimization::isProfitable (this=0x76f46b308ae0, this=0x76f46b308ae0, CallSeqVector=..., MF=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Target/X86/X86CallFrameOptimization.cpp:205
#4 (anonymous namespace)::X86CallFrameOptimization::runOnMachineFunction (this=<optimized out>, MF=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Target/X86/X86CallFrameOptimization.cpp:265
#5 0x000076f47e5c410e in llvm::MachineFunctionPass::runOnFunction (this=0x76f46b308ae0, F=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/CodeGen/MachineFunctionPass.cpp:73
#6 0x000076f47e3a0d19 in llvm::FPPassManager::runOnFunction (this=this@entry=0x76f461758300, F=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/IR/LegacyPassManager.cpp:1481
#7 0x000076f47e3a1452 in llvm::FPPassManager::runOnModule (this=0x76f461758300, M=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/IR/LegacyPassManager.cpp:1517
#8 0x000076f47e3a17cd in (anonymous namespace)::MPPassManager::runOnModule (M=..., this=0x76f474d1a400)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/IR/LegacyPassManager.cpp:1582
#9 llvm::legacy::PassManagerImpl::run (this=0x76f476061d00, M=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/IR/LegacyPassManager.cpp:1694
#10 0x000076f47e3a1a5d in llvm::legacy::PassManager::run (this=this@entry=0x7f7ffffd34c0, M=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/IR/LegacyPassManager.cpp:1725
#11 0x000076f4840b05da in (anonymous namespace)::EmitAssemblyHelper::EmitAssemblyWithNewPassManager (this=<optimized out>,
Action=<optimized out>, OS=...) at /scratch/lang/clang/work/clang-10.0.0.src/lib/CodeGen/BackendUtil.cpp:1329
#12 0x000076f4840b3f88 in clang::EmitBackendOutput (Diags=..., HeaderOpts=..., CGOpts=..., TOpts=..., LOpts=..., TDesc=..., M=0x76f485708600,
Action=Action@entry=clang::Backend_EmitObj, OS=...) at /usr/include/g++/bits/unique_ptr.h:366
#13 0x000076f4843a6f39 in clang::BackendConsumer::HandleTranslationUnit (this=0x76f485740a80, C=...) at /usr/include/g++/bits/unique_ptr.h:345
#14 0x000076f48336f61a in clang::ParseAST (S=..., PrintStats=<optimized out>, SkipFunctionBodies=<optimized out>)
at /scratch/lang/clang/work/.buildlink/include/llvm/ADT/StringRef.h:143
#15 0x000076f48489b14e in clang::FrontendAction::Execute (this=this@entry=0x76f48573d540)
at /scratch/lang/clang/work/clang-10.0.0.src/lib/Frontend/FrontendAction.cpp:936
#16 0x000076f484857109 in clang::CompilerInstance::ExecuteAction (this=this@entry=0x76f485740600, Act=...)
at /scratch/lang/clang/work/clang-10.0.0.src/lib/Frontend/CompilerInstance.cpp:965
#17 0x000076f4849215e5 in clang::ExecuteCompilerInvocation (Clang=Clang@entry=0x76f485740600)
at /scratch/lang/clang/work/clang-10.0.0.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:290
#18 0x0000000000414f92 in cc1_main (Argv=..., Argv0=<optimized out>,
MainAddr=MainAddr@entry=0x4139c0 <GetExecutablePath[abi:cxx11](char const*, bool)>)
at /scratch/lang/clang/work/clang-10.0.0.src/tools/driver/cc1_main.cpp:240
#19 0x0000000000412b95 in ExecuteCC1Tool (ArgV=...) at /scratch/lang/clang/work/.buildlink/include/llvm/ADT/ArrayRef.h:188
#20 0x000076f4845a1612 in clang::driver::CC1Command::<lambda()>::operator() (__closure=0x76f485775400)
at /scratch/lang/clang/work/clang-10.0.0.src/lib/Driver/Job.cpp:417
#21 llvm::function_ref<void()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::--Type <RET> for more, q to quit, c to continue without paging--
string*, bool*) const::<lambda()> >(intptr_t) (callable=callable@entry=140187732366256)
at /scratch/lang/clang/work/.buildlink/include/llvm/ADT/STLExtras.h:108
#22 0x000076f47e1ab733 in llvm::function_ref<void ()>::operator()() const (this=<synthetic pointer>, this=<synthetic pointer>)
at /scratch/lang/llvm/work/llvm-10.0.0.src/include/llvm/ADT/STLExtras.h:124
#23 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (this=this@entry=0x7f7ffffd5390, Fn=...)
at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp:417
#24 0x000076f4845a5923 in clang::driver::CC1Command::Execute (this=0x76f485722280, Redirects=..., ErrMsg=<optimized out>,
ExecutionFailed=<optimized out>) at /scratch/lang/clang/work/.buildlink/include/llvm/ADT/STLExtras.h:117
#25 0x000076f48457a48f in clang::driver::Compilation::ExecuteCommand (this=this@entry=0x76f485698200, C=...,
FailingCommand=@0x7f7ffffd5510: 0x0) at /usr/include/g++/bits/stl_vector.h:1059
#26 0x000076f48457ad10 in clang::driver::Compilation::ExecuteJobs (this=this@entry=0x76f485698200, Jobs=..., FailingCommands=...)
at /scratch/lang/clang/work/clang-10.0.0.src/lib/Driver/Compilation.cpp:233
#27 0x000076f484589dd5 in clang::driver::Driver::ExecuteCompilation (this=this@entry=0x7f7ffffd5648, C=..., FailingCommands=...)
at /scratch/lang/clang/work/clang-10.0.0.src/include/clang/Driver/Compilation.h:202
#28 0x00000000004113c9 in main (argc_=<optimized out>, argv_=<optimized out>)
at /scratch/lang/clang/work/clang-10.0.0.src/tools/driver/driver.cpp:498
Thomas
Home |
Main Index |
Thread Index |
Old Index