Red Hat Bugzilla – Bug 1312687
[abrt] clang: clang::Decl::getCanonicalDecl(): clang killed by SIGSEGV
Last modified: 2016-12-20 14:05:22 EST
Description of problem:
Bug happens when compiling osxcross (https://github.com/tpoechtrager/osxcross, ./build.sh), with the OS X SDK 7.2.
Version-Release number of selected component:
cmdline: /usr/bin/clang -cc1 -triple i386-apple-macosx10.7.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name test_libcxx.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -target-cpu yonah -target-linker-version 253.3 -dwarf-column-info -nostdinc++ -resource-dir /usr/bin/../lib/clang/3.7.0 -isystem /usr/bin/../lib/clang/3.7.0/include -isysroot /home/pisto/sorgenti/osxcross/target/bin/../SDK/MacOSX10.11.sdk -cxx-isystem /home/pisto/sorgenti/osxcross/target/bin/../SDK/MacOSX10.11.sdk/usr/include/c++/v1 -stdlib=libc++ -O2 -Wall -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /home/pisto/sorgenti/osxcross -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-fragile-10.7.0 -fobjc-subscripting-legacy-runtime -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /tmp/test_libcxx-76afac.o -x c++ /home/pisto/sorgenti/osxcross/oclang/test_libcxx.cpp
runlevel: N 5
Thread no. 1 (10 frames)
#0 clang::Decl::getCanonicalDecl at /usr/src/debug/llvm-3.7.0.src/tools/clang/include/clang/AST/DeclBase.h:735
#1 (anonymous namespace)::CXXNameMangler::AbiTagState::write at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:361
#2 (anonymous namespace)::CXXNameMangler::writeAbiTags at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:654
#3 (anonymous namespace)::CXXNameMangler::mangleUnresolvedPrefix at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:1122
#4 (anonymous namespace)::CXXNameMangler::mangleUnresolvedName at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:1137
#5 (anonymous namespace)::CXXNameMangler::mangleExpression at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:3548
#12 (anonymous namespace)::CXXNameMangler::mangleTemplateArg at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:3867
#13 (anonymous namespace)::CXXNameMangler::mangleTemplateArgs at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:3823
#14 (anonymous namespace)::CXXNameMangler::manglePrefix at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:1026
#16 (anonymous namespace)::CXXNameMangler::mangleType at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/AST/ItaniumMangle.cpp:2765
Created attachment 1131362 [details]
Created attachment 1131363 [details]
Created attachment 1131364 [details]
Created attachment 1131365 [details]
Created attachment 1131366 [details]
Created attachment 1131367 [details]
Created attachment 1131368 [details]
Created attachment 1131369 [details]
Created attachment 1131370 [details]
Created attachment 1131371 [details]
Created attachment 1131372 [details]
Created attachment 1131373 [details]
Created attachment 1131374 [details]
*** Bug 1349984 has been marked as a duplicate of this bug. ***
Please, fix it!
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 23 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.